public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "roland.illig at gmx dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/113324] New: internal compiler error: in reload_combine_note_use, at postreload.c:1534
Date: Thu, 11 Jan 2024 06:18:10 +0000	[thread overview]
Message-ID: <bug-113324-4@http.gcc.gnu.org/bugzilla/> (raw)

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.

             reply	other threads:[~2024-01-11  6:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-11  6:18 roland.illig at gmx dot de [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-113324-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).