* lib/dg-pch.exp (dg-pch): Fix if bracing.

From-SVN: r135752
This commit is contained in:
Nathan Sidwell 2008-05-22 06:31:33 +00:00 committed by Nathan Sidwell
parent 31ebe593ab
commit 6c9d87515a
2 changed files with 11 additions and 7 deletions

View file

@ -1,3 +1,7 @@
2008-05-22 Nathan Sidwell <nathan@codesourcery.com>
* lib/dg-pch.exp (dg-pch): Fix if bracing.
2008-05-21 H.J. Lu <hongjiu.lu@intel.com>
* gcc.target/i386/m128-check.h (ARRAY_SIZE): New.

View file

@ -75,13 +75,13 @@ proc dg-pch { subdir test options suffix } {
verbose -log "assembly file '$bname.s' missing"
fail "$nshort $flags assembly comparison"
}
} else {
verbose -log "assembly file '$bname$suffix.gch' missing"
fail "$nshort $flags"
if { !$have_errs } {
verbose -log "assembly file '$bname.s' missing" 1
fail "$nshort $flags assembly comparison"
}
}
} else {
verbose -log "pch file '$bname$suffix.gch' missing"
fail "$nshort $flags"
if { !$have_errs } {
verbose -log "assembly file '$bname.s' missing" 1
fail "$nshort $flags assembly comparison"
}
}
}