[Bug middle-end/64340] [5 Regression] FAIL: gnat.dg/lto8.adb (internal compiler error)
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 6 17:03:00 GMT 2015
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.
More information about the Gcc-bugs
mailing list