[Bug target/51381] Internal compiler error for arm target
mikpe at it dot uu.se
gcc-bugzilla@gcc.gnu.org
Sat Dec 3 20:45:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51381
--- Comment #9 from Mikael Pettersson <mikpe at it dot uu.se> 2011-12-03 20:45:02 UTC ---
Created attachment 25983
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25983
reduced test case in C
The big test case easily reduced to the following snippet:
void round_int(void)
{
__asm__ __volatile__("vmov.F64 d1,%0" : : "Dv"(0.5f) : "d1");
}
Compiled with -march=armv7-a -mtune=cortex-a9 -mfloat-abi=hard -mfpu=vfpv3-d16
it ICEs trunk @ r181973 as follows:
pr51381.c: In function 'round_int':
pr51381.c:6:1: internal compiler error: in fp_immediate_constant, at
config/arm/arm.c:13418
Current gcc 4.6 and 4.5 also ICE in fp_immediate_constant(). gcc-4.4 rejects
the command line options (sorry, unimplemented: -mfloat-abi=hard and VFP).
More information about the Gcc-bugs
mailing list