This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/51381] Internal compiler error for arm target
- From: "mikpe at it dot uu.se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 03 Dec 2011 20:45:02 +0000
- Subject: [Bug target/51381] Internal compiler error for arm target
- Auto-submitted: auto-generated
- References: <bug-51381-4@http.gcc.gnu.org/bugzilla/>
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).