* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
@ 2006-04-14 10:04 ` tbm at cyrius dot com
2006-04-14 10:31 ` tbm at cyrius dot com
` (20 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tbm at cyrius dot com @ 2006-04-14 10:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tbm at cyrius dot com 2006-04-14 10:04 -------
Created an attachment (id=11266)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11266&action=view)
test case for 4.1
shows the ICE in gcc 4.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
2006-04-14 10:04 ` [Bug target/27158] " tbm at cyrius dot com
@ 2006-04-14 10:31 ` tbm at cyrius dot com
2006-04-14 10:33 ` tbm at cyrius dot com
` (19 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tbm at cyrius dot com @ 2006-04-14 10:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from tbm at cyrius dot com 2006-04-14 10:31 -------
Created an attachment (id=11267)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11267&action=view)
test case for 4.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
2006-04-14 10:04 ` [Bug target/27158] " tbm at cyrius dot com
2006-04-14 10:31 ` tbm at cyrius dot com
@ 2006-04-14 10:33 ` tbm at cyrius dot com
2006-04-14 10:33 ` tbm at cyrius dot com
` (18 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tbm at cyrius dot com @ 2006-04-14 10:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from tbm at cyrius dot com 2006-04-14 10:33 -------
Created an attachment (id=11269)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11269&action=view)
preprocessed source
Unfortunately, I don't get delta to generate a test case that shows the bug
both in 4.1 and 4.2. The preprocessed file shows the ICE on 4.1 and 4.2
though.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (2 preceding siblings ...)
2006-04-14 10:33 ` tbm at cyrius dot com
@ 2006-04-14 10:33 ` tbm at cyrius dot com
2006-04-14 16:57 ` pinskia at gcc dot gnu dot org
` (17 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tbm at cyrius dot com @ 2006-04-14 10:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from tbm at cyrius dot com 2006-04-14 10:33 -------
Created an attachment (id=11268)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11268&action=view)
preprocessed source
Unfortunately, I don't get delta to generate a test case that shows the bug
both in 4.1 and 4.2. The preprocessed file shows the ICE on 4.1 and 4.2
though.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (3 preceding siblings ...)
2006-04-14 10:33 ` tbm at cyrius dot com
@ 2006-04-14 16:57 ` pinskia at gcc dot gnu dot org
2006-04-14 17:34 ` pinskia at gcc dot gnu dot org
` (16 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-14 16:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-04-14 16:57 -------
Usually what is happening is that reload is doing the constant loading for some
reason.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (4 preceding siblings ...)
2006-04-14 16:57 ` pinskia at gcc dot gnu dot org
@ 2006-04-14 17:34 ` pinskia at gcc dot gnu dot org
2006-04-16 19:58 ` mmitchel at gcc dot gnu dot org
` (15 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-14 17:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-04-14 17:34 -------
Thanks for the testcases.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Target Milestone|--- |4.1.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (5 preceding siblings ...)
2006-04-14 17:34 ` pinskia at gcc dot gnu dot org
@ 2006-04-16 19:58 ` mmitchel at gcc dot gnu dot org
2006-04-17 0:44 ` pinskia at gcc dot gnu dot org
` (14 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-04-16 19:58 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (6 preceding siblings ...)
2006-04-16 19:58 ` mmitchel at gcc dot gnu dot org
@ 2006-04-17 0:44 ` pinskia at gcc dot gnu dot org
2006-04-18 13:47 ` bonzini at gnu dot org
` (13 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-17 0:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from pinskia at gcc dot gnu dot org 2006-04-17 00:43 -------
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-04-17 00:43:58
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (7 preceding siblings ...)
2006-04-17 0:44 ` pinskia at gcc dot gnu dot org
@ 2006-04-18 13:47 ` bonzini at gnu dot org
2006-04-18 14:29 ` bonzini at gnu dot org
` (12 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: bonzini at gnu dot org @ 2006-04-18 13:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from bonzini at gnu dot org 2006-04-18 13:47 -------
Seems similar to PR24230, but cannot be fixed really in the same way.
--
bonzini at gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bonzini at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (8 preceding siblings ...)
2006-04-18 13:47 ` bonzini at gnu dot org
@ 2006-04-18 14:29 ` bonzini at gnu dot org
2006-04-18 14:39 ` bonzini at gnu dot org
` (11 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: bonzini at gnu dot org @ 2006-04-18 14:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from bonzini at gnu dot org 2006-04-18 14:29 -------
The mem is for a
(const_vector:V4SF [
(const_double:SF -NaN [-NaN])
(const_double:SF -NaN [-NaN])
(const_double:SF -NaN [-NaN])
(const_double:SF -NaN [-NaN])
])
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (9 preceding siblings ...)
2006-04-18 14:29 ` bonzini at gnu dot org
@ 2006-04-18 14:39 ` bonzini at gnu dot org
2006-04-18 15:20 ` bonzini at gnu dot org
` (10 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: bonzini at gnu dot org @ 2006-04-18 14:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from bonzini at gnu dot org 2006-04-18 14:39 -------
It's probably two different bugs, since the 4.1 bug is in loop.c. We need to
add a can_assign_to_reg_p call before creating a movable.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (10 preceding siblings ...)
2006-04-18 14:39 ` bonzini at gnu dot org
@ 2006-04-18 15:20 ` bonzini at gnu dot org
2006-04-18 15:26 ` tbm at cyrius dot com
` (9 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: bonzini at gnu dot org @ 2006-04-18 15:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from bonzini at gnu dot org 2006-04-18 15:20 -------
... but then anyway the bug pops up in reload. So it is definitely the same
bug as PR24230, and here is a modified version of the PR24230 testcase:
/* Compile with -O2 -maltivec */
#define REGLIST \
"77", "78", "79", "80", "81", "82", "83", "84", "85", "86",\
"87", "88", "89", "90", "91", "92", "93", "94", "95", "96",\
"97", "98", "99", "100", "101", "102", "103", "104", "105", "106",\
"107", "108"
typedef __attribute__ ((vector_size (16))) float v4sf;
void
foo (int H)
{
volatile v4sf tmp;
while (H-- > 0)
{
asm ("" : : : REGLIST);
tmp = (v4sf) __builtin_altivec_vspltisw (1);
}
}
fails on 4.1, didn't test on 4.2.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (11 preceding siblings ...)
2006-04-18 15:20 ` bonzini at gnu dot org
@ 2006-04-18 15:26 ` tbm at cyrius dot com
2006-05-01 5:46 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: tbm at cyrius dot com @ 2006-04-18 15:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from tbm at cyrius dot com 2006-04-18 15:26 -------
also fails on 4.2.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (12 preceding siblings ...)
2006-04-18 15:26 ` tbm at cyrius dot com
@ 2006-05-01 5:46 ` pinskia at gcc dot gnu dot org
2006-05-01 5:50 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-01 5:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from pinskia at gcc dot gnu dot org 2006-05-01 05:45 -------
The problem here is that we don't recongize the constant is resepentable with
vspltisw.
Hmm.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (13 preceding siblings ...)
2006-05-01 5:46 ` pinskia at gcc dot gnu dot org
@ 2006-05-01 5:50 ` pinskia at gcc dot gnu dot org
2006-05-08 21:10 ` sayle at gcc dot gnu dot org
` (6 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-01 5:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from pinskia at gcc dot gnu dot org 2006-05-01 05:50 -------
Hmm, maybe really this is just the RA playing tricks in that it should be able
to move
(insn 22 16 48 3 (set (reg:V4SI 126)
(vec_duplicate:V4SI (const_int 1 [0x1]))) 755 {altivec_vspltisw} (nil)
(expr_list:REG_EQUIV (const_vector:V4SI [
(const_int 1 [0x1])
(const_int 1 [0x1])
(const_int 1 [0x1])
(const_int 1 [0x1])
])
(nil)))
Back into the loop after the asm.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ra
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (14 preceding siblings ...)
2006-05-01 5:50 ` pinskia at gcc dot gnu dot org
@ 2006-05-08 21:10 ` sayle at gcc dot gnu dot org
2006-05-11 14:17 ` sayle at gcc dot gnu dot org
` (5 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: sayle at gcc dot gnu dot org @ 2006-05-08 21:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from sayle at gcc dot gnu dot org 2006-05-08 21:10 -------
Subject: Bug 27158
Author: sayle
Date: Mon May 8 21:09:49 2006
New Revision: 113632
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113632
Log:
PR target/27158
* reload.c (find_reloads_toplev): Only return the simplified SUBREG
of a reg_equiv_constant if the result is a legitimate constant.
* gcc.target/powerpc/pr27158.c: New test case.
Added:
trunk/gcc/testsuite/gcc.target/powerpc/pr27158.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/reload.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (15 preceding siblings ...)
2006-05-08 21:10 ` sayle at gcc dot gnu dot org
@ 2006-05-11 14:17 ` sayle at gcc dot gnu dot org
2006-05-11 16:19 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: sayle at gcc dot gnu dot org @ 2006-05-11 14:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from sayle at gcc dot gnu dot org 2006-05-11 14:17 -------
Subject: Bug 27158
Author: sayle
Date: Thu May 11 14:17:19 2006
New Revision: 113695
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113695
Log:
PR target/27158
* reload.c (find_reloads_toplev): Only return the simplified SUBREG
of a reg_equiv_constant if the result is a legitimate constant.
* gcc.target/powerpc/pr27158.c: New test case.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gcc.target/powerpc/pr27158.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/reload.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (16 preceding siblings ...)
2006-05-11 14:17 ` sayle at gcc dot gnu dot org
@ 2006-05-11 16:19 ` pinskia at gcc dot gnu dot org
2006-06-12 2:11 ` sayle at gcc dot gnu dot org
` (3 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-11 16:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from pinskia at gcc dot gnu dot org 2006-05-11 16:19 -------
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (17 preceding siblings ...)
2006-05-11 16:19 ` pinskia at gcc dot gnu dot org
@ 2006-06-12 2:11 ` sayle at gcc dot gnu dot org
2006-06-12 6:45 ` sayle at gcc dot gnu dot org
` (2 subsequent siblings)
21 siblings, 0 replies; 23+ messages in thread
From: sayle at gcc dot gnu dot org @ 2006-06-12 2:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #18 from sayle at gcc dot gnu dot org 2006-06-12 02:03 -------
Subject: Bug 27158
Author: sayle
Date: Mon Jun 12 02:02:14 2006
New Revision: 114558
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114558
Log:
PR target/27158
* config/rs6000/rs6000.c (const_vector_elt_as_int): New function to
extract a CONST_VECTOR element and interpret it as an integer.
(vspltis_constant): Use const_vector_elt_as_int instead of the
macro CONST_VECTOR_ELT in order to handle FP vector modes.
* config/rs6000/predicates.md (easy_vector_const): Consider
floating point ALTIVEC_VECTOR_MODEs via easy_altivec_constant.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/predicates.md
trunk/gcc/config/rs6000/rs6000.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (18 preceding siblings ...)
2006-06-12 2:11 ` sayle at gcc dot gnu dot org
@ 2006-06-12 6:45 ` sayle at gcc dot gnu dot org
2006-06-14 14:46 ` sayle at gcc dot gnu dot org
2006-06-14 14:46 ` sayle at gcc dot gnu dot org
21 siblings, 0 replies; 23+ messages in thread
From: sayle at gcc dot gnu dot org @ 2006-06-12 6:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #19 from sayle at gcc dot gnu dot org 2006-06-12 02:10 -------
Subject: Bug 27158
Author: sayle
Date: Mon Jun 12 02:10:24 2006
New Revision: 114559
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114559
Log:
PR target/27858
Revert incorrect fix for PR target/27158
2006-05-08 Roger Sayle <roger@eyesopen.com>
* reload.c (find_reloads_toplev): Only return the simplified SUBREG
of a reg_equiv_constant if the result is a legitimate constant.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/reload.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (19 preceding siblings ...)
2006-06-12 6:45 ` sayle at gcc dot gnu dot org
@ 2006-06-14 14:46 ` sayle at gcc dot gnu dot org
2006-06-14 14:46 ` sayle at gcc dot gnu dot org
21 siblings, 0 replies; 23+ messages in thread
From: sayle at gcc dot gnu dot org @ 2006-06-14 14:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #20 from sayle at gcc dot gnu dot org 2006-06-14 14:43 -------
Subject: Bug 27158
Author: sayle
Date: Wed Jun 14 14:43:49 2006
New Revision: 114641
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114641
Log:
PR target/27158
* config/rs6000/rs6000.c (const_vector_elt_as_int): New function to
extract a CONST_VECTOR element and interpret it as an integer.
(vspltis_constant): Use const_vector_elt_as_int instead of the
macro CONST_VECTOR_ELT in order to handle FP vector modes.
* config/rs6000/predicates.md (easy_vector_const): Consider
floating point ALTIVEC_VECTOR_MODEs via easy_altivec_constant.
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/config/rs6000/predicates.md
branches/gcc-4_1-branch/gcc/config/rs6000/rs6000.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread
* [Bug target/27158] [4.1/4.2 regression] ICE in extract_insn with -maltivec
2006-04-14 10:01 [Bug target/27158] New: [4.1/4.2 regression] ICE in extract_insn with -maltivec tbm at cyrius dot com
` (20 preceding siblings ...)
2006-06-14 14:46 ` sayle at gcc dot gnu dot org
@ 2006-06-14 14:46 ` sayle at gcc dot gnu dot org
21 siblings, 0 replies; 23+ messages in thread
From: sayle at gcc dot gnu dot org @ 2006-06-14 14:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #21 from sayle at gcc dot gnu dot org 2006-06-14 14:46 -------
Subject: Bug 27158
Author: sayle
Date: Wed Jun 14 14:46:33 2006
New Revision: 114642
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114642
Log:
PR target/27858
Revert incorrect fix for PR target/27158
2006-05-11 Roger Sayle <roger@eyesopen.com>
* reload.c (find_reloads_toplev): Only return the simplified SUBREG
of a reg_equiv_constant if the result is a legitimate constant.
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/reload.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158
^ permalink raw reply [flat|nested] 23+ messages in thread