[Bug c++/38377] __builtin_constant_p(t) ? t : 1 is not considered a constant integer expression

sabre at nondot dot org gcc-bugzilla@gcc.gnu.org
Sat Dec 6 21:33:00 GMT 2008



------- Comment #3 from sabre at nondot dot org  2008-12-06 21:31 -------
Ok, so this is a special case when __builtin_constant_p is immediately the
operand of "?:"?  Do you allow things like __builtin_constant_p(...)+0  as the
operand?


-- 


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



More information about the Gcc-bugs mailing list