public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/99787] New: ICE in curr_insn_transform, at lra-constraints.c:4133
@ 2021-03-26 8:41 marxin at gcc dot gnu.org
2021-03-26 9:16 ` [Bug target/99787] [11 Regression] ICE in curr_insn_transform, at lra-constraints.c:4133 since r11-7807-gbe70bb5e4babdf9d3d33e8f4658452038407fa8e marxin at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-03-26 8:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99787
Bug ID: 99787
Summary: ICE in curr_insn_transform, at lra-constraints.c:4133
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-linux-gnu
Target: aarch64-linux-gnu
I see the following ICE:
$ cat big.c
_Complex foo_x_0;
int foo_n11, foo_i, foo_l;
_Complex float foo_s;
_Complex *foo_f_0_0_0;
void
foo() {
_Complex f[foo_l];
for (; foo_i; foo_i++) {
int n9;
for (; n9 < foo_l; n9++)
for (; foo_n11; foo_n11++)
foo_s += foo_f_0_0_0[n9] * 0 * foo_f_0_0_0[foo_n11];
foo_x_0 += foo_s;
}
}
$ aarch64-linux-gnu-gcc big.c -O2 -ftree-slp-vectorize -ffp-contract=on
-ffloat-store -c
big.c: In function ‘foo’:
big.c:16:1: error: unable to generate reloads for:
16 | }
| ^
(insn 155 154 156 12 (set (reg:V2DF 203)
(vec_concat:V2DF (mem:DF (plus:DI (reg/f:DI 64 sfp)
(const_int 264 [0x108])) [3 S8 A64])
(mem:DF (plus:DI (reg/f:DI 64 sfp)
(const_int 272 [0x110])) [3 S8 A128]))) 2474
{load_pair_lanesdf}
(expr_list:REG_EQUIV (mem:V2DF (plus:DI (reg/f:DI 64 sfp)
(const_int -32 [0xffffffffffffffe0])) [3 S16 A128])
(nil)))
during RTL pass: reload
big.c:16:1: internal compiler error: in curr_insn_transform, at
lra-constraints.c:4133
0x69192f _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/rtl-error.c:108
0x68a741 curr_insn_transform
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/lra-constraints.c:4133
0xa85367 lra_constraints(bool)
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/lra-constraints.c:5169
0xa6f0a2 lra(_IO_FILE*)
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/lra.c:2336
0xa2be49 do_reload
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/ira.c:5835
0xa2be49 execute
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-aarch64/build/gcc/ira.c:6021
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/99787] [11 Regression] ICE in curr_insn_transform, at lra-constraints.c:4133 since r11-7807-gbe70bb5e4babdf9d3d33e8f4658452038407fa8e
2021-03-26 8:41 [Bug target/99787] New: ICE in curr_insn_transform, at lra-constraints.c:4133 marxin at gcc dot gnu.org
@ 2021-03-26 9:16 ` marxin at gcc dot gnu.org
2021-03-26 9:49 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-03-26 9:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99787
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |10.2.0
Summary|ICE in curr_insn_transform, |[11 Regression] ICE in
|at lra-constraints.c:4133 |curr_insn_transform, at
| |lra-constraints.c:4133
| |since
| |r11-7807-gbe70bb5e4babdf9d3
| |d33e8f4658452038407fa8e
CC| |vmakarov at gcc dot gnu.org
Target Milestone|--- |11.0
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2021-03-26
Known to fail| |11.0
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r11-7807-gbe70bb5e4babdf9d3d33e8f4658452038407fa8e.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/99787] [11 Regression] ICE in curr_insn_transform, at lra-constraints.c:4133 since r11-7807-gbe70bb5e4babdf9d3d33e8f4658452038407fa8e
2021-03-26 8:41 [Bug target/99787] New: ICE in curr_insn_transform, at lra-constraints.c:4133 marxin at gcc dot gnu.org
2021-03-26 9:16 ` [Bug target/99787] [11 Regression] ICE in curr_insn_transform, at lra-constraints.c:4133 since r11-7807-gbe70bb5e4babdf9d3d33e8f4658452038407fa8e marxin at gcc dot gnu.org
@ 2021-03-26 9:49 ` rguenth at gcc dot gnu.org
2021-03-26 17:27 ` vmakarov at gcc dot gnu.org
2022-01-01 8:48 ` cvs-commit at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-03-26 9:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99787
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/99787] [11 Regression] ICE in curr_insn_transform, at lra-constraints.c:4133 since r11-7807-gbe70bb5e4babdf9d3d33e8f4658452038407fa8e
2021-03-26 8:41 [Bug target/99787] New: ICE in curr_insn_transform, at lra-constraints.c:4133 marxin at gcc dot gnu.org
2021-03-26 9:16 ` [Bug target/99787] [11 Regression] ICE in curr_insn_transform, at lra-constraints.c:4133 since r11-7807-gbe70bb5e4babdf9d3d33e8f4658452038407fa8e marxin at gcc dot gnu.org
2021-03-26 9:49 ` rguenth at gcc dot gnu.org
@ 2021-03-26 17:27 ` vmakarov at gcc dot gnu.org
2022-01-01 8:48 ` cvs-commit at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2021-03-26 17:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99787
Vladimir Makarov <vmakarov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|NEW |RESOLVED
--- Comment #2 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
The patch for PR99766 has fixed this.
*** This bug has been marked as a duplicate of bug 99766 ***
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/99787] [11 Regression] ICE in curr_insn_transform, at lra-constraints.c:4133 since r11-7807-gbe70bb5e4babdf9d3d33e8f4658452038407fa8e
2021-03-26 8:41 [Bug target/99787] New: ICE in curr_insn_transform, at lra-constraints.c:4133 marxin at gcc dot gnu.org
` (2 preceding siblings ...)
2021-03-26 17:27 ` vmakarov at gcc dot gnu.org
@ 2022-01-01 8:48 ` cvs-commit at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-01 8:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99787
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <pinskia@gcc.gnu.org>:
https://gcc.gnu.org/g:5fa4f982636e7e66eee6a9b45cc0939ae95b4659
commit r12-6164-g5fa4f982636e7e66eee6a9b45cc0939ae95b4659
Author: Andrew Pinski <apinski@marvell.com>
Date: Sat Jan 1 08:44:48 2022 +0000
Committed: Add testcases for a few PRs
These were fixed as part of the fix for PR 99766,
I thought it would be useful to add a few testcases
for the other cases that were failing.
Committed as obvious after running the tests to make
sure they work.
PR rtl-optimization/100241
PR rtl-optimization/99787
gcc/testsuite/ChangeLog:
* gcc.c-torture/compile/pr100241-1.c: New test.
* gcc.c-torture/compile/pr99787-1.c: New test.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-01-01 8:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-26 8:41 [Bug target/99787] New: ICE in curr_insn_transform, at lra-constraints.c:4133 marxin at gcc dot gnu.org
2021-03-26 9:16 ` [Bug target/99787] [11 Regression] ICE in curr_insn_transform, at lra-constraints.c:4133 since r11-7807-gbe70bb5e4babdf9d3d33e8f4658452038407fa8e marxin at gcc dot gnu.org
2021-03-26 9:49 ` rguenth at gcc dot gnu.org
2021-03-26 17:27 ` vmakarov at gcc dot gnu.org
2022-01-01 8:48 ` cvs-commit 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).