From 9ced9549482c0c22540f384a263191559e2157ff Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Tue, 3 May 2016 22:48:03 +0000 Subject: [PATCH] re PR rtl-optimization/57193 (suboptimal register allocation for SSE registers) PR rtl-optimization/57193 * opts.c (default_options_table): Revert OPT_frename_registers change. * doc/invoke.texi (-frename-registers, -O2): Likewise. From-SVN: r235848 --- gcc/ChangeLog | 6 ++++++ gcc/doc/invoke.texi | 4 +--- gcc/opts.c | 1 - 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 36b57ac9620..d9ae26a8093 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-05-04 Bernd Schmidt + + PR rtl-optimization/57193 + * opts.c (default_options_table): Revert OPT_frename_registers change. + * doc/invoke.texi (-frename-registers, -O2): Likewise. + 2016-05-03 Martin Sebor PR c++/66561 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index f5413faf116..46729db7ac5 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -6265,7 +6265,6 @@ also turns on the following optimization flags: -foptimize-strlen @gol -fpartial-inlining @gol -fpeephole2 @gol --frename-registers @gol -freorder-blocks-algorithm=stc @gol -freorder-blocks-and-partition -freorder-functions @gol -frerun-cse-after-loop @gol @@ -8573,8 +8572,7 @@ debug information format adopted by the target, however, it can make debugging impossible, since variables no longer stay in a ``home register''. -Enabled by default with @option{-funroll-loops} and @option{-fpeel-loops}, -and also enabled at levels @option{-O2}, @option{-O3} and @option{-Os}. +Enabled by default with @option{-funroll-loops} and @option{-fpeel-loops}. @item -fschedule-fusion @opindex fschedule-fusion diff --git a/gcc/opts.c b/gcc/opts.c index 649b84b3f6f..0f9431a0b32 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -498,7 +498,6 @@ static const struct default_options default_options_table[] = { OPT_LEVELS_2_PLUS, OPT_fstrict_overflow, NULL, 1 }, { OPT_LEVELS_2_PLUS_SPEED_ONLY, OPT_freorder_blocks_algorithm_, NULL, REORDER_BLOCKS_ALGORITHM_STC }, - { OPT_LEVELS_2_PLUS, OPT_frename_registers, NULL, 1 }, { OPT_LEVELS_2_PLUS, OPT_freorder_functions, NULL, 1 }, { OPT_LEVELS_2_PLUS, OPT_ftree_vrp, NULL, 1 }, { OPT_LEVELS_2_PLUS, OPT_ftree_pre, NULL, 1 }, -- 2.30.2