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

* [Bug middle-end/103493] gcc crash with Seg fault signal
  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 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-11-30 11:54 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |middle-end
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 103314, fixed on the same day even as your GCC build.

*** This bug has been marked as a duplicate of bug 103314 ***

^ 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).