diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-28 23:06:10 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-28 23:06:10 +0000 |
commit | 49045bb4d138deb38b452e6be6c77239d8289a55 (patch) | |
tree | 3296383554cf8641e0ecd0dce811b757bb507ceb /gcc/testsuite/gcc.dg/pch | |
parent | 842a17d7105087922fddd4764584665227fc7dc5 (diff) | |
download | ppe42-gcc-49045bb4d138deb38b452e6be6c77239d8289a55.tar.gz ppe42-gcc-49045bb4d138deb38b452e6be6c77239d8289a55.zip |
In gcc/:
2003-02-28 Geoffrey Keating <geoffk@apple.com>
* doc/invoke.texi: Change .pch to .gch.
* cppfiles.c (open_file_pch): Likewise.
* gcc.c (default_compilers): Likewise.
In gcc/testsuite/:
2003-02-28 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/pch.exp: Change .pch to .gch.
* g++.dg/pch/pch.exp: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63587 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/pch')
-rw-r--r-- | gcc/testsuite/gcc.dg/pch/pch.exp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/testsuite/gcc.dg/pch/pch.exp b/gcc/testsuite/gcc.dg/pch/pch.exp index 2c817fb51c8..7a5aacaac56 100644 --- a/gcc/testsuite/gcc.dg/pch/pch.exp +++ b/gcc/testsuite/gcc.dg/pch/pch.exp @@ -1,4 +1,4 @@ -# Copyright (C) 1997, 2002 Free Software Foundation, Inc. +# Copyright (C) 1997, 2002, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -36,9 +36,9 @@ foreach test [lsort [glob -nocomplain $srcdir/$subdir/*.c]] { set nshort [file tail [file dirname $test]]/[file tail $test] set bname "[file rootname [file tail $test]]" - catch { file delete "$bname.h.pch" } + catch { file delete "$bname.h.gch" } catch { file delete "$bname.s" } - catch { file delete "$bname.s-pch" } + catch { file delete "$bname.s-gch" } # We don't try to use the loop-optimizing options, since they are highly # unlikely to make any difference to PCH. @@ -54,17 +54,17 @@ foreach test [lsort [glob -nocomplain $srcdir/$subdir/*.c]] { # For the rest, the default is to compile to .s. set dg-do-what-default compile - if { [ file exists "$bname.h.pch" ] } { + if { [ file exists "$bname.h.gch" ] } { # Ensure that the PCH file is used, not the original header. file delete "$bname.h" dg-test -keep-output $test $flags "-I." - file delete "$bname.h.pch" + file delete "$bname.h.gch" if { [ file exists "$bname.s" ] } { - file rename "$bname.s" "$bname.s-pch" + file rename "$bname.s" "$bname.s-gch" file copy "[file rootname $test].hs" "$bname.h" dg-test -keep-output $test $flags "-I." - set tmp [ diff "$bname.s" "$bname.s-pch" ] + set tmp [ diff "$bname.s" "$bname.s-gch" ] if { $tmp == 0 } { untested "$nshort $flags assembly comparison" } elseif { $tmp == 1 } { @@ -74,7 +74,7 @@ foreach test [lsort [glob -nocomplain $srcdir/$subdir/*.c]] { } file delete "$bname.h" file delete "$bname.s" - file delete "$bname.s-pch" + file delete "$bname.s-gch" } else { untested "$nshort $flags assembly comparison" } |