------- Comment #8 from joseph at codesourcery dot com  2008-12-15 00:31 -------
Subject: Re:  __builtin_constant_p(t) ? t : 1 is not considered
 a constant integer expression

I also added more __builtin_constant_p tests (gcc.dg/bconstp-[34].c) to 
c-4_5-branch, following this discussion, to verify more of the model for 
how __builtin_constant_p works in constant expressions.  In general the 
constant expressions tests there (both those added there, and the 
previously existing constant expressions / overflow diagnostics tests, 
most of which have had XFAILs removed on the branch) reflect my 
interpretation for the GNU C language of both the standard constant 
expressions rules where unclear and of how the rules should be applied to 
new language features in GNU C that aren't in ISO C.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38377

Reply via email to