__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