public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/52399] New: With `-flto', `-Wno-clobbered' does not suppress the "might be clobbered" warning
@ 2012-02-27 10:12 d.g.gorbachev at gmail dot com
  2012-02-27 11:19 ` [Bug lto/52399] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2012-02-27 10:12 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52399
           Summary: With `-flto', `-Wno-clobbered' does not suppress the
                    "might be clobbered" warning
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: d.g.gorbachev@gmail.com


Created attachment 26761
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26761
Invalid code

$ gcc -flto -O -Wall -Wno-clobbered pr52399.c
In file included from pr52399.c:3:0,
                 from :6:
pr52399.c: In function 'main':
pr52399.c:8:7: warning: variable 'i' might be clobbered by 'longjmp' or 'vfork'
[-Wclobbered]


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-25 23:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-27 10:12 [Bug lto/52399] New: With `-flto', `-Wno-clobbered' does not suppress the "might be clobbered" warning d.g.gorbachev at gmail dot com
2012-02-27 11:19 ` [Bug lto/52399] " rguenth at gcc dot gnu.org
2012-02-27 14:09 ` manu at gcc dot gnu.org
2021-08-25 23:36 ` [Bug middle-end/52399] -Wclobbered should be a common option rather than a C family specific option pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).