http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41844
--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-26 09:30:33 UTC --- Author: rguenth Date: Wed Oct 26 09:30:29 2011 New Revision: 180517 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180517 Log: 2011-10-26 Richard Guenther <rguent...@suse.de> PR lto/41844 * Makefile.in (lto-wrapper): Depend on and link against opts-common.o. (lto-wrapper.o): Depend on $(OPTS_H) and $(OPTIONS_H). * lto-wrapper.c (get_options_from_collect_gcc_options): New function. (run_gcc): Use it. Filter out language specific options. Modified: trunk/gcc/ChangeLog trunk/gcc/Makefile.in trunk/gcc/lto-wrapper.c