This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]