public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99965] New: segfault only happening with -O3
@ 2021-04-07 20:32 juanlucasrey at gmail dot com
  2021-04-07 20:34 ` [Bug c++/99965] " juanlucasrey at gmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: juanlucasrey at gmail dot com @ 2021-04-07 20:32 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99965
           Summary: segfault only happening with -O3
           Product: gcc
           Version: 7.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: juanlucasrey at gmail dot com
  Target Milestone: ---

Created attachment 50526
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50526&action=edit
file to reproduce

the following file runs fine with -O0, -O1 or -O2 but has a segmentation fault
when compiled with -O3

g++ bug.cpp -o bug -O3 && ./bug

I am executing this in a red hat docker container (if it matters)

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

end of thread, other threads:[~2021-04-08 10:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07 20:32 [Bug c++/99965] New: segfault only happening with -O3 juanlucasrey at gmail dot com
2021-04-07 20:34 ` [Bug c++/99965] " juanlucasrey at gmail dot com
2021-04-07 20:36 ` pinskia at gcc dot gnu.org
2021-04-07 20:39 ` jakub at gcc dot gnu.org
2021-04-07 21:02 ` juanlucasrey at gmail dot com
2021-04-07 21:08 ` pinskia at gcc dot gnu.org
2021-04-07 21:09 ` juanlucasrey at gmail dot com
2021-04-07 21:11 ` juanlucasrey at gmail dot com
2021-04-07 21:19 ` pinskia at gcc dot gnu.org
2021-04-08 10:19 ` jakub 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).