public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/61562] New: Compiler crash when combining -Wstrict-overflow=4 -O2
@ 2014-06-19 14:13 zweije at xs4all dot nl
  2014-06-19 17:11 ` [Bug middle-end/61562] " manu at gcc dot gnu.org
  2021-12-24 21:08 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: zweije at xs4all dot nl @ 2014-06-19 14:13 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61562

            Bug ID: 61562
           Summary: Compiler crash when combining -Wstrict-overflow=4 -O2
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zweije at xs4all dot nl

Created attachment 32974
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32974&action=edit
Test output

gcc-4.9 crashes when combining -Wstrict-overflow=4 and -O2 on the following
code snippet:

void f() {
 unsigned char x = 0;
 (x * 185) % 256;
}

Also crashes when compiled as .cpp.

Test output attached.


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

end of thread, other threads:[~2021-12-24 21:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-19 14:13 [Bug c++/61562] New: Compiler crash when combining -Wstrict-overflow=4 -O2 zweije at xs4all dot nl
2014-06-19 17:11 ` [Bug middle-end/61562] " manu at gcc dot gnu.org
2021-12-24 21:08 ` 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).