[cfe-commits] r63519 - in /cfe/trunk: lib/Sema/SemaDecl.cpp test/Sema/static-init.c

Eli Friedman eli.friedman at gmail.com
Mon Feb 2 12:55:39 PST 2009


On Mon, Feb 2, 2009 at 12:20 PM, Douglas Gregor <dgregor at apple.com> wrote:
>
> On Feb 2, 2009, at 8:07 AM, Nuno Lopes wrote:
>
>> Author: nlopes
>> Date: Mon Feb  2 10:07:41 2009
>> New Revision: 63519
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=63519&view=rev
>> Log:
>> allow cast from array to int to be considered as constant
>
> Is this cast permitted by the standard, or is it a GNU extension?

Extension, but as far as I know, it's almost universally supported.

-Eli



More information about the cfe-commits mailing list