Commit b5f3e747 by Carlo Wood Committed by Jeff Law

special.exp: Handle newer versions of dejagnu.

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

From-SVN: r20764
parent 973bd7a4
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.
......
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment