This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/48213] New: [4.6/4.7 Regression] ICE in simplify_subreg called from s390_delegitimize_address
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 20 Mar 2011 19:30:02 +0000
- Subject: [Bug target/48213] New: [4.6/4.7 Regression] ICE in simplify_subreg called from s390_delegitimize_address
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48213
Summary: [4.6/4.7 Regression] ICE in simplify_subreg called
from s390_delegitimize_address
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: target
AssignedTo: jakub@gcc.gnu.org
ReportedBy: jakub@gcc.gnu.org
Since my PR48043 patch the following testcase ICEs on s390:
/* { dg-do compile } */
/* { dg-options "-g -O2" } */
/* { dg-options "-g -O2 -fpic" { target fpic } } */
struct S { int (*s) (void); };
int bar (void);
void
foo (struct S *x)
{
if (x->s != bar)
bar ();
}
clc uses BLKmode for the UNSPEC MEM, and lowpart_subreg doesn't allow that.