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

            Bug ID: 118871
           Summary: internal compiler error: Segmentation fault
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bic60176 at gmail dot com
  Target Milestone: ---

Created attachment 60496
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60496&action=edit
testcase

Compiler Explorer: https://godbolt.org/z/qYnPfGx4r

console:
during GIMPLE pass: cfg
<source>: In function 'f':
<source>:3:8: internal compiler error: Segmentation fault
    3 |   void f() {
      |        ^
0x25f2965 diagnostic_context::diagnostic_impl(rich_location*,
diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag
(*) [1], diagnostic_t)
        ???:0
0x2609a36 internal_error(char const*, ...)
        ???:0
0x1184827 cleanup_dead_labels()
        ???:0
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
Compiler returned: 1

Reply via email to