On 06/15/2012 12:32 PM, Mike Stump wrote: > On Jun 15, 2012, at 11:07 AM, Janis Johnson wrote: >> GCOV tests for C++ are run for both std=gnu++98 and std=gnu++11. Those >> options are not reported by GCOV-specific lines in the test summary, > >> OK for mainline? > > Ok. > > It is scary that upvar is ever used....
Yes, it is. I've sometimes thought that for testname it might be just a little less scary to use a proc like current_compiler_flags in target-supports-dg.exp, instead of using upvar in every single place we need access to that particular variable from dg-test. Janis