[SPARC] Minor tweaks

Eric Botcazou ebotcazou@adacore.com
Sat Mar 23 11:32:00 GMT 2013

The correct test for the pointer size in sparc_emit_probe_stack_range is 
TARGET_ARCH64 instead of TARGET_64BIT.  The patch also adds predicates to the 
3rd argument of ctrapsi4 and ctrapdi4.

Tested on SPARC/Solaris, applied on the mainline.

2013-03-23  Eric Botcazou  <ebotcazou@adacore.com>

	* config/sparc/sparc.c (sparc_emit_probe_stack_range): Fix small
	inaccuracy in the probing code.

	* config/sparc/sparc.md (ctrapsi4): Add predicate for operand #3.
	(ctrapdi4): Likewise.

Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 1523 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130323/df3420fc/attachment.bin>

More information about the Gcc-patches mailing list