[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
Fri Dec 12 06:44:00 GMT 2008



------- Comment #5 from sabre at nondot dot org  2008-12-12 06:42 -------
That is a lot more clear. Thank you for the explanation Joseph!  I agree with
you that if you want this to be acceptable that the folded version of the
operand is really what is interesting.  That seems much trickier to model
though.


-- 


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



More information about the Gcc-bugs mailing list