public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/103493] New: gcc crash with Seg fault signal
@ 2021-11-30 11:10 k.even-mendoza at imperial dot ac.uk
  2021-11-30 11:54 ` [Bug middle-end/103493] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: k.even-mendoza at imperial dot ac.uk @ 2021-11-30 11:10 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103493
           Summary: gcc crash with Seg fault signal
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: k.even-mendoza at imperial dot ac.uk
  Target Milestone: ---

Hi,

When trying to compile this code with GCC-12:

=====
gcc -O0 prog.c

enum { a, b } main() {
  (short)(b ^ (long)-(double)0 | 2 | (0 ^ (long)(double)0) * (0 % 0));
}
=====

GCC crash with:
Please submit a full bug report,
gcc: internal compiler error: Segmentation fault signal terminated program cc1

GCC version 
gcc (GCC) 12.0.0 20211118 (experimental)
Unix/Ubuntu

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

end of thread, other threads:[~2021-11-30 11:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-30 11:10 [Bug c/103493] New: gcc crash with Seg fault signal k.even-mendoza at imperial dot ac.uk
2021-11-30 11:54 ` [Bug middle-end/103493] " 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).