[committed] Fix ICE caused by adjusting potentially invalid addresses in pa_output_move_double

John David Anglin dave.anglin@bell.net
Tue Feb 25 01:09:00 GMT 2014


Compilation of the boinc package currently fails with an ICE caused by  
adjusting an address
with a misaligned offset in adjust_address.  This occurs when the  
adjustment occurs for an INT5
offset that is always valid and an INT14 offset whose validity is mode  
dependent.  The offsetable
address check doesn't work well here because QImode offsets within the  
INT14 range are always
valid.

The fix is to simply not check the validity of the adjustment.  The  
result is better checked by the
assembler and runtime execution.

Tested on hppa-unknown-linux-gnu and hppa2.0w-hp-hpux11.11.  Committed  
to active branches.

Dave
--
John David Anglin	dave.anglin@bell.net


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pa.c.d.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140225/1b2aa770/attachment.txt>


More information about the Gcc-patches mailing list