This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/37921] New: __builtin_constant_p seems to be giving false positives
- From: "arjan at linux dot intel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Oct 2008 18:16:03 -0000
- Subject: [Bug c/37921] New: __builtin_constant_p seems to be giving false positives
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
__builtin_constant_p seems to be giving a false positive as shown by the
testcase that I'll attach to this bug.
This is causing a warning in the Linux kernel build
--
Summary: __builtin_constant_p seems to be giving false positives
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: arjan at linux dot intel dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37921