mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
178b2b9f0f
commit
76bf2c9795
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue