aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/lib/dg-pch.exp14
2 files changed, 11 insertions, 7 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e9a2c55..a9c2b12 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/lib/dg-pch.exp b/gcc/testsuite/lib/dg-pch.exp
index 60ec504..6c3ff34 100644
--- a/gcc/testsuite/lib/dg-pch.exp
+++ b/gcc/testsuite/lib/dg-pch.exp
@@ -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"
}
}
}