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



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.

A patch to disable tree-SRA by default for all optimization levels
is pre-approved for the 4.0 branch.

Also, there should be a documentation patch for this change.
Sure, I'll add a blurb to the "Optimize Options" of the docs.

Thanks, also for bringing up this issue. :-)


-Geert


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