public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/113324] New: internal compiler error: in reload_combine_note_use, at postreload.c:1534
@ 2024-01-11  6:18 roland.illig at gmx dot de
  2024-01-11  9:07 ` [Bug target/113324] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: roland.illig at gmx dot de @ 2024-01-11  6:18 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113324
           Summary: internal compiler error: in reload_combine_note_use,
                    at postreload.c:1534
           Product: gcc
           Version: 10.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland.illig at gmx dot de
  Target Milestone: ---
            Target: vax

Created attachment 57035
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57035&action=edit
preprocessed source causing the internal compiler error

GCC 10.5.0 on NetBSD/x86_64, cross-built with target NetBSD/vax crashes:

vax--netbsdelf-gcc -ftrapv -std=gnu99 -O2 -c cgram.c

during RTL pass: postreload
cgram.c: In function 'yyparse':
cgram.c:218:1: internal compiler error: in reload_combine_note_use, at
postreload.c:1534
  218 | }
      | ^
0xd6fcc3 reload_combine_note_use
       
/home/rillig/proj/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/postreload.c:1534
0xd70052 reload_combine_note_use
       
/home/rillig/proj/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/postreload.c:1596
0xd70052 reload_combine_note_use
       
/home/rillig/proj/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/postreload.c:1596
0xd6f694 reload_combine
       
/home/rillig/proj/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/postreload.c:1383
0xd6c093 reload_cse_regs
       
/home/rillig/proj/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/postreload.c:67
0xd71e8c execute
       
/home/rillig/proj/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/postreload.c:2334

Replacing -O2 with -Os doesn't crash.
Removing -ftrapv doesn't crash.

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

end of thread, other threads:[~2024-01-20 17:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-11  6:18 [Bug target/113324] New: internal compiler error: in reload_combine_note_use, at postreload.c:1534 roland.illig at gmx dot de
2024-01-11  9:07 ` [Bug target/113324] " rguenth at gcc dot gnu.org
2024-01-11 13:54 ` mikpelinux at gmail dot com
2024-01-11 19:59 ` roland.illig at gmx dot de
2024-01-13 15:56 ` mikpelinux at gmail dot com
2024-01-20 17:08 ` 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).