Apparently, if you don't call torture-finish, subsequent tests in dg.exp inherit CFLAGS incorrectly. Serves me right for not testing the entire testsuite when making changes to memmodel.exp. When will I learn to expect the unexpected when making seemingly unrelated changes...?

Committed to branch.
        * gcc.dg/memmodel/memmodel.exp: Call torture-finish.
        * g++.dg/memmodel/memmodel.exp: Likewise.

Index: gcc.dg/memmodel/memmodel.exp
===================================================================
--- gcc.dg/memmodel/memmodel.exp        (revision 178607)
+++ gcc.dg/memmodel/memmodel.exp        (working copy)
@@ -54,4 +54,5 @@ if [info exists guality_gdb_name] {
     unsetenv GUALITY_GDB_NAME
 }
 
+torture-finish
 dg-finish
Index: g++.dg/memmodel/memmodel.exp
===================================================================
--- g++.dg/memmodel/memmodel.exp        (revision 178607)
+++ g++.dg/memmodel/memmodel.exp        (working copy)
@@ -54,4 +54,5 @@ if [info exists guality_gdb_name] {
     unsetenv GUALITY_GDB_NAME
 }
 
+torture-finish
 dg-finish

Reply via email to