From 6c9d87515a1bec530d1142f3a4fb7a0c978ea6d3 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Thu, 22 May 2008 06:31:33 +0000 Subject: [PATCH] * lib/dg-pch.exp (dg-pch): Fix if bracing. From-SVN: r135752 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/lib/dg-pch.exp | 14 +++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e9a2c55e937..a9c2b12922d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-05-22 Nathan Sidwell + + * lib/dg-pch.exp (dg-pch): Fix if bracing. + 2008-05-21 H.J. Lu * 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 60ec5046de1..6c3ff3483ae 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" } } } -- 2.30.2