This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/58275] __builtin_constant_p( expr ) returns true if expr is eliminated by CSE
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 29 Aug 2013 19:46:22 +0000
- Subject: [Bug c/58275] __builtin_constant_p( expr ) returns true if expr is eliminated by CSE
- Auto-submitted: auto-generated
- References: <bug-58275-4 at http dot gcc dot gnu dot org/bugzilla/>
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.