This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Enabling -frename-registers?
- From: Bernd Schmidt <bschmidt at redhat dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Jeff Law <law at redhat dot com>
- Date: Wed, 27 Apr 2016 11:57:59 +0200
- Subject: Re: Enabling -frename-registers?
- Authentication-results: sourceware.org; auth=none
- References: <56AB9759 dot 407 at t-online dot de> <5713DD2C dot 6080402 at redhat dot com> <571F6299 dot 30308 at redhat dot com> <1492221 dot dT94yhd6Pg at polaris>
On 04/27/2016 09:11 AM, Eric Botcazou wrote:
@@ -8562,7 +8563,8 @@ debug information format adopted by the
make debugging impossible, since variables no longer stay in
a ``home register''.
-Enabled by default with @option{-funroll-loops} and @option{-fpeel-loops}.
+Enabled by default with @option{-funroll-loops} and @option{-fpeel-loops},
+and also enabled at levels @option{-O2} and @option{-O3}.
OPT_LEVELS_2_PLUS includes -Os since it's basically -O2.
So, this?
Bernd
Index: invoke.texi
===================================================================
--- invoke.texi (revision 235475)
+++ invoke.texi (working copy)
@@ -8574,7 +8574,7 @@ make debugging impossible, since variabl
a ``home register''.
Enabled by default with @option{-funroll-loops} and @option{-fpeel-loops},
-and also enabled at levels @option{-O2} and @option{-O3}.
+and also enabled at levels @option{-O2}, @option{-O3} and @option{-Os}.
@item -fschedule-fusion
@opindex fschedule-fusion