public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/27861] New: [4.0,4.1,4.2 regression] ICE in expand_expr_real_1, at expr.c:6916
@ 2006-06-01 13:55 tbm at cyrius dot com
2006-06-01 13:59 ` [Bug tree-optimization/27861] " tbm at cyrius dot com
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: tbm at cyrius dot com @ 2006-06-01 13:55 UTC (permalink / raw)
To: gcc-bugs
I get the following ICE with gcc 4.2 20060508 and 20060530 on mipsel.
Actually, I get this with gcc 4.0 and 4.1 too. gcc 3.4 works.
sh-3.1# /usr/lib/gcc-snapshot/bin/gcc -c -O1 mini.c
mini.c: In function 'do_dror':
mini.c:56: internal compiler error: in expand_expr_real_1, at expr.c:6916
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
sh-3.1# /usr/lib/gcc-snapshot/bin/gcc -c mini.c
sh-3.1# gcc-4.0 -c -O1 mini.c
mini.c: In function 'do_dror':
mini.c:15: internal compiler error: in expand_expr_real_1, at expr.c:6608
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
sh-3.1# gcc-4.1 -c -O1 mini.c
mini.c: In function 'do_dror':
mini.c:56: internal compiler error: in expand_expr_real_1, at expr.c:6750
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/cckCjb5E.out file, please attach this to
your bugreport.
sh-3.1#
--
Summary: [4.0,4.1,4.2 regression] ICE in expand_expr_real_1, at
expr.c:6916
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tbm at cyrius dot com
GCC build triplet: mipsel-linux-gnu
GCC host triplet: mipsel-linux-gnu
GCC target triplet: mipsel-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27861
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/27861] [4.0,4.1,4.2 regression] ICE in expand_expr_real_1, at expr.c:6916
2006-06-01 13:55 [Bug tree-optimization/27861] New: [4.0,4.1,4.2 regression] ICE in expand_expr_real_1, at expr.c:6916 tbm at cyrius dot com
@ 2006-06-01 13:59 ` tbm at cyrius dot com
2006-06-01 15:35 ` [Bug tree-optimization/27861] [4.0/4.1/4.2 " pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: tbm at cyrius dot com @ 2006-06-01 13:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from tbm at cyrius dot com 2006-06-01 13:59 -------
Created an attachment (id=11567)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11567&action=view)
test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27861
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug tree-optimization/27861] [4.0/4.1/4.2 regression] ICE in expand_expr_real_1, at expr.c:6916
2006-06-01 13:55 [Bug tree-optimization/27861] New: [4.0,4.1,4.2 regression] ICE in expand_expr_real_1, at expr.c:6916 tbm at cyrius dot com
2006-06-01 13:59 ` [Bug tree-optimization/27861] " tbm at cyrius dot com
@ 2006-06-01 15:35 ` pinskia at gcc dot gnu dot org
2006-06-04 19:43 ` [Bug target/27861] " mmitchel at gcc dot gnu dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-01 15:35 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Known to work| |3.4.6
Summary|[4.0,4.1,4.2 regression] ICE|[4.0/4.1/4.2 regression] ICE
|in expand_expr_real_1, at |in expand_expr_real_1, at
|expr.c:6916 |expr.c:6916
Target Milestone|--- |4.0.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27861
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/27861] [4.0/4.1/4.2 regression] ICE in expand_expr_real_1, at expr.c:6916
2006-06-01 13:55 [Bug tree-optimization/27861] New: [4.0,4.1,4.2 regression] ICE in expand_expr_real_1, at expr.c:6916 tbm at cyrius dot com
2006-06-01 13:59 ` [Bug tree-optimization/27861] " tbm at cyrius dot com
2006-06-01 15:35 ` [Bug tree-optimization/27861] [4.0/4.1/4.2 " pinskia at gcc dot gnu dot org
@ 2006-06-04 19:43 ` mmitchel at gcc dot gnu dot org
2006-06-11 8:54 ` steven at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-06-04 19:43 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=27861
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/27861] [4.0/4.1/4.2 regression] ICE in expand_expr_real_1, at expr.c:6916
2006-06-01 13:55 [Bug tree-optimization/27861] New: [4.0,4.1,4.2 regression] ICE in expand_expr_real_1, at expr.c:6916 tbm at cyrius dot com
` (2 preceding siblings ...)
2006-06-04 19:43 ` [Bug target/27861] " mmitchel at gcc dot gnu dot org
@ 2006-06-11 8:54 ` steven at gcc dot gnu dot org
2006-06-11 12:52 ` tbm at cyrius dot com
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: steven at gcc dot gnu dot org @ 2006-06-11 8:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from steven at gcc dot gnu dot org 2006-06-11 08:38 -------
Are your host and build machine really mipsel-linux-gnu? Or is this a cross to
mipsel?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27861
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/27861] [4.0/4.1/4.2 regression] ICE in expand_expr_real_1, at expr.c:6916
2006-06-01 13:55 [Bug tree-optimization/27861] New: [4.0,4.1,4.2 regression] ICE in expand_expr_real_1, at expr.c:6916 tbm at cyrius dot com
` (3 preceding siblings ...)
2006-06-11 8:54 ` steven at gcc dot gnu dot org
@ 2006-06-11 12:52 ` tbm at cyrius dot com
2006-06-12 12:44 ` tbm at cyrius dot com
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: tbm at cyrius dot com @ 2006-06-11 12:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from tbm at cyrius dot com 2006-06-11 10:53 -------
I'm really on mipsel.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27861
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/27861] [4.0/4.1/4.2 regression] ICE in expand_expr_real_1, at expr.c:6916
2006-06-01 13:55 [Bug tree-optimization/27861] New: [4.0,4.1,4.2 regression] ICE in expand_expr_real_1, at expr.c:6916 tbm at cyrius dot com
` (4 preceding siblings ...)
2006-06-11 12:52 ` tbm at cyrius dot com
@ 2006-06-12 12:44 ` tbm at cyrius dot com
2006-06-19 15:54 ` sayle at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: tbm at cyrius dot com @ 2006-06-12 12:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from tbm at cyrius dot com 2006-06-12 12:15 -------
(In reply to comment #3)
> I'm really on mipsel.
... but you can also see it with a x from i386 to mipsel.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27861
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/27861] [4.0/4.1/4.2 regression] ICE in expand_expr_real_1, at expr.c:6916
2006-06-01 13:55 [Bug tree-optimization/27861] New: [4.0,4.1,4.2 regression] ICE in expand_expr_real_1, at expr.c:6916 tbm at cyrius dot com
` (5 preceding siblings ...)
2006-06-12 12:44 ` tbm at cyrius dot com
@ 2006-06-19 15:54 ` sayle at gcc dot gnu dot org
2006-06-20 1:31 ` [Bug target/27861] [4.0/4.1 " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: sayle at gcc dot gnu dot org @ 2006-06-19 15:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from sayle at gcc dot gnu dot org 2006-06-19 14:57 -------
Subject: Bug 27861
Author: sayle
Date: Mon Jun 19 14:57:17 2006
New Revision: 114773
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114773
Log:
PR target/27861
* expmed.c (expand_shift): On SHIFT_COUNT_TRUNCATED targets, we may
have stripped a SUBREG from the shift count, so we may need to
convert_to_mode back to the type's mode before calling make_tree.
Use new_amount instead of amount to avoid expanding a tree twice.
* gcc.dg/pr27861-1.c: New test case.
Added:
trunk/gcc/testsuite/gcc.dg/pr27861-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/expmed.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27861
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/27861] [4.0/4.1 regression] ICE in expand_expr_real_1, at expr.c:6916
2006-06-01 13:55 [Bug tree-optimization/27861] New: [4.0,4.1,4.2 regression] ICE in expand_expr_real_1, at expr.c:6916 tbm at cyrius dot com
` (6 preceding siblings ...)
2006-06-19 15:54 ` sayle at gcc dot gnu dot org
@ 2006-06-20 1:31 ` pinskia at gcc dot gnu dot org
2006-06-21 4:04 ` sayle at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-20 1:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-06-20 00:39 -------
Fixed at least on the mainline.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to work|3.4.6 |3.4.6 4.2.0
Last reconfirmed|0000-00-00 00:00:00 |2006-06-20 00:39:43
date| |
Summary|[4.0/4.1/4.2 regression] ICE|[4.0/4.1 regression] ICE in
|in expand_expr_real_1, at |expand_expr_real_1, at
|expr.c:6916 |expr.c:6916
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27861
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/27861] [4.0/4.1 regression] ICE in expand_expr_real_1, at expr.c:6916
2006-06-01 13:55 [Bug tree-optimization/27861] New: [4.0,4.1,4.2 regression] ICE in expand_expr_real_1, at expr.c:6916 tbm at cyrius dot com
` (7 preceding siblings ...)
2006-06-20 1:31 ` [Bug target/27861] [4.0/4.1 " pinskia at gcc dot gnu dot org
@ 2006-06-21 4:04 ` sayle at gcc dot gnu dot org
2006-06-21 4:21 ` [Bug target/27861] [4.0 " pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: sayle at gcc dot gnu dot org @ 2006-06-21 4:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from sayle at gcc dot gnu dot org 2006-06-21 03:27 -------
Subject: Bug 27861
Author: sayle
Date: Wed Jun 21 03:27:27 2006
New Revision: 114839
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114839
Log:
PR target/27861
* expmed.c (expand_shift): On SHIFT_COUNT_TRUNCATED targets, we may
have stripped a SUBREG from the shift count, so we may need to
convert_to_mode back to the type's mode before calling make_tree.
Use new_amount instead of amount to avoid expanding a tree twice.
* gcc.dg/pr27861-1.c: New test case.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/pr27861-1.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/expmed.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27861
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/27861] [4.0 regression] ICE in expand_expr_real_1, at expr.c:6916
2006-06-01 13:55 [Bug tree-optimization/27861] New: [4.0,4.1,4.2 regression] ICE in expand_expr_real_1, at expr.c:6916 tbm at cyrius dot com
` (8 preceding siblings ...)
2006-06-21 4:04 ` sayle at gcc dot gnu dot org
@ 2006-06-21 4:21 ` pinskia at gcc dot gnu dot org
2006-06-22 3:28 ` sayle at gcc dot gnu dot org
2006-06-22 6:04 ` roger at eyesopen dot com
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-21 4:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pinskia at gcc dot gnu dot org 2006-06-21 04:18 -------
Fixed also in 4.1.2.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.1.1 4.0.2
Known to work|3.4.6 4.2.0 |3.4.6 4.2.0 4.1.2
Summary|[4.0/4.1 regression] ICE in |[4.0 regression] ICE in
|expand_expr_real_1, at |expand_expr_real_1, at
|expr.c:6916 |expr.c:6916
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27861
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/27861] [4.0 regression] ICE in expand_expr_real_1, at expr.c:6916
2006-06-01 13:55 [Bug tree-optimization/27861] New: [4.0,4.1,4.2 regression] ICE in expand_expr_real_1, at expr.c:6916 tbm at cyrius dot com
` (9 preceding siblings ...)
2006-06-21 4:21 ` [Bug target/27861] [4.0 " pinskia at gcc dot gnu dot org
@ 2006-06-22 3:28 ` sayle at gcc dot gnu dot org
2006-06-22 6:04 ` roger at eyesopen dot com
11 siblings, 0 replies; 13+ messages in thread
From: sayle at gcc dot gnu dot org @ 2006-06-22 3:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from sayle at gcc dot gnu dot org 2006-06-22 01:01 -------
Subject: Bug 27861
Author: sayle
Date: Thu Jun 22 01:01:07 2006
New Revision: 114879
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114879
Log:
PR target/27861
* expmed.c (expand_shift): On SHIFT_COUNT_TRUNCATED targets, we may
have stripped a SUBREG from the shift count, so we may need to
convert_to_mode back to the type's mode before calling make_tree.
Use new_amount instead of amount to avoid expanding a tree twice.
* gcc.dg/pr27861-1.c: New test case.
Added:
branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/pr27861-1.c
Modified:
branches/gcc-4_0-branch/gcc/ChangeLog
branches/gcc-4_0-branch/gcc/expmed.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27861
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/27861] [4.0 regression] ICE in expand_expr_real_1, at expr.c:6916
2006-06-01 13:55 [Bug tree-optimization/27861] New: [4.0,4.1,4.2 regression] ICE in expand_expr_real_1, at expr.c:6916 tbm at cyrius dot com
` (10 preceding siblings ...)
2006-06-22 3:28 ` sayle at gcc dot gnu dot org
@ 2006-06-22 6:04 ` roger at eyesopen dot com
11 siblings, 0 replies; 13+ messages in thread
From: roger at eyesopen dot com @ 2006-06-22 6:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from roger at eyesopen dot com 2006-06-22 04:46 -------
This should now be fixed on all active branches. Thanks to Martin for
confirming the fix bootstraps and regression tests fine on mipsel-linux-gnu.
And thanks, as always, to Andrew Pinski for maintaining the PR in bugzilla.
--
roger at eyesopen dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27861
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2006-06-22 4:46 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-01 13:55 [Bug tree-optimization/27861] New: [4.0,4.1,4.2 regression] ICE in expand_expr_real_1, at expr.c:6916 tbm at cyrius dot com
2006-06-01 13:59 ` [Bug tree-optimization/27861] " tbm at cyrius dot com
2006-06-01 15:35 ` [Bug tree-optimization/27861] [4.0/4.1/4.2 " pinskia at gcc dot gnu dot org
2006-06-04 19:43 ` [Bug target/27861] " mmitchel at gcc dot gnu dot org
2006-06-11 8:54 ` steven at gcc dot gnu dot org
2006-06-11 12:52 ` tbm at cyrius dot com
2006-06-12 12:44 ` tbm at cyrius dot com
2006-06-19 15:54 ` sayle at gcc dot gnu dot org
2006-06-20 1:31 ` [Bug target/27861] [4.0/4.1 " pinskia at gcc dot gnu dot org
2006-06-21 4:04 ` sayle at gcc dot gnu dot org
2006-06-21 4:21 ` [Bug target/27861] [4.0 " pinskia at gcc dot gnu dot org
2006-06-22 3:28 ` sayle at gcc dot gnu dot org
2006-06-22 6:04 ` roger at eyesopen dot com
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).