public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/114358] New: [13 Regression] ICE in change_address_1, at emit-rtl.cc:2287 on m68k-linux-gnu
@ 2024-03-15 23:40 doko at gcc dot gnu.org
2024-03-16 0:09 ` [Bug target/114358] " pinskia at gcc dot gnu.org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: doko at gcc dot gnu.org @ 2024-03-15 23:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114358
Bug ID: 114358
Summary: [13 Regression] ICE in change_address_1, at
emit-rtl.cc:2287 on m68k-linux-gnu
Product: gcc
Version: 13.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at gcc dot gnu.org
Target Milestone: ---
[forwarded from https://bugs.debian.org/1066891]
seen with the gcc-13 branch building openssh, removing either the
-fzero-call-used-regs=used or -fPIE avoids the issue.
I can't reproduce this with the trunk.
$ cat moduli.i
int snprintf_eta;
double snprintf_time_per_line;
int snprintf(char *, int, char *, ...) {
snprintf_eta = snprintf_time_per_line;
}
$ m68k-linux-gnu-gcc -c -O2 -fno-strict-aliasing -fzero-call-used-regs=used
-fPIE moduli.i
during RTL pass: zero_call_used_regs
moduli.i: In function ‘snprintf’:
moduli.i:5:1: internal compiler error: in change_address_1, at emit-rtl.cc:2287
5 | }
| ^
0x7f8a86a666c9 __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
0x7f8a86a66784 __libc_start_main_impl
../csu/libc-start.c:360
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/114358] ICE in change_address_1, at emit-rtl.cc:2287 on m68k-linux-gnu
2024-03-15 23:40 [Bug target/114358] New: [13 Regression] ICE in change_address_1, at emit-rtl.cc:2287 on m68k-linux-gnu doko at gcc dot gnu.org
@ 2024-03-16 0:09 ` pinskia at gcc dot gnu.org
2024-03-20 19:05 ` tg at mirbsd dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-16 0:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114358
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup. -fzero-call-used-regs=used was not used in older versions of openssh.
*** This bug has been marked as a duplicate of bug 110934 ***
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/114358] ICE in change_address_1, at emit-rtl.cc:2287 on m68k-linux-gnu
2024-03-15 23:40 [Bug target/114358] New: [13 Regression] ICE in change_address_1, at emit-rtl.cc:2287 on m68k-linux-gnu doko at gcc dot gnu.org
2024-03-16 0:09 ` [Bug target/114358] " pinskia at gcc dot gnu.org
@ 2024-03-20 19:05 ` tg at mirbsd dot org
2024-03-20 19:07 ` pinskia at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: tg at mirbsd dot org @ 2024-03-20 19:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114358
Thorsten Glaser <tg at mirbsd dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tg at mirbsd dot org
--- Comment #2 from Thorsten Glaser <tg at mirbsd dot org> ---
Sure? bug 110934 was about =all and using =used fixed the ICE back then. Now it
ICEs in both.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/114358] ICE in change_address_1, at emit-rtl.cc:2287 on m68k-linux-gnu
2024-03-15 23:40 [Bug target/114358] New: [13 Regression] ICE in change_address_1, at emit-rtl.cc:2287 on m68k-linux-gnu doko at gcc dot gnu.org
2024-03-16 0:09 ` [Bug target/114358] " pinskia at gcc dot gnu.org
2024-03-20 19:05 ` tg at mirbsd dot org
@ 2024-03-20 19:07 ` pinskia at gcc dot gnu.org
2024-03-20 19:08 ` pinskia at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-20 19:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114358
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Thorsten Glaser from comment #2)
> Sure? bug 110934 was about =all and using =used fixed the ICE back then. Now
> it ICEs in both.
Including on the trunk of GCC?
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/114358] ICE in change_address_1, at emit-rtl.cc:2287 on m68k-linux-gnu
2024-03-15 23:40 [Bug target/114358] New: [13 Regression] ICE in change_address_1, at emit-rtl.cc:2287 on m68k-linux-gnu doko at gcc dot gnu.org
` (2 preceding siblings ...)
2024-03-20 19:07 ` pinskia at gcc dot gnu.org
@ 2024-03-20 19:08 ` pinskia at gcc dot gnu.org
2024-03-20 19:11 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-20 19:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114358
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Thorsten Glaser from comment #2)
> Sure? bug 110934 was about =all and using =used fixed the ICE back then. Now
> it ICEs in both.
Yes it is a dup because it is about the FP registers in the reduced testcase
there is a double type which is used and =used will ICE due to the FP register
being used and needing to be zero'ed.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/114358] ICE in change_address_1, at emit-rtl.cc:2287 on m68k-linux-gnu
2024-03-15 23:40 [Bug target/114358] New: [13 Regression] ICE in change_address_1, at emit-rtl.cc:2287 on m68k-linux-gnu doko at gcc dot gnu.org
` (3 preceding siblings ...)
2024-03-20 19:08 ` pinskia at gcc dot gnu.org
@ 2024-03-20 19:11 ` pinskia at gcc dot gnu.org
2024-03-20 19:19 ` tg at mirbsd dot org
2024-03-20 19:20 ` sjames at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-20 19:11 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114358
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110934#c11 .
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/114358] ICE in change_address_1, at emit-rtl.cc:2287 on m68k-linux-gnu
2024-03-15 23:40 [Bug target/114358] New: [13 Regression] ICE in change_address_1, at emit-rtl.cc:2287 on m68k-linux-gnu doko at gcc dot gnu.org
` (4 preceding siblings ...)
2024-03-20 19:11 ` pinskia at gcc dot gnu.org
@ 2024-03-20 19:19 ` tg at mirbsd dot org
2024-03-20 19:20 ` sjames at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: tg at mirbsd dot org @ 2024-03-20 19:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114358
--- Comment #6 from Thorsten Glaser <tg at mirbsd dot org> ---
Oh okay.
I have no easy way to check the trunk; gcc-snapshot_1:20240117-1 failed to
build (due to an ICE in libgo). In about two days, gcc-14_14-20240315-1 should
be built, which I can check then, if that helps (I’m not sure if the fix was
before gcc-14 was branched off).
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/114358] ICE in change_address_1, at emit-rtl.cc:2287 on m68k-linux-gnu
2024-03-15 23:40 [Bug target/114358] New: [13 Regression] ICE in change_address_1, at emit-rtl.cc:2287 on m68k-linux-gnu doko at gcc dot gnu.org
` (5 preceding siblings ...)
2024-03-20 19:19 ` tg at mirbsd dot org
@ 2024-03-20 19:20 ` sjames at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-03-20 19:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114358
Sam James <sjames at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sjames at gcc dot gnu.org
--- Comment #7 from Sam James <sjames at gcc dot gnu.org> ---
(It's not branched yet.)
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-03-20 19:20 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-15 23:40 [Bug target/114358] New: [13 Regression] ICE in change_address_1, at emit-rtl.cc:2287 on m68k-linux-gnu doko at gcc dot gnu.org
2024-03-16 0:09 ` [Bug target/114358] " pinskia at gcc dot gnu.org
2024-03-20 19:05 ` tg at mirbsd dot org
2024-03-20 19:07 ` pinskia at gcc dot gnu.org
2024-03-20 19:08 ` pinskia at gcc dot gnu.org
2024-03-20 19:11 ` pinskia at gcc dot gnu.org
2024-03-20 19:19 ` tg at mirbsd dot org
2024-03-20 19:20 ` sjames 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).