* lib/gcc-dg.exp (schedule-cleanups): Add lang dump capability.
authorNathan Sidwell <nathan@acm.org>
Fri, 12 May 2017 00:28:44 +0000 (00:28 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 12 May 2017 00:28:44 +0000 (00:28 +0000)
From-SVN: r247946

gcc/testsuite/ChangeLog
gcc/testsuite/lib/gcc-dg.exp

index a8ab978f0389e5650d970fea10463cda472bf8f5..3553c993dde902e50dd465219a5667707f079079 100644 (file)
@@ -1,4 +1,6 @@
-gcc/testsuite/ChangeLog:
+2017-05-11  Nathan Sidwell  <nathan@acm.org>
+
+       * lib/gcc-dg.exp (schedule-cleanups): Add lang dump capability.
 
 2017-05-11  Carl Love  <cel@us.ibm.com>
 
index 82cc2214e3935021a8f51402d90ef3f8375d6085..b6865b441dce5603b1ec67b2bdffb830bb4f6621 100644 (file)
@@ -158,8 +158,8 @@ proc schedule-cleanups { opts } {
     }
     # Finally see if there are any dumps in opts, otherwise we are done
     if [regexp -- {(?=(?:^|[ \t]+)?)-fdump-[^ \t]+(?=(?:$|[ \t]+)?)} $opts] {
-        # Ipa, Rtl, Tree for simplicity
-        set ptn "{i,r,t}"
+        # Lang, Ipa, Rtl, Tree for simplicity
+        set ptn "{l,i,r,t}"
     } else {
         return $finalcode
     }