special.exp: Handle newer versions of dejagnu.

* gcc.c-torture/special/special.exp: Handle newer versions of
        dejagnu.

From-SVN: r20764
This commit is contained in:
Carlo Wood 1998-06-28 00:25:12 +02:00 committed by Jeff Law
parent 973bd7a49f
commit b5f3e74739
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sat Jun 27 23:23:18 1998 Carlo Wood <carlo@runaway.xs4all.nl>
* gcc.c-torture/special/special.exp: Handle newer versions of
dejagnu.
Fri Jun 26 17:57:40 1998 Jeffrey A Law (law@cygnus.com)
* gcc.dg/980626-1.c: New test.

View File

@ -36,7 +36,7 @@ load_lib gcc-dg.exp
# 921210-1
set lines [gcc_target_compile $srcdir/$subdir/921210-1.c "" preprocess ""]
set lines [split [prune_warnings [prune_gcc_output $lines]] "\n"]
set lines [prune [split [prune_warnings [prune_gcc_output $lines]] "\n"] ""]
set line [lindex $lines [expr [llength $lines]-1]]
regsub -all " " $line "" clean
if [expr [string compare $clean "(a->f+1)+1"]==0] then {