public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/20097] New: [4.0 regression] ICE in reload_cse_simplify_operands
@ 2005-02-20 6:50 schwab at suse dot de
2005-02-20 7:37 ` [Bug rtl-optimization/20097] " schwab at suse dot de
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: schwab at suse dot de @ 2005-02-20 6:50 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2011 bytes --]
$ gcc/xgcc -v -B gcc -O2 -S md.i
Reading specs from gcc/specs
Target: ia64-suse-linux
Configured with: ../configure --host=ia64-suse-linux --enable-shared --enable-threads --enable-__cxa_atexit --with-system-zlib --with-system-libunwind
Thread model: posix
gcc version 4.0.0 20050219 (experimental)
gcc/cc1 -fpreprocessed md.i -quiet -dumpbase md.i -auxbase md -O2 -version -o md.s
GNU C version 4.0.0 20050219 (experimental) (ia64-suse-linux)
compiled by GNU C version 4.0.0 20050219 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
md.i: In function âdo_mdâ:
md.i:3741: error: insn does not satisfy its constraints:
(insn 5989 5988 5990 236 (set (reg:SI 262 p6)
(reg:SI 17 r17)) 4 {*movsi_internal} (nil)
(nil))
md.i:3741: internal compiler error: in reload_cse_simplify_operands, at postreload.c:391
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Broken by this change:
2005-02-06 Roger Sayle <roger@eyesopen.com>
Andrew Pinski <pinskia@physics.uc.edu>
Paolo Bonzini <paolo.bonzini@lu.unisi.ch>
* simplify-rtx.c (simplify_relational_operation_1): Simplify
(ne:SI (zero_extract:SI FOO (const_int 1) BAR) (const_int 0))
into just (zero_extract:SI FOO (const_int 1) BAR).
--
Summary: [4.0 regression] ICE in reload_cse_simplify_operands
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schwab at suse dot de
CC: gcc-bugs at gcc dot gnu dot org,paolo dot bonzini at lu
dot unisi dot ch,pinskia at physics dot uc dot edu,roger
at eyesopen dot com
GCC target triplet: ia64-suse-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20097
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands
2005-02-20 6:50 [Bug rtl-optimization/20097] New: [4.0 regression] ICE in reload_cse_simplify_operands schwab at suse dot de
@ 2005-02-20 7:37 ` schwab at suse dot de
2005-02-20 7:42 ` schwab at suse dot de
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: schwab at suse dot de @ 2005-02-20 7:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From schwab at suse dot de 2005-02-19 22:37 -------
Created an attachment (id=8236)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8236&action=view)
Testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20097
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands
2005-02-20 6:50 [Bug rtl-optimization/20097] New: [4.0 regression] ICE in reload_cse_simplify_operands schwab at suse dot de
2005-02-20 7:37 ` [Bug rtl-optimization/20097] " schwab at suse dot de
@ 2005-02-20 7:42 ` schwab at suse dot de
2005-02-20 10:48 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: schwab at suse dot de @ 2005-02-20 7:42 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20097
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands
2005-02-20 6:50 [Bug rtl-optimization/20097] New: [4.0 regression] ICE in reload_cse_simplify_operands schwab at suse dot de
2005-02-20 7:37 ` [Bug rtl-optimization/20097] " schwab at suse dot de
2005-02-20 7:42 ` schwab at suse dot de
@ 2005-02-20 10:48 ` pinskia at gcc dot gnu dot org
2005-02-20 11:09 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-20 10:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-19 23:16 -------
This seems more likely a target bug or a latent bug.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20097
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands
2005-02-20 6:50 [Bug rtl-optimization/20097] New: [4.0 regression] ICE in reload_cse_simplify_operands schwab at suse dot de
` (2 preceding siblings ...)
2005-02-20 10:48 ` pinskia at gcc dot gnu dot org
@ 2005-02-20 11:09 ` pinskia at gcc dot gnu dot org
2005-02-20 11:13 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-20 11:09 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC|pinskia at physics dot uc |
|dot edu |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20097
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands
2005-02-20 6:50 [Bug rtl-optimization/20097] New: [4.0 regression] ICE in reload_cse_simplify_operands schwab at suse dot de
` (3 preceding siblings ...)
2005-02-20 11:09 ` pinskia at gcc dot gnu dot org
@ 2005-02-20 11:13 ` pinskia at gcc dot gnu dot org
2005-02-23 21:27 ` cvs-commit at gcc dot gnu dot org
2005-02-23 23:08 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-20 11:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-20 00:09 -------
This looks like a reload (or a target reload) issue:
We have the following RTL:
(insn 4097 4096 4098 236 (set (reg:BI 2598)
(and:BI (ne:BI (reg/v:SI 477 [ bNotLastFrame ])
(const_int 0 [0x0]))
(subreg:BI (reg:SI 2934) 0))) 66 {*cmpsi_and_0} (nil)
(nil))
Note the subreg here. We exand it to:
(insn 5994 4096 5995 236 (set (reg:SI 2 r2) (reg:SI 131 f3 [2934])) 4 {*movsi_internal} (nil) (nil))
(insn 5995 5994 5996 236 (set (reg:SI 262 p6) (reg:SI 2 r2)) 4 {*movsi_internal} (nil) (nil))
(insn 5996 5995 4097 236 (set (reg:SI 2 r2)
(reg/v:SI 148 f20 [orig:477 bNotLastFrame ] [477])) 4 {*movsi_internal} (nil) (nil))(insn
4097 5996 4098 236 (set (reg:BI 262 p6 [2598]) (and:BI (ne:BI (reg:SI 2 r2) (const_int 0
[0x0])) (reg:BI 262 p6))) 66 {*cmpsi_and_0} (nil) (nil))
So either we have a reload issue or we have a target issue.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-02-20 00:09:20
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20097
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands
2005-02-20 6:50 [Bug rtl-optimization/20097] New: [4.0 regression] ICE in reload_cse_simplify_operands schwab at suse dot de
` (4 preceding siblings ...)
2005-02-20 11:13 ` pinskia at gcc dot gnu dot org
@ 2005-02-23 21:27 ` cvs-commit at gcc dot gnu dot org
2005-02-23 23:08 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-23 21:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-23 18:21 -------
Subject: Bug 20097
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: sayle@gcc.gnu.org 2005-02-23 18:20:53
Modified files:
gcc : ChangeLog simplify-rtx.c
Log message:
PR target/20018
PR rtl-optimization/20097
* simplify-rtx.c (simplify_relational_operation_1): Avoid creating
BImode SUBREGs of SImode registers which confuse the ia64 backend.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7571&r2=2.7572
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/simplify-rtx.c.diff?cvsroot=gcc&r1=1.229&r2=1.230
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20097
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/20097] [4.0 regression] ICE in reload_cse_simplify_operands
2005-02-20 6:50 [Bug rtl-optimization/20097] New: [4.0 regression] ICE in reload_cse_simplify_operands schwab at suse dot de
` (5 preceding siblings ...)
2005-02-23 21:27 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-23 23:08 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-23 23:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-23 18:39 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20097
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-02-23 18:39 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-20 6:50 [Bug rtl-optimization/20097] New: [4.0 regression] ICE in reload_cse_simplify_operands schwab at suse dot de
2005-02-20 7:37 ` [Bug rtl-optimization/20097] " schwab at suse dot de
2005-02-20 7:42 ` schwab at suse dot de
2005-02-20 10:48 ` pinskia at gcc dot gnu dot org
2005-02-20 11:09 ` pinskia at gcc dot gnu dot org
2005-02-20 11:13 ` pinskia at gcc dot gnu dot org
2005-02-23 21:27 ` cvs-commit at gcc dot gnu dot org
2005-02-23 23:08 ` pinskia at gcc dot gnu dot 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).