This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [4.0 PATCH] Enable Tree-SRA at -O3 only for Ada


Geert Bosch wrote:

On Apr 5, 2005, at 17:26, Eric Botcazou wrote:


Given that I initially argued for that, I don't really disagree. But GCC has
tons of optimization switches so the user would have to specifically know
-ftree-sra to enable it. I therefore thought -O3 would be a good compromise.


Yes, but as we know this optimization is broken now for Ada, simple
use of -O3 shouldn't enable this. I just spoke with Richard Kenner
and he agrees we should turn off tree-SRA for 4.0. If the remaining
front end bugs get fixed in the 4.0.1 timeframe, we can always consider
turning it back on.

The final decision is up to the Ada folks, but I'd suggest this optimization just be disabled for Ada, if it doesn't work. I wouldn't turn it on at any optimization level.


--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]