This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52006] New: [4.7 Regression] ARM ICE on
- 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: Thu, 26 Jan 2012 09:30:21 +0000
- Subject: [Bug target/52006] New: [4.7 Regression] ARM ICE on
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52006
Bug #: 52006
Summary: [4.7 Regression] ARM ICE on
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: target
AssignedTo: jakub@gcc.gnu.org
ReportedBy: jakub@gcc.gnu.org
CC: ramana@gcc.gnu.org
Target: arm*-linux-gnueabi
/* { dg-do compile } */
/* { dg-options "-march=armv7-a -mfloat-abi=hard -O2 -fPIC" } */
unsigned long a;
static int b;
void
foo (void)
{
asm volatile ("" : "=r" (b));
}
void
bar (float f)
{
if (f < b / 100.0)
a = 1;
}
ICEs on arm with:
error: insn does not satisfy its constraints:
(insn 69 64 10 2 (set (reg:SI 77 s14 [orig:143 b ] [143])
(mem:SI (unspec:SI [
(reg/f:SI 2 r2 [141])
(const_int 8 [0x8])
(const_int 1 [0x1])
] UNSPEC_PIC_BASE) [0 S4 A32])) rh784748.i:17 188
{tls_load_dot_plus_eight}
(nil))
rh784748.i:19:1: internal compiler error: in copyprop_hardreg_forward_1, at
regcprop.c:767