[Bug middle-end/48087] [4.5/4.6/4.7 Regression] -Wall -Werror adds warnings over and above those generated by -Wall
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Oct 18 15:44:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48087
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #7 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-10-18 15:42:42 UTC ---
> Is there a simple explanation for why the problem didn't show up in 4.4.x?
The question is why control does not reach the warning() when -Werror is not
given. Are the warnings appropriate or bogus?
If the warnings are bogus (because they refer to the same function), then I
guess that the code path for warnings_as_error does not set TREE_NO_WARNING()
at some point.
More information about the Gcc-bugs
mailing list