OSDN Git Service

* lib/dg-pch.exp (dg-pch): Fix if bracing.
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 May 2008 06:31:33 +0000 (06:31 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 May 2008 06:31:33 +0000 (06:31 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135752 138bc75d-0d04-0410-961f-82ee72b054a4

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

index e9a2c55..a9c2b12 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 60ec504..6c3ff34 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"
            }
        }
     }