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 lto/52399] With `-flto', `-Wno-clobbered' does not suppress the "might be clobbered" warning


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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-02-27
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-02-27 11:16:47 UTC ---
Confirmed.  This is because Wclobbered is a C family option but the warning
is generated by middle-end code.  lto1 would simply ignore -Wno-clobbered.
-Wall is also a C family option and so ignored by lto1 btw. -Wall would need
to be split up in parts for lto option processing.


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