Commit 76bf2c97 by Neil Booth Committed by Neil Booth

cppfiles.c (stack_file): Use file path.

	* cppfiles.c (stack_file): Use file path.
testsuite:
	* lib/dg-pch.exp: Work round PCH bug.

From-SVN: r70114
parent 178b2b9f
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.
......
......@@ -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;
}
......
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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment