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

            Bug ID: 102010
           Summary: ICE in stack-check-8.c in i386_pe_seh_unwind_emit
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nightstrike at gmail dot com
  Target Milestone: ---

See related PR97795 and PR90458

The testsuite test stack-check-8.c fails thusly:

spawn -ignore SIGHUP /tmp/_/build/gc/gcc/xgcc -B/tmp/_/build/gc/gcc/
/tmp/_/src/gcc-git/gcc/testsuite/gcc.dg/stack-check-8.c
-fdiagnostics-plain-output -O2 -fstack-clash-protection -Wno-psabi -fno-
optimize-sibling-calls --param stack-clash-protection-probe-interval=12 --param
stack-clash-protection-guard-size=12 -lm -o ./stack-check-8.exe
during RTL pass: final
/tmp/_/src/gcc-git/gcc/testsuite/gcc.dg/stack-check-8.c: In function 'f3':
/tmp/_/src/gcc-git/gcc/testsuite/gcc.dg/stack-check-8.c:40:1: internal compiler
error: in i386_pe_seh_unwind_emit, at config/i386/winnt.c:1274
0x7f25c7 i386_pe_seh_unwind_emit(_IO_FILE*, rtx_insn*)
        /tmp/_/src/gcc-git/gcc/config/i386/winnt.c:1274
0xb3aa3b final_scan_insn_1
        /tmp/_/src/gcc-git/gcc/final.c:2904
0xb3ae5b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
        /tmp/_/src/gcc-git/gcc/final.c:2940
0xb3af36 final_1
        /tmp/_/src/gcc-git/gcc/final.c:1997
0xb3baf4 rest_of_handle_final
        /tmp/_/src/gcc-git/gcc/final.c:4285
0xb3baf4 execute
        /tmp/_/src/gcc-git/gcc/final.c:4363
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
compiler exited with status 1
  • [Bug c/102010] New: ICE in stack... nightstrike at gmail dot com via Gcc-bugs

Reply via email to