------- Comment #3 from bonzini at gnu dot org  2008-09-30 15:05 -------
> Linux/ia32 and --enable-checking=assert may trigger this bug.

Well, your own Linux/x86-64 builds do not have this failure, neither normally
nor for -m32.  Either this bug is invalid, or it is a wrong-code somewhere
else.  So, no "may"s please.

Can you put a breakpoint in warning_at for the empty-body warning, and check
what's the value of warn_empty_body?

If warn_empty_body is 1, can you check where it is set to 1?  It should not be
unless -Wempty-body or -Wextra are given.  If it is -1, likewise, it should
have been set to 0 or 1 in opts.c.

If it is 0, can you test the value of "option_enabled (OPT_Wempty_body)"?  It
should also be 0, or option_enabled is miscompiled.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37683

Reply via email to