* lib/dg-pch.exp (dg-pch): Fix if bracing.
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 22 May 2008 06:31:33 +0000 (06:31 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 22 May 2008 06:31:33 +0000 (06:31 +0000)
From-SVN: r135752

gcc/testsuite/ChangeLog
gcc/testsuite/lib/dg-pch.exp

index e9a2c55e937528d66599e95cdb2d9c84cd1dc2f5..a9c2b12922daa4002c8f760e18a46ac80a82a903 100644 (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.
index 60ec5046de13f453e85fe7d7f2a60ad4a7b3d1f8..6c3ff3483ae806041d9cb216cb32afe3a1230d6e 100644 (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"
            }
        }
     }