summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-03 09:28:25 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-03 09:28:25 +0000
commitdff9665916f249eafc34d68ba6fc30a77df97ff1 (patch)
tree3d04809650197b0c4a7e71bd65cf41599fbe2c43 /gcc
parentb9b156714c693700360f69a697c6f9643107f970 (diff)
downloadppe42-gcc-dff9665916f249eafc34d68ba6fc30a77df97ff1.tar.gz
ppe42-gcc-dff9665916f249eafc34d68ba6fc30a77df97ff1.zip
* cppfiles.c (stack_file): Use file path.
testsuite: * lib/dg-pch.exp: Work round PCH bug. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70114 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cppfiles.c2
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/lib/dg-pch.exp2
4 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e9e340f8a76..145cf2c179b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-08-03 Neil Booth <neil@daikokuya.co.uk>
+
+ * cppfiles.c (stack_file): Use file path.
+
2003-08-02 Roger Sayle <roger@eyesopen.com>
* builtin-types.def (BT_SSIZE): New primitive type.
diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c
index 007eb09a0b1..8dcc269d106 100644
--- a/gcc/cppfiles.c
+++ b/gcc/cppfiles.c
@@ -621,7 +621,7 @@ stack_file (cpp_reader *pfile, _cpp_file *file, bool import)
pfile->mi_cmacro = 0;
/* Generate the call back. */
- _cpp_do_file_change (pfile, LC_ENTER, file->name, 1, sysp);
+ _cpp_do_file_change (pfile, LC_ENTER, file->path, 1, sysp);
return true;
}
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 95a108dd47e..de8342ca9e7 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2003-08-03 Neil Booth <neil@daikokuya.co.uk>
+
+ * lib/dg-pch.exp: Work round PCH bug.
+
2003-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/builtins-1.c: Add macro helpers. Add missing math
diff --git a/gcc/testsuite/lib/dg-pch.exp b/gcc/testsuite/lib/dg-pch.exp
index ca7d8c3c9e3..9bf39936593 100644
--- a/gcc/testsuite/lib/dg-pch.exp
+++ b/gcc/testsuite/lib/dg-pch.exp
@@ -39,7 +39,7 @@ proc dg-pch { subdir test options suffix } {
set dg-do-what-default precompile
catch { file delete "$bname$suffix" }
gcc_copy_files "[file rootname $test]${suffix}s" "$bname$suffix"
- dg-test -keep-output "$bname$suffix" $flags ""
+ dg-test -keep-output "./$bname$suffix" $flags ""
# For the rest, the default is to compile to .s.
set dg-do-what-default compile
OpenPOWER on IntegriCloud