public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/105292] New: [sparc64] ICE in expand_expr_real_2 on sparc64 when compiling with -mcpu=niagara4
@ 2022-04-16 14:28 koachan+gccbugs at protonmail dot com
  2022-04-18  9:59 ` [Bug target/105292] " mikpelinux at gmail dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: koachan+gccbugs at protonmail dot com @ 2022-04-16 14:28 UTC (permalink / raw)
  To: gcc-bugs

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.

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

end of thread, other threads:[~2022-06-03 11:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-16 14:28 [Bug c/105292] New: [sparc64] ICE in expand_expr_real_2 on sparc64 when compiling with -mcpu=niagara4 koachan+gccbugs at protonmail dot com
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

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