[SPARC] Fix ICE on FP code in 64-bit mode

Eric Botcazou ebotcazou@adacore.com
Wed Apr 19 08:08:00 GMT 2017


This is a regression introduced in 64-bit mode on the mainline by the switch 
to LRA, spotted by Jeff and fixed by Vladimir (much thanks to both).

Tested on SPARC/Solaris, applied on the mainline.


2017-04-19  Eric Botcazou  <ebotcazou@adacore.com>
            Vladimir Makarov  <vmakarov@redhat.com>

	* config/sparc/predicates.md (input_operand): Add comment.  Return
	true for any memory operand when LRA is in progress.
	* config/sparc/sparc.c (sparc_expand_move): Minor formatting fix.


2017-04-19  Eric Botcazou  <ebotcazou@adacore.com>
            Jeff Law  <law@redhat.com>

	* gcc.c-torture/compile/20170419-1.c: New test.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sparc_lra-4.diff
Type: text/x-patch
Size: 1604 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170419/41ffec9c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20170419-1.c
Type: text/x-csrc
Size: 268 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170419/41ffec9c/attachment-0001.bin>


More information about the Gcc-patches mailing list