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


> Shouldn't we disable Tree-SRA by default even for -O3? Users can always
> explicitly disable this pass if required, but as the pass still breaks
> Ada, I think we should turn it off by default.

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.

> Also, there should be a documentation patch for this change.

Sure, I'll add a blurb to the "Optimize Options" of the docs.

-- 
Eric Botcazou


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