This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/64340] [5 Regression] FAIL: gnat.dg/lto8.adb (internal compiler error)
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 06 Feb 2015 17:03:16 +0000
- Subject: [Bug middle-end/64340] [5 Regression] FAIL: gnat.dg/lto8.adb (internal compiler error)
- Auto-submitted: auto-generated
- References: <bug-64340-4 at http dot gcc dot gnu dot org/bugzilla/>
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.