On 07/15/2011 09:29 PM, Jason Merrill wrote: > On 07/13/2011 04:28 PM, Jason Merrill wrote: >> I'm using --tool_opts to pass the extra -std=c++0x argument to the >> compiler. Previously in my own testing I've used >> --target_board=unix/-std=c++0x, but that is problematic because options >> from --target_board come after options from dg-options, leading to >> spurious failures on tests that explicitly specify -std=c++98. I also >> considered using the --additional_options flag which lib/g++.exp tries >> to support, but it doesn't work (runtest.exp treats any --a* as --all) >> and in any case is redundant with --tool_opts. > > Unfortunately, a bug in dejagnu means that --tool_opts breaks multilib > support; > see the URL in the patch and GCC bug 49741. So I've resurrected > --additional_options, renamed to --extra_opts because runtest.exp will let > that > through. > > Applying to trunk.
The change to the toplevel Makefile.in was made in the generated file. I didn't revert it with today's change. Matthias