]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
-fuse-caller-save - Enable by default at O2 and higher
authorRadovan Obradovic <robradovic@mips.com>
Wed, 28 May 2014 09:43:32 +0000 (09:43 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 28 May 2014 09:43:32 +0000 (09:43 +0000)
2014-05-28  Radovan Obradovic  <robradovic@mips.com>
            Tom de Vries  <tom@codesourcery.com>

* opts.c (default_options_table): Add OPT_LEVELS_2_PLUS entry with
OPT_fuse_caller_save.

Co-Authored-By: Tom de Vries <tom@codesourcery.com>
From-SVN: r211008

gcc/ChangeLog
gcc/opts.c

index 7e0f5328e47b3b2986aa87eb623eb73b58330335..e6ddd99e54914a96494b44ba9f9327374a3af5e4 100644 (file)
@@ -1,3 +1,9 @@
+2014-05-28  Radovan Obradovic  <robradovic@mips.com>
+            Tom de Vries  <tom@codesourcery.com>
+
+       * opts.c (default_options_table): Add OPT_LEVELS_2_PLUS entry with
+       OPT_fuse_caller_save.
+
 2014-05-28  Radovan Obradovic  <robradovic@mips.com>
             Tom de Vries  <tom@codesourcery.com>
 
index 2f4f913ca9fef53ac8a56617c5f71edef3a6cb26..2b1280a76ff5d0eec459a7410c8d423b857bb2c9 100644 (file)
@@ -497,6 +497,7 @@ static const struct default_options default_options_table[] =
     { OPT_LEVELS_2_PLUS_SPEED_ONLY, OPT_foptimize_strlen, NULL, 1 },
     { OPT_LEVELS_2_PLUS, OPT_fhoist_adjacent_loads, NULL, 1 },
     { OPT_LEVELS_2_PLUS, OPT_fisolate_erroneous_paths_dereference, NULL, 1 },
+    { OPT_LEVELS_2_PLUS, OPT_fuse_caller_save, NULL, 1 },
 
     /* -O3 optimizations.  */
     { OPT_LEVELS_3_PLUS, OPT_ftree_loop_distribute_patterns, NULL, 1 },