[cfe-commits] r65381 - in /cfe/trunk: lib/CodeGen/CGExprConstant.cpp test/CodeGen/const-init.c
Daniel Dunbar
daniel at zuster.org
Tue Feb 24 16:23:37 PST 2009
On Tue, Feb 24, 2009 at 2:29 PM, Daniel Dunbar <daniel at zuster.org> wrote:
> On Tue, Feb 24, 2009 at 10:56 AM, Eli Friedman <eli.friedman at gmail.com> wrote:
>> Why shouldn't we accept it?
>
> Because gcc, curiously, doesn't. I hate being more permissive than
> gcc, but its inconsistent that gcc rejects it in this situation so I
> think I prefer our behavior.
Actually, it turns out this was operator error. I had a slightly
different test case gcc was rejecting; gcc accepts this as one would
expect.
- Daniel
More information about the cfe-commits
mailing list