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/58275] __builtin_constant_p( expr ) returns true if expr is eliminated by CSE


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.


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