* [Bug middle-end/58382] [4.9 Regression] unwind.inc:136:1: ICE: in trunc_int_for_mode, at explow.c:55
2013-09-10 12:04 [Bug middle-end/58382] New: [4.9 Regression] unwind.inc:136:1: ICE: in trunc_int_for_mode, at explow.c:55 danglin at gcc dot gnu.org
@ 2013-09-10 13:37 ` rguenth at gcc dot gnu.org
2013-09-10 15:06 ` danglin at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-09-10 13:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58382
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rsandifo at gcc dot gnu.org
Target Milestone|--- |4.9.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/58382] [4.9 Regression] unwind.inc:136:1: ICE: in trunc_int_for_mode, at explow.c:55
2013-09-10 12:04 [Bug middle-end/58382] New: [4.9 Regression] unwind.inc:136:1: ICE: in trunc_int_for_mode, at explow.c:55 danglin at gcc dot gnu.org
2013-09-10 13:37 ` [Bug middle-end/58382] " rguenth at gcc dot gnu.org
@ 2013-09-10 15:06 ` danglin at gcc dot gnu.org
2013-09-10 20:14 ` rsandifo at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: danglin at gcc dot gnu.org @ 2013-09-10 15:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58382
--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> ---
Breakpoint 1, trunc_int_for_mode (c=8, mode=DFmode)
at ../../gcc/gcc/explow.c:55
55 gcc_assert (SCALAR_INT_MODE_P (mode));
(gdb) bt
#0 trunc_int_for_mode (c=8, mode=DFmode) at ../../gcc/gcc/explow.c:55
#1 0x40000000006bb254 in gen_int_mode (c=8, mode=DFmode)
at ../../gcc/gcc/emit-rtl.c:420
#2 0x400000000110e470 in adjust_mems (loc=0x800003fffd533100, old_rtx=0x0,
data=0x800003fffdff14b8) at ../../gcc/gcc/var-tracking.c:1058
#3 0x4000000000c36a20 in simplify_replace_fn_rtx (x=0x800003fffd533100,
old_rtx=0x0, fn=0x40000000002ec440, data=0x800003fffdff14b8)
at ../../gcc/gcc/simplify-rtx.c:426
#4 0x400000000110e168 in adjust_mems (loc=0x800003fffd5cc558, old_rtx=0x0,
data=0x800003fffdff14b8) at ../../gcc/gcc/var-tracking.c:1035
#5 0x4000000000c36a20 in simplify_replace_fn_rtx (x=0x800003fffd5cc558,
old_rtx=0x0, fn=0x40000000002ec440, data=0x800003fffdff14b8)
at ../../gcc/gcc/simplify-rtx.c:426
#6 0x400000000110eb78 in adjust_mem_stores (loc=0x800003fffd5cc558,
expr=0x800003fffd5cc570, data=0x800003fffdff14b8)
at ../../gcc/gcc/var-tracking.c:1157
#7 0x4000000000bc7e98 in note_stores (x=0x800003fffd5cc570,
fun=0x40000000002ec450, data=0x800003fffdff14b8)
at ../../gcc/gcc/rtlanal.c:1518
#8 0x400000000110ec64 in adjust_insn (bb=0x800003fffda7eb60,
insn=0x800003fffdae8798) at ../../gcc/gcc/var-tracking.c:1207
#9 0x4000000001139de8 in vt_initialize ()
at ../../gcc/gcc/var-tracking.c:9973
---Type <return> to continue, or q <return> to quit---
#10 0x400000000113ad54 in variable_tracking_main_1 ()
at ../../gcc/gcc/var-tracking.c:10171
#11 0x400000000113b074 in variable_tracking_main ()
at ../../gcc/gcc/var-tracking.c:10224
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) frame 8
#8 0x400000000110ec64 in adjust_insn (bb=0x800003fffda7eb60,
insn=0x800003fffdae8798) at ../../gcc/gcc/var-tracking.c:1207
1207 note_stores (PATTERN (insn), adjust_mem_stores, &amd);
(gdb) p debug_rtx(insn)
(insn/f:TI 248 240 249 2 (set (mem:DF (post_inc:DF (reg:DI 1 %r1)) [0 S8 A64])
(reg:DF 49 %fr21)) ../../../gcc/libgcc/unwind.inc:83 119 {*pa.md:4025}
(expr_list:REG_DEAD (reg:DF 49 %fr21)
(expr_list:REG_FRAME_RELATED_EXPR (set (mem:DF (plus:DI (reg/f:DI 30
%r30)
(const_int -200 [0xffffffffffffff38])) [0 S8 A64])
(reg:DF 49 %fr21))
(nil))))
$1 = void
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/58382] [4.9 Regression] unwind.inc:136:1: ICE: in trunc_int_for_mode, at explow.c:55
2013-09-10 12:04 [Bug middle-end/58382] New: [4.9 Regression] unwind.inc:136:1: ICE: in trunc_int_for_mode, at explow.c:55 danglin at gcc dot gnu.org
2013-09-10 13:37 ` [Bug middle-end/58382] " rguenth at gcc dot gnu.org
2013-09-10 15:06 ` danglin at gcc dot gnu.org
@ 2013-09-10 20:14 ` rsandifo at gcc dot gnu.org
2013-09-10 21:24 ` dave.anglin at bell dot net
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2013-09-10 20:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58382
--- Comment #2 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
I think this is a target bug. The backend prologue code has things like:
addr = gen_rtx_MEM (DFmode, gen_rtx_POST_INC (DFmode, tmpreg));
but {PRE,POST}_{INC,DEC} is an address rtx, so it should have the same mode
as the modified register.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug middle-end/58382] [4.9 Regression] unwind.inc:136:1: ICE: in trunc_int_for_mode, at explow.c:55
2013-09-10 12:04 [Bug middle-end/58382] New: [4.9 Regression] unwind.inc:136:1: ICE: in trunc_int_for_mode, at explow.c:55 danglin at gcc dot gnu.org
` (2 preceding siblings ...)
2013-09-10 20:14 ` rsandifo at gcc dot gnu.org
@ 2013-09-10 21:24 ` dave.anglin at bell dot net
2013-09-14 16:58 ` [Bug target/58382] " danglin at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dave.anglin at bell dot net @ 2013-09-10 21:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58382
--- Comment #3 from dave.anglin at bell dot net ---
Agreed. Testing fix.
Thanks,
Dave
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/58382] [4.9 Regression] unwind.inc:136:1: ICE: in trunc_int_for_mode, at explow.c:55
2013-09-10 12:04 [Bug middle-end/58382] New: [4.9 Regression] unwind.inc:136:1: ICE: in trunc_int_for_mode, at explow.c:55 danglin at gcc dot gnu.org
` (3 preceding siblings ...)
2013-09-10 21:24 ` dave.anglin at bell dot net
@ 2013-09-14 16:58 ` danglin at gcc dot gnu.org
2013-09-14 17:00 ` danglin at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: danglin at gcc dot gnu.org @ 2013-09-14 16:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58382
--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> ---
Author: danglin
Date: Sat Sep 14 16:58:01 2013
New Revision: 202594
URL: http://gcc.gnu.org/viewcvs?rev=202594&root=gcc&view=rev
Log:
PR target/58382
* config/pa/pa.c (pa_expand_prologue): Change mode in gen_rtx_POST_INC
calls to word_mode.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/pa/pa.c
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/58382] [4.9 Regression] unwind.inc:136:1: ICE: in trunc_int_for_mode, at explow.c:55
2013-09-10 12:04 [Bug middle-end/58382] New: [4.9 Regression] unwind.inc:136:1: ICE: in trunc_int_for_mode, at explow.c:55 danglin at gcc dot gnu.org
` (4 preceding siblings ...)
2013-09-14 16:58 ` [Bug target/58382] " danglin at gcc dot gnu.org
@ 2013-09-14 17:00 ` danglin at gcc dot gnu.org
2013-09-14 17:03 ` danglin at gcc dot gnu.org
2013-09-14 17:04 ` danglin at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: danglin at gcc dot gnu.org @ 2013-09-14 17:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58382
--- Comment #5 from John David Anglin <danglin at gcc dot gnu.org> ---
Author: danglin
Date: Sat Sep 14 17:00:32 2013
New Revision: 202595
URL: http://gcc.gnu.org/viewcvs?rev=202595&root=gcc&view=rev
Log:
PR target/58382
* config/pa/pa.c (pa_expand_prologue): Change mode in gen_rtx_POST_INC
calls to word_mode.
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/config/pa/pa.c
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/58382] [4.9 Regression] unwind.inc:136:1: ICE: in trunc_int_for_mode, at explow.c:55
2013-09-10 12:04 [Bug middle-end/58382] New: [4.9 Regression] unwind.inc:136:1: ICE: in trunc_int_for_mode, at explow.c:55 danglin at gcc dot gnu.org
` (5 preceding siblings ...)
2013-09-14 17:00 ` danglin at gcc dot gnu.org
@ 2013-09-14 17:03 ` danglin at gcc dot gnu.org
2013-09-14 17:04 ` danglin at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: danglin at gcc dot gnu.org @ 2013-09-14 17:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58382
--- Comment #6 from John David Anglin <danglin at gcc dot gnu.org> ---
Author: danglin
Date: Sat Sep 14 17:03:32 2013
New Revision: 202596
URL: http://gcc.gnu.org/viewcvs?rev=202596&root=gcc&view=rev
Log:
PR target/58382
* config/pa/pa.c (pa_expand_prologue): Change mode in gen_rtx_POST_INC
calls to word_mode.
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/config/pa/pa.c
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/58382] [4.9 Regression] unwind.inc:136:1: ICE: in trunc_int_for_mode, at explow.c:55
2013-09-10 12:04 [Bug middle-end/58382] New: [4.9 Regression] unwind.inc:136:1: ICE: in trunc_int_for_mode, at explow.c:55 danglin at gcc dot gnu.org
` (6 preceding siblings ...)
2013-09-14 17:03 ` danglin at gcc dot gnu.org
@ 2013-09-14 17:04 ` danglin at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: danglin at gcc dot gnu.org @ 2013-09-14 17:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58382
John David Anglin <danglin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from John David Anglin <danglin at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 9+ messages in thread