[Bug c/58275] __builtin_constant_p( expr ) returns true if expr is eliminated by CSE

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 29 19:46:00 GMT 2013


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

--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
Where do you see a bug? The test argc!=23 is always true in this branch, so it
*is* a compile-time constant. It is very much on purpose that
__builtin_constant_p returns true.



More information about the Gcc-bugs mailing list