public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "koachan+gccbugs at protonmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/105292] New: [sparc64] ICE in expand_expr_real_2 on sparc64 when compiling with -mcpu=niagara4
Date: Sat, 16 Apr 2022 14:28:44 +0000	[thread overview]
Message-ID: <bug-105292-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 105292
           Summary: [sparc64] ICE in expand_expr_real_2 on sparc64 when
                    compiling with -mcpu=niagara4
           Product: gcc
           Version: 11.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: koachan+gccbugs at protonmail dot com
  Target Milestone: ---

Created attachment 52820
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52820&action=edit
Preprocessed source of ctf-open.c

Hello~

I'm getting this error on sparc64-linux-gnu when compiling gdb (commit
f0072f79e12 from git), in ctf-open.c:

gcc -O3 -mcpu=niagara4 -c libctf_la-ctf-open.c 
during RTL pass: expand
../../libctf/ctf-open.c: In function ‘ctf_bufopen_internal.part.0’:
../../libctf/ctf-open.c:1117:69: internal compiler error: in
expand_expr_real_2, at expr.c:9867
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.

As far as I know, compiling with -mcpu=niagara3 and -mcpu=niagara2 also fails
with the same error.
I'm using "gcc version 11.2.0 (GCC)". Attached is the preprocessed source of
the offending file.

             reply	other threads:[~2022-04-16 14:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-16 14:28 koachan+gccbugs at protonmail dot com [this message]
2022-04-18  9:59 ` [Bug target/105292] " mikpelinux at gmail dot com
2022-04-20 16:26 ` mikpelinux at gmail dot com
2022-05-06  7:58 ` [Bug target/105292] [10/11/12/13 regression] ICE in expand_expr_real_2 when compiling with -mcpu=niagara4 -mvis2 ebotcazou at gcc dot gnu.org
2022-05-06  8:21 ` ebotcazou at gcc dot gnu.org
2022-05-06  9:47 ` ebotcazou at gcc dot gnu.org
2022-05-10  7:36 ` [Bug target/105292] [10/11/12/13 regression] ICE in expand_expr_real_2 when compiling with -mvis2 cvs-commit at gcc dot gnu.org
2022-05-10  7:41 ` cvs-commit at gcc dot gnu.org
2022-05-10  7:45 ` cvs-commit at gcc dot gnu.org
2022-05-10  7:47 ` cvs-commit at gcc dot gnu.org
2022-05-10  7:48 ` cvs-commit at gcc dot gnu.org
2022-05-10  7:50 ` ebotcazou at gcc dot gnu.org
2022-06-03 11:02 ` ebotcazou 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-105292-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).