This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch ARM] Fix ICE in thumb2_legitimate_index_p with checking enabled.


Hi,

A build with --enable-check=rtl ICEs in thumb2_legitimate_index_p on
building newlib for a cross to cpu=cortex-a8 and fpu=neon.  The value val
was being initialized before the rtx was being checked for CONST_INT. All
this is fine in a normal release build but in the case of a checking build
you'd get an ICE.  

I'm committing this patch as obvious.

2009-06-04  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	* config/arm/arm.c (thumb2_legitimate_index_p): Initialize
	val after checking for integers.

cheers
Ramana

Ramana Radhakrishnan
GNU Tools Engineer
ARM Ltd. (www.arm.com)
Phone : +441223400495 (Direct || Voicemail)


Attachment: ob.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]