On 05/11/2017 06:52 PM, Bernhard Reutner-Fischer wrote:
On 11 May 2017 15:10:36 CEST, Nathan Sidwell <nat...@acm.org> wrote:

Anyway, please also adjust the dump cleanup to handle class or I can take care 
of it sometimes later.

Applied this, which seems to do the trick.

nathan


--
Nathan Sidwell
2017-05-11  Nathan Sidwell  <nat...@acm.org>

        * lib/gcc-dg.exp (schedule-cleanups): Add lang dump capability.

Index: lib/gcc-dg.exp
===================================================================
--- lib/gcc-dg.exp      (revision 247936)
+++ lib/gcc-dg.exp      (working copy)
@@ -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
     }

Reply via email to