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.