This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/48087] [4.5/4.6/4.7 Regression] -Wall -Werror adds warnings over and above those generated by -Wall
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Oct 2011 15:39:08 +0000
- Subject: [Bug middle-end/48087] [4.5/4.6/4.7 Regression] -Wall -Werror adds warnings over and above those generated by -Wall
- Auto-submitted: auto-generated
- References: <bug-48087-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48087
--- Comment #14 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-19 15:39:08 UTC ---
Thanks for explaining the seen_error mechanism, which I didn't know, but there
is something I still don't understand here. Consider PR49508 (I'm interested
because I opened it ;) : in that case we have only real errors, and then a
bugus warning. I don't see how fiddling with something at beginning of
gimple_push_cleanup could deal with such cases, and indeed if I hack it to
remove the early return, the warning triggers exactly in the same way. Or maybe
all this just indicated that PR49508 really is a different issue, but I'm not
convinced...