[cfe-commits] r54598 - /cfe/trunk/lib/AST/Expr.cpp

Eli Friedman eli.friedman at gmail.com
Sat Aug 9 19:51:00 PDT 2008


On Sat, Aug 9, 2008 at 7:28 PM, Daniel Dunbar <daniel at zuster.org> wrote:
> Ok, this is better than what was before, but we still need to handle this case
> if we want gems like
> --
> enum x { v = (char*) 0 - (char*) 0 };
> --
> to behave as they do in GCC.

I'm well aware of that issue; see
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-July/002232.html.
Essentially, my proposal is to push the handling for this case outside
of isICE.  I haven't gotten around to implementing it yet, though.

-Eli



More information about the cfe-commits mailing list