http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61159
--- Comment #1 from Rich Felker <bugdal at aerifal dot cx> --- I should amend this report with further info: __builtin_constant_p is giving different results for dummy and foo depending on whether it's used at file scope or in a function. I've also observed some other really weird behavior from it that I need to summarize and report.