http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52635
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
CC||jakub at gcc dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52635
--- Comment #2 from joseph at codesourcery dot com joseph at codesourcery dot
com 2012-03-20 15:13:13 UTC ---
On Tue, 20 Mar 2012, mikpe at it dot uu.se wrote:
cat bug.c
extern int bar;
void foo(void)
{
(void)sizeof(char[1 - 2 *
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52635
--- Comment #3 from Mikael Pettersson mikpe at it dot uu.se 2012-03-20
17:26:23 UTC ---
(In reply to comment #2)
Do you have an example not involving __builtin_constant_p?
Unfortunately no. The example is just a cleaned up and reduced version
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52635
--- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2012-03-20
18:06:33 UTC ---
Not sure what kernel you are looking at, but in current kernel at least since
2009-09 BUILD_BUG_ON is BUILD_BUG_ON_ZERO and only MAYBE_BUILD_BUG_ON macro is
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52635
--- Comment #5 from Mikael Pettersson mikpe at it dot uu.se 2012-03-20
19:09:01 UTC ---
(In reply to comment #4)
Not sure what kernel you are looking at, but in current kernel at least since
2009-09 BUILD_BUG_ON is BUILD_BUG_ON_ZERO and only