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.