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

From-SVN: r247946
This commit is contained in:
Nathan Sidwell 2017-05-12 00:28:44 +00:00 committed by Nathan Sidwell
parent c7145711b8
commit 2d82ec25dc
2 changed files with 5 additions and 3 deletions

View 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>

View 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
}