diff options
author | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-05-30 11:39:49 +0000 |
---|---|---|
committer | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-05-30 11:39:49 +0000 |
commit | c86468ff64f4e19f35629d5e1fc5c7ca446f545f (patch) | |
tree | 3459e32db14e3ba9f4c29f960b72170af6cbc471 /gcc/config/i386 | |
parent | b0ce9fe7bc9453522386eff08973b66b669a98eb (diff) | |
download | gcc-c86468ff64f4e19f35629d5e1fc5c7ca446f545f.tar.gz |
-fuse-caller-save - Enable for i386
2014-05-30 Tom de Vries <tom@codesourcery.com>
* config/i386/i386.c (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS):
Redefine as true.
* gcc.target/i386/fuse-caller-save.c: New test.
* gcc.dg/ira-shrinkwrap-prep-1.c: Run with -fno-use-caller-save.
* gcc.dg/ira-shrinkwrap-prep-2.c: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211078 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386')
-rw-r--r-- | gcc/config/i386/i386.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 88272567c56..83d3ba3c089 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -47272,6 +47272,9 @@ ix86_atomic_assign_expand_fenv (tree *hold, tree *clear, tree *update) #undef TARGET_MODE_PRIORITY #define TARGET_MODE_PRIORITY ix86_mode_priority +#undef TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS +#define TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS true + struct gcc_target targetm = TARGET_INITIALIZER; #include "gt-i386.h" |