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

            Bug ID: 120051
           Summary: codeview ICE/segfault starting with 15.1.0
           Product: gcc
           Version: 15.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: reiter.christoph at gmail dot com
  Target Milestone: ---

$ gcc -dumpmachine
x86_64-w64-mingw32

$ cat test.c
// gcc -O1 -gcodeview -c test.c
void a();
static void b();
void c() { b(); }
void b() { a(); }

$ gcc -O1 -gcodeview -c test.c
test.c:5:1: internal compiler error: Segmentation fault
    5 | void b() { a(); }
      | ^~~~
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
See <https://github.com/msys2/MINGW-packages/issues> for instructions.

----

Let me know if there is anything else I can provide.

Downstream issue: https://github.com/msys2/MINGW-packages/issues/24148

Reply via email to