[PATCH][10/10] -fuse-caller-save - Add test-case

Tom de Vries tom@codesourcery.com
Fri Mar 29 13:06:00 GMT 2013


Richard,



This patch series adds analysis of register usage of functions for usage by IRA.

The original post is here

( http://gcc.gnu.org/ml/gcc-patches/2013-01/msg01234.html ).



This patch adds a test-case for -fuse-caller-save.  Since the test-case has

different output for mips16 and micromips, new effective targets are introduced.



Build and reg-tested on mips.



OK for trunk?



Thanks,

  -Tom



2013-03-29  Radovan Obradovic  <robradovic@mips.com>

            Tom de Vries  <tom@codesourcery.com>



	* lib/target-supports.exp (check_effective_target_mips16)

	(check_effective_target_micromips): New proc.

	* gcc.target/mips/mips.exp: Add use-caller-save to -ffoo/-fno-foo

	options.  Add -save-temps to mips_option_groups.

	* gcc.target/mips/aru-1.c: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-Add-test-case.patch
Type: text/x-patch
Size: 2965 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130329/c6486c75/attachment.bin>


More information about the Gcc-patches mailing list