This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/48087] [4.5/4.6/4.7 Regression] -Wall -Werror adds warnings over and above those generated by -Wall


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

--- Comment #20 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-06 10:09:20 UTC ---
Looking again, I think that for warnings promoted to errors we should _not_
increase errorcount, but we should instead have a new global flag that
tells us whether there were any "real" errors, and check that in the
place that terminates compilation without producing assembler output.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]