https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95720
--- Comment #14 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alexandre Oliva <aol...@gcc.gnu.org>: https://gcc.gnu.org/g:5fa1767aa45e1a927e832ccc09e959d4c8a9548c commit r11-2311-g5fa1767aa45e1a927e832ccc09e959d4c8a9548c Author: Alexandre Oliva <ol...@adacore.com> Date: Fri Jul 24 15:38:35 2020 -0300 [PR95720] protect gluefile and wrap_flags with -Wl too The testglue object file gets interpreted as another input file, changing the dump and aux output names in GCC unless it is protected by -Wl, like board file-named extra inputs. Refactor the code that modifies the board settings so that it can be used to modify regular variables as well, and do so. for gcc/testsuite/ChangeLog PR testsuite/95720 * lib/gcc-defs.exp (gcc_adjust_linker_flags_list): Split out of... (gcc_adjust_linker_flags): ... this. Protect gluefile and wrap_flags. * gcc.misc-tests/outputs.exp: Use gcc_adjust_linker_flags_list.