public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/55943] New: ICE in gen_reg_rtx
@ 2013-01-11 17:35 schwab@linux-m68k.org
2013-01-14 13:24 ` [Bug middle-end/55943] [4.8 Regression] " rguenth at gcc dot gnu.org
` (14 more replies)
0 siblings, 15 replies; 16+ messages in thread
From: schwab@linux-m68k.org @ 2013-01-11 17:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55943
Bug #: 55943
Summary: ICE in gen_reg_rtx
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: schwab@linux-m68k.org
Target: ia64-*-*
Created attachment 29150
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29150
Testcase
$ gcc-20130111/Build/gcc/xgcc -B gcc-20130111/Build/gcc/ -S
gcc/gcc/testsuite/gcc.c-torture/compile/pr55921.c
gcc/gcc/testsuite/gcc.c-torture/compile/pr55921.c: In function ‘foo’:
gcc/gcc/testsuite/gcc.c-torture/compile/pr55921.c:21:1: internal compiler
error: in gen_reg_rtx, at emit-rtl.c:866
}
^
0x400000000040012f gen_reg_rtx(machine_mode)
../../gcc/emit-rtl.c:866
0x4000000000432f1f store_bit_field_1
../../gcc/expmed.c:776
0x4000000000433b9f store_bit_field(rtx_def*, unsigned long, unsigned long,
unsigned long, unsigned long, machine_mode, rtx_def*)
../../gcc/expmed.c:897
0x400000000045f40f write_complex_part
../../gcc/expr.c:2960
0x400000000045f6bf emit_move_complex_parts(rtx_def*, rtx_def*)
../../gcc/expr.c:3216
0x4000000000718dff gen_move_insn(rtx_def*, rtx_def*)
../../gcc/optabs.c:4783
0x40000000007f752f gen_reload
../../gcc/reload1.c:8705
0x40000000008077af emit_input_reload_insns
../../gcc/reload1.c:7591
0x40000000008077af do_input_reload
../../gcc/reload1.c:7877
0x40000000008077af emit_reload_insns
../../gcc/reload1.c:8069
0x40000000008077af reload_as_needed
../../gcc/reload1.c:4645
0x4000000000811f2f reload(rtx_def*, int)
../../gcc/reload1.c:1051
0x4000000000604caf do_reload
../../gcc/ira.c:4635
0x4000000000604caf rest_of_handle_reload
../../gcc/ira.c:4736
Note that this is the original version of pr55921.c with the matching
constraints.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/55943] [4.8 Regression] ICE in gen_reg_rtx
2013-01-11 17:35 [Bug middle-end/55943] New: ICE in gen_reg_rtx schwab@linux-m68k.org
@ 2013-01-14 13:24 ` rguenth at gcc dot gnu.org
2013-01-14 15:45 ` [Bug middle-end/55943] [4.6/4.7/4.8 " jakub at gcc dot gnu.org
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-01-14 13:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55943
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.8.0
Summary|ICE in gen_reg_rtx |[4.8 Regression] ICE in
| |gen_reg_rtx
Known to fail| |4.8.0
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-14 13:23:53 UTC ---
At least a regression in 4.8 then.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/55943] [4.6/4.7/4.8 Regression] ICE in gen_reg_rtx
2013-01-11 17:35 [Bug middle-end/55943] New: ICE in gen_reg_rtx schwab@linux-m68k.org
2013-01-14 13:24 ` [Bug middle-end/55943] [4.8 Regression] " rguenth at gcc dot gnu.org
@ 2013-01-14 15:45 ` jakub at gcc dot gnu.org
2013-02-07 21:13 ` aldyh at gcc dot gnu.org
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-01-14 15:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55943
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
Summary|[4.8 Regression] ICE in |[4.6/4.7/4.8 Regression]
|gen_reg_rtx |ICE in gen_reg_rtx
Known to fail| |4.4.1
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-14 15:44:50 UTC ---
I don't have 4.3 around, but 4.4.1 certainly ICEs on this, both with -O0 and
with optimizations.
The ICE is during reload, similarly to the trunk ICE.
I guess the testcase in the testsuite should be just limited to x86_64/i686 and
perhaps few others where the "r" resp. "=r" constraint can be handled.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/55943] [4.6/4.7/4.8 Regression] ICE in gen_reg_rtx
2013-01-11 17:35 [Bug middle-end/55943] New: ICE in gen_reg_rtx schwab@linux-m68k.org
2013-01-14 13:24 ` [Bug middle-end/55943] [4.8 Regression] " rguenth at gcc dot gnu.org
2013-01-14 15:45 ` [Bug middle-end/55943] [4.6/4.7/4.8 " jakub at gcc dot gnu.org
@ 2013-02-07 21:13 ` aldyh at gcc dot gnu.org
2013-02-08 15:10 ` rguenth at gcc dot gnu.org
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: aldyh at gcc dot gnu.org @ 2013-02-07 21:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55943
Aldy Hernandez <aldyh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-02-07
CC| |aldyh at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #3 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2013-02-07 21:13:06 UTC ---
Confirmed with a cross to --target=ia64-linux-gnu.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/55943] [4.6/4.7/4.8 Regression] ICE in gen_reg_rtx
2013-01-11 17:35 [Bug middle-end/55943] New: ICE in gen_reg_rtx schwab@linux-m68k.org
` (2 preceding siblings ...)
2013-02-07 21:13 ` aldyh at gcc dot gnu.org
@ 2013-02-08 15:10 ` rguenth at gcc dot gnu.org
2013-03-16 13:18 ` [Bug middle-end/55943] [4.6/4.7/4.8/4.9 " danglin at gcc dot gnu.org
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-02-08 15:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55943
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/55943] [4.6/4.7/4.8/4.9 Regression] ICE in gen_reg_rtx
2013-01-11 17:35 [Bug middle-end/55943] New: ICE in gen_reg_rtx schwab@linux-m68k.org
` (3 preceding siblings ...)
2013-02-08 15:10 ` rguenth at gcc dot gnu.org
@ 2013-03-16 13:18 ` danglin at gcc dot gnu.org
2013-03-16 13:20 ` danglin at gcc dot gnu.org
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: danglin at gcc dot gnu.org @ 2013-03-16 13:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55943
John David Anglin <danglin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|ia64-*-* |ia64-*-*,hppa*64*-*-*
CC| |danglin at gcc dot gnu.org
--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> 2013-03-16 13:17:17 UTC ---
I believe the problem is in this hunk of code:
/* See if we can coerce the target into moving both values at once. */
/* Move floating point as parts. */
if (GET_MODE_CLASS (mode) == MODE_COMPLEX_FLOAT
&& can_create_pseudo_p ()
&& optab_handler (mov_optab, GET_MODE_INNER (mode)) != CODE_FOR_nothing)
try_int = false;
/* Not possible if the values are inherently not adjacent. */
else if (GET_CODE (x) == CONCAT || GET_CODE (y) == CONCAT)
try_int = false;
/* Is possible if both are registers (or subregs of registers). */
else if (register_operand (x, mode) && register_operand (y, mode))
try_int = true;
/* If one of the operands is a memory, and alignment constraints
are friendly enough, we may be able to do combined memory operations.
We do not attempt this if Y is a constant because that combination is
usually better with the by-parts thing below. */
else if ((MEM_P (x) ? !CONSTANT_P (y) : MEM_P (y))
&& (!STRICT_ALIGNMENT
|| get_mode_alignment (mode) == BIGGEST_ALIGNMENT))
try_int = true;
else
try_int = false;
When the inner mode is smaller than a word, a pseudo is needed to extract
the value. The asm causes this to occur after reload starts, causing the
ICE.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/55943] [4.6/4.7/4.8/4.9 Regression] ICE in gen_reg_rtx
2013-01-11 17:35 [Bug middle-end/55943] New: ICE in gen_reg_rtx schwab@linux-m68k.org
` (4 preceding siblings ...)
2013-03-16 13:18 ` [Bug middle-end/55943] [4.6/4.7/4.8/4.9 " danglin at gcc dot gnu.org
@ 2013-03-16 13:20 ` danglin at gcc dot gnu.org
2013-03-22 14:42 ` jakub at gcc dot gnu.org
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: danglin at gcc dot gnu.org @ 2013-03-16 13:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55943
--- Comment #5 from John David Anglin <danglin at gcc dot gnu.org> 2013-03-16 13:19:46 UTC ---
Created attachment 29680
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29680
Patch
Oops, previous comment comment contained patch that I'm testing.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/55943] [4.6/4.7/4.8/4.9 Regression] ICE in gen_reg_rtx
2013-01-11 17:35 [Bug middle-end/55943] New: ICE in gen_reg_rtx schwab@linux-m68k.org
` (5 preceding siblings ...)
2013-03-16 13:20 ` danglin at gcc dot gnu.org
@ 2013-03-22 14:42 ` jakub at gcc dot gnu.org
2013-05-31 10:58 ` [Bug middle-end/55943] [4.7/4.8/4.9 " jakub at gcc dot gnu.org
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-03-22 14:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55943
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.0 |4.8.1
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-03-22 14:42:39 UTC ---
GCC 4.8.0 is being released, adjusting target milestone.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/55943] [4.7/4.8/4.9 Regression] ICE in gen_reg_rtx
2013-01-11 17:35 [Bug middle-end/55943] New: ICE in gen_reg_rtx schwab@linux-m68k.org
` (6 preceding siblings ...)
2013-03-22 14:42 ` jakub at gcc dot gnu.org
@ 2013-05-31 10:58 ` jakub at gcc dot gnu.org
2013-10-16 9:48 ` jakub at gcc dot gnu.org
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-05-31 10:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55943
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.1 |4.8.2
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.8.1 has been released.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/55943] [4.7/4.8/4.9 Regression] ICE in gen_reg_rtx
2013-01-11 17:35 [Bug middle-end/55943] New: ICE in gen_reg_rtx schwab@linux-m68k.org
` (7 preceding siblings ...)
2013-05-31 10:58 ` [Bug middle-end/55943] [4.7/4.8/4.9 " jakub at gcc dot gnu.org
@ 2013-10-16 9:48 ` jakub at gcc dot gnu.org
2014-03-27 1:04 ` danglin at gcc dot gnu.org
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-10-16 9:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55943
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.2 |4.8.3
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.8.2 has been released.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/55943] [4.7/4.8/4.9 Regression] ICE in gen_reg_rtx
2013-01-11 17:35 [Bug middle-end/55943] New: ICE in gen_reg_rtx schwab@linux-m68k.org
` (8 preceding siblings ...)
2013-10-16 9:48 ` jakub at gcc dot gnu.org
@ 2014-03-27 1:04 ` danglin at gcc dot gnu.org
2014-05-22 9:01 ` [Bug middle-end/55943] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-03-27 1:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55943
--- Comment #9 from John David Anglin <danglin at gcc dot gnu.org> ---
*** Bug 56382 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug middle-end/55943] [4.7/4.8/4.9/4.10 Regression] ICE in gen_reg_rtx
2013-01-11 17:35 [Bug middle-end/55943] New: ICE in gen_reg_rtx schwab@linux-m68k.org
` (9 preceding siblings ...)
2014-03-27 1:04 ` danglin at gcc dot gnu.org
@ 2014-05-22 9:01 ` rguenth at gcc dot gnu.org
2014-12-19 13:25 ` [Bug rtl-optimization/55943] [4.8/4.9/5 " jakub at gcc dot gnu.org
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-05-22 9:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55943
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.3 |4.8.4
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 4.8.3 is being released, adjusting target milestone.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/55943] [4.8/4.9/5 Regression] ICE in gen_reg_rtx
2013-01-11 17:35 [Bug middle-end/55943] New: ICE in gen_reg_rtx schwab@linux-m68k.org
` (10 preceding siblings ...)
2014-05-22 9:01 ` [Bug middle-end/55943] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org
@ 2014-12-19 13:25 ` jakub at gcc dot gnu.org
2015-06-23 8:14 ` [Bug rtl-optimization/55943] [4.8/4.9/5/6 " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-12-19 13:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55943
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.4 |4.8.5
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.8.4 has been released.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/55943] [4.8/4.9/5/6 Regression] ICE in gen_reg_rtx
2013-01-11 17:35 [Bug middle-end/55943] New: ICE in gen_reg_rtx schwab@linux-m68k.org
` (11 preceding siblings ...)
2014-12-19 13:25 ` [Bug rtl-optimization/55943] [4.8/4.9/5 " jakub at gcc dot gnu.org
@ 2015-06-23 8:14 ` rguenth at gcc dot gnu.org
2015-06-26 19:52 ` [Bug rtl-optimization/55943] [4.9/5/6 " jakub at gcc dot gnu.org
2015-06-26 20:26 ` jakub at gcc dot gnu.org
14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-23 8:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55943
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.5 |4.9.3
--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
The gcc-4_8-branch is being closed, re-targeting regressions to 4.9.3.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/55943] [4.9/5/6 Regression] ICE in gen_reg_rtx
2013-01-11 17:35 [Bug middle-end/55943] New: ICE in gen_reg_rtx schwab@linux-m68k.org
` (12 preceding siblings ...)
2015-06-23 8:14 ` [Bug rtl-optimization/55943] [4.8/4.9/5/6 " rguenth at gcc dot gnu.org
@ 2015-06-26 19:52 ` jakub at gcc dot gnu.org
2015-06-26 20:26 ` jakub at gcc dot gnu.org
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 19:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55943
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.9.3 has been released.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Bug rtl-optimization/55943] [4.9/5/6 Regression] ICE in gen_reg_rtx
2013-01-11 17:35 [Bug middle-end/55943] New: ICE in gen_reg_rtx schwab@linux-m68k.org
` (13 preceding siblings ...)
2015-06-26 19:52 ` [Bug rtl-optimization/55943] [4.9/5/6 " jakub at gcc dot gnu.org
@ 2015-06-26 20:26 ` jakub at gcc dot gnu.org
14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-06-26 20:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55943
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.9.3 |4.9.4
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2015-06-26 20:26 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-11 17:35 [Bug middle-end/55943] New: ICE in gen_reg_rtx schwab@linux-m68k.org
2013-01-14 13:24 ` [Bug middle-end/55943] [4.8 Regression] " rguenth at gcc dot gnu.org
2013-01-14 15:45 ` [Bug middle-end/55943] [4.6/4.7/4.8 " jakub at gcc dot gnu.org
2013-02-07 21:13 ` aldyh at gcc dot gnu.org
2013-02-08 15:10 ` rguenth at gcc dot gnu.org
2013-03-16 13:18 ` [Bug middle-end/55943] [4.6/4.7/4.8/4.9 " danglin at gcc dot gnu.org
2013-03-16 13:20 ` danglin at gcc dot gnu.org
2013-03-22 14:42 ` jakub at gcc dot gnu.org
2013-05-31 10:58 ` [Bug middle-end/55943] [4.7/4.8/4.9 " jakub at gcc dot gnu.org
2013-10-16 9:48 ` jakub at gcc dot gnu.org
2014-03-27 1:04 ` danglin at gcc dot gnu.org
2014-05-22 9:01 ` [Bug middle-end/55943] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org
2014-12-19 13:25 ` [Bug rtl-optimization/55943] [4.8/4.9/5 " jakub at gcc dot gnu.org
2015-06-23 8:14 ` [Bug rtl-optimization/55943] [4.8/4.9/5/6 " rguenth at gcc dot gnu.org
2015-06-26 19:52 ` [Bug rtl-optimization/55943] [4.9/5/6 " jakub at gcc dot gnu.org
2015-06-26 20:26 ` jakub 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).