public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/97795] New: internal compiler error: in i386_pe_seh_unwind_emit
@ 2020-11-11  9:46 vladimir.kokovic at gmail dot com
  2020-12-09  8:06 ` [Bug target/97795] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: vladimir.kokovic at gmail dot com @ 2020-11-11  9:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97795
           Summary: internal compiler error: in i386_pe_seh_unwind_emit
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vladimir.kokovic at gmail dot com
  Target Milestone: ---

GIT_DIR=/mnt/WD-Elements-25A1/src/gcc-mirror-git/gcc/.git git describe HEAD
misc/first-auto-changelog-4144-gc283a711c85

Build a cross compiler for MinGW(gcc 10.2.0)

Executing on host:
/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/xgcc
-B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/stack-check-16.c   
-fdiagnostics-plain-output   -fstack-clash-protection -S -o stack-check-16.s   
(timeout = 300)
spawn -ignore SIGHUP
/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/xgcc
-B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/stack-check-16.c
-fdiagnostics-plain-output -fstack-clash-protection -S -o stack-check-16.s
during RTL pass: final
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/stack-check-16.c: In
function 'do_test':
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/stack-check-16.c:36:1:
internal compiler error: in i386_pe_seh_unwind_emit, at
config/i386/winnt.c:1258
0x5f6769 i386_pe_seh_unwind_emit(_IO_FILE*, rtx_insn*)
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/config/i386/winnt.c:1258
0x85560a final_scan_insn_1
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:3116
0x8558bb final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:3152
0x855ba4 final_1
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:2020
0x856394 rest_of_handle_final
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:4658
0x856394 execute
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:4736
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
FAIL: gcc.dg/stack-check-16.c (internal compiler error)
FAIL: gcc.dg/stack-check-16.c (test for excess errors)

Executing on host:
/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/xgcc
-B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/stack-check-2.c   
-fdiagnostics-plain-output   -O2 -fstack-clash-protection -fdump-tree-tailc
-fdump-tree-optimized -S -o stack-check-2.s    (timeout = 300)
spawn -ignore SIGHUP
/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/xgcc
-B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/stack-check-2.c
-fdiagnostics-plain-output -O2 -fstack-clash-protection -fdump-tree-tailc
-fdump-tree-optimized -S -o stack-check-2.s
during RTL pass: final
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/stack-check-2.c: In
function 'test_direct_1':
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/stack-check-2.c:25:1:
internal compiler error: in seh_emit_stackalloc, at config/i386/winnt.c:1043
0x5f6575 seh_emit_stackalloc
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/config/i386/winnt.c:1043
0x5f6575 seh_emit_stackalloc
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/config/i386/winnt.c:1038
0xeb1cf8 i386_pe_seh_unwind_emit(_IO_FILE*, rtx_insn*)
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/config/i386/winnt.c:1273
0x85560a final_scan_insn_1
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:3116
0x8558bb final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:3152
0x855ba4 final_1
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:2020
0x856394 rest_of_handle_final
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:4658
0x856394 execute
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:4736
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
FAIL: gcc.dg/stack-check-2.c (internal compiler error)
FAIL: gcc.dg/stack-check-2.c (test for excess errors)

Executing on host:
/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/xgcc
-B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/stack-check-6.c   
-fdiagnostics-plain-output  -O2 -fstack-clash-protection
-fdump-rtl-pro_and_epilogue -fno-optimize-sibling-calls --param
stack-clash-protection-probe-interval=12 --param
stack-clash-protection-guard-size=12 -ffat-lto-objects -S -o stack-check-6.s   
(timeout = 300)
spawn -ignore SIGHUP
/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/xgcc
-B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/stack-check-6.c
-fdiagnostics-plain-output -O2 -fstack-clash-protection
-fdump-rtl-pro_and_epilogue -fno-optimize-sibling-calls --param
stack-clash-protection-probe-interval=12 --param
stack-clash-protection-guard-size=12 -ffat-lto-objects -S -o stack-check-6.s
during RTL pass: final
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/stack-check-6.c: In
function 'f6':
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/stack-check-6.c:37:1:
internal compiler error: in i386_pe_seh_unwind_emit, at
config/i386/winnt.c:1258
0x5f6769 i386_pe_seh_unwind_emit(_IO_FILE*, rtx_insn*)
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/config/i386/winnt.c:1258
0x85560a final_scan_insn_1
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:3116
0x8558bb final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:3152
0x855ba4 final_1
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:2020
0x856394 rest_of_handle_final
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:4658
0x856394 execute
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:4736
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
FAIL: gcc.dg/stack-check-6.c (internal compiler error)
FAIL: gcc.dg/stack-check-6.c (test for excess errors)

Executing on host:
/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/xgcc
-B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/stack-check-7.c   
-fdiagnostics-plain-output   -O2 -fstack-clash-protection
-fno-optimize-sibling-calls --param stack-clash-protection-probe-interval=12
--param stack-clash-protection-guard-size=12  -lm  -o ./stack-check-7.exe   
(timeout = 300)
spawn -ignore SIGHUP
/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/xgcc
-B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/stack-check-7.c
-fdiagnostics-plain-output -O2 -fstack-clash-protection
-fno-optimize-sibling-calls --param stack-clash-protection-probe-interval=12
--param stack-clash-protection-guard-size=12 -lm -o ./stack-check-7.exe
during RTL pass: final
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/stack-check-7.c: In
function 'bar':
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/stack-check-7.c:20:1:
internal compiler error: in i386_pe_seh_unwind_emit, at
config/i386/winnt.c:1258
0x5f6769 i386_pe_seh_unwind_emit(_IO_FILE*, rtx_insn*)
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/config/i386/winnt.c:1258
0x85560a final_scan_insn_1
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:3116
0x8558bb final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:3152
0x855ba4 final_1
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:2020
0x856394 rest_of_handle_final
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:4658
0x856394 execute
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:4736
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
FAIL: gcc.dg/stack-check-7.c (internal compiler error)
FAIL: gcc.dg/stack-check-7.c (test for excess errors)

Executing on host:
/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/xgcc
-B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/
/mnt/sdd1/home/src/gcc-mirror-git/gcc/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   
(timeout = 300)
spawn -ignore SIGHUP
/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/xgcc
-B/mnt/WD-Elements-25A1/src/gcc-mirror-git/mingw-objdir/gcc/
/mnt/sdd1/home/src/gcc-mirror-git/gcc/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
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/stack-check-8.c: In
function 'f3':
/mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/testsuite/gcc.dg/stack-check-8.c:40:1:
internal compiler error: in i386_pe_seh_unwind_emit, at
config/i386/winnt.c:1258
0x5f6769 i386_pe_seh_unwind_emit(_IO_FILE*, rtx_insn*)
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/config/i386/winnt.c:1258
0x85560a final_scan_insn_1
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:3116
0x8558bb final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:3152
0x855ba4 final_1
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:2020
0x856394 rest_of_handle_final
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:4658
0x856394 execute
        /mnt/sdd1/home/src/gcc-mirror-git/gcc/gcc/final.c:4736
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
FAIL: gcc.dg/stack-check-8.c (internal compiler error)
FAIL: gcc.dg/stack-check-8.c (test for excess errors)

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

* [Bug target/97795] internal compiler error: in i386_pe_seh_unwind_emit
  2020-11-11  9:46 [Bug c++/97795] New: internal compiler error: in i386_pe_seh_unwind_emit vladimir.kokovic at gmail dot com
@ 2020-12-09  8:06 ` rguenth at gcc dot gnu.org
  2021-08-22  7:54 ` pinskia at gcc dot gnu.org
  2023-02-15 22:55 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-12-09  8:06 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |90458

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Likely a duplicatge of PR90458.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90458
[Bug 90458] mingw64: ICE in i386_pe_seh_unwind_emit, at
config/i386/winnt.c:1258 with -fstack-clash-protection

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

* [Bug target/97795] internal compiler error: in i386_pe_seh_unwind_emit
  2020-11-11  9:46 [Bug c++/97795] New: internal compiler error: in i386_pe_seh_unwind_emit vladimir.kokovic at gmail dot com
  2020-12-09  8:06 ` [Bug target/97795] " rguenth at gcc dot gnu.org
@ 2021-08-22  7:54 ` pinskia at gcc dot gnu.org
  2023-02-15 22:55 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-22  7:54 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 90458.

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

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

* [Bug target/97795] internal compiler error: in i386_pe_seh_unwind_emit
  2020-11-11  9:46 [Bug c++/97795] New: internal compiler error: in i386_pe_seh_unwind_emit vladimir.kokovic at gmail dot com
  2020-12-09  8:06 ` [Bug target/97795] " rguenth at gcc dot gnu.org
  2021-08-22  7:54 ` pinskia at gcc dot gnu.org
@ 2023-02-15 22:55 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2023-02-15 22:55 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97795
Bug 97795 depends on bug 90458, which changed state.

Bug 90458 Summary: [10/11/12/13 Regression] mingw64: ICE in i386_pe_seh_unwind_emit, at config/i386/winnt.c:1258 with -fstack-clash-protection
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90458

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

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

end of thread, other threads:[~2023-02-15 22:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-11  9:46 [Bug c++/97795] New: internal compiler error: in i386_pe_seh_unwind_emit vladimir.kokovic at gmail dot com
2020-12-09  8:06 ` [Bug target/97795] " rguenth at gcc dot gnu.org
2021-08-22  7:54 ` pinskia at gcc dot gnu.org
2023-02-15 22:55 ` ebotcazou 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).