https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91130

--- Comment #26 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
On the basis that COLLECT_GCC_OPTIONS are the options to add if reinvoking gcc,
then that environment variable is really a set of driver options.  As such, I
suspect the right fix for this is to add CL_DRIVER to the lang_mask value
passed into get_options_from_collect_gcc_options.  As such, the patch for this
is something like the attached.

Reply via email to