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

* [Bug target/113324] internal compiler error: in reload_combine_note_use, at postreload.c:1534
  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 ` rguenth at gcc dot gnu.org
  2024-01-11 13:54 ` mikpelinux at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-01-11  9:07 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
           Keywords|                            |ice-on-valid-code
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-01-11

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I wonder if you can try newer GCC since 10.5 is no longer maintained?

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

* [Bug target/113324] internal compiler error: in reload_combine_note_use, at postreload.c:1534
  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
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mikpelinux at gmail dot com @ 2024-01-11 13:54 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Mikael Pettersson <mikpelinux at gmail dot com> ---
I can reproduce with gcc-10.5.0 hosted on x86_64-pc-linux-gnu targeting
vax-netbsdelf, but not with gcc-11.4.0. 12.3.0, or 13.2.0.

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

* [Bug target/113324] internal compiler error: in reload_combine_note_use, at postreload.c:1534
  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
  4 siblings, 0 replies; 6+ messages in thread
From: roland.illig at gmx dot de @ 2024-01-11 19:59 UTC (permalink / raw)
  To: gcc-bugs

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

Roland Illig <roland.illig at gmx dot de> changed:

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

--- Comment #3 from Roland Illig <roland.illig at gmx dot de> ---
(In reply to Mikael Pettersson from comment #2)
> I can reproduce with gcc-10.5.0 hosted on x86_64-pc-linux-gnu targeting
> vax-netbsdelf, but not with gcc-11.4.0. 12.3.0, or 13.2.0.

Thanks for the confirmation, I'll wait until NetBSD updates to GCC 12 then.

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

* [Bug target/113324] internal compiler error: in reload_combine_note_use, at postreload.c:1534
  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
                   ` (2 preceding siblings ...)
  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
  4 siblings, 0 replies; 6+ messages in thread
From: mikpelinux at gmail dot com @ 2024-01-13 15:56 UTC (permalink / raw)
  To: gcc-bugs

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

Mikael Pettersson <mikpelinux at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpelinux at gmail dot com

--- Comment #4 from Mikael Pettersson <mikpelinux at gmail dot com> ---
The ICE was fixed for 11.0 and up by 85f5a7d6ac9380fb9a07a8c900aa2e21d83d6805
<https://gcc.gnu.org/pipermail/gcc-patches/2020-November/559669.html> which is
part of a series of major updates to the vax backend.

Your best bet is to upgrade to gcc-11 or newer.

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

* [Bug target/113324] internal compiler error: in reload_combine_note_use, at postreload.c:1534
  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
                   ` (3 preceding siblings ...)
  2024-01-13 15:56 ` mikpelinux at gmail dot com
@ 2024-01-20 17:08 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-01-20 17:08 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0

^ 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).