https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64340

--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Seems those option changes depend on parsing, so process_options is too
> early, so IMHO we need to recreate the optimization_{default,current}_node
> trees with the updated options (updating the options in there directly
> doesn't work, as the options are hashed).

Yes, we cannot changes these options earlier.

> Eric/Honza, does this look reasonable to you?

Maybe "Save the current optimization options again after the above changes".

> flag_ipa_ra change seems to be misplaced too, will fix that in a separate
> patch.

Yep, this looks problematic too.  Thanks for looking into this.

Reply via email to