C constant expressions proposals

James E Wilson wilson@specifixinc.com
Sat Aug 14 01:06:00 GMT 2004


Joseph S. Myers wrote:
> I have now prepared detailed semi-formal models of the interpretation of 
> the C constant expression rules, and their extension to GNU C, along with 

It looks very thorough.  My eyes were starting to glaze over a bit 
before I got to the end, but it looks like a good reference to use to 
determine whether something is a constant expression.

I found this
     E : E1 (optional list E2, E3, ...)
a little confusing, because at first glance it isn't obvious that the 
list is optional, but the parentheses are not.  Hence this is a function 
call.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list