This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 10 Jan 2011 22:47:36 +0000
- Subject: [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
- Auto-submitted: auto-generated
- References: <bug-46037-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #7 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-01-10 22:47:26 UTC ---
On Mon, 10 Jan 2011, hubicka at gcc dot gnu.org wrote:
> so it seems that re-running process_options on darwin somehow leads to this
> change. Adding Joseph to CC.
How exactly is process_options rerun? It's a static function in toplev.c,
called once from another static function in toplev.c.... I guess maybe
you mean decode_options. In that case, maybe you need to implement
TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE to set at least some of the variables
set by darwin_override_options.