gcc/libcpp
Jakub Jelinek d4c32e1d76 re PR pch/13675 (#including a precompiled header more than once in the same unit fails)
PR pch/13675
	* files.c (struct _cpp_file): Remove pch field.
	(pch_open_file): Don't set file->pch, just file->pchname.
	(should_stack_file): After pfile->cb.read_pch call
	free pchname and clear pchname, don't close file->fd.
	Test file->pchname instead of file->pch.  Don't close fd after cb.
	(_cpp_stack_include): Test file->pchname instead of file->pch.

	* c-pch.c (c_common_read_pch): On error close (fd) resp. fclose (f).

From-SVN: r133790
2008-04-01 12:58:02 +02:00
..
include traditional.c (lex_identifier): Use CPP_HASHNODE. 2008-02-20 02:16:43 +00:00
po * fr.po: Update. 2008-03-28 02:07:37 +00:00
aclocal.m4
ChangeLog re PR pch/13675 (#including a precompiled header more than once in the same unit fails) 2008-04-01 12:58:02 +02:00
charset.c charset.c (convert_using_iconv): Close out any shift states, returning to the initial state. 2007-12-11 20:38:10 -05:00
config.in ( 5) 2007-12-03 21:04:47 +00:00
configure ( 5) 2007-12-03 21:04:47 +00:00
configure.ac ( 5) 2007-12-03 21:04:47 +00:00
directives-only.c
directives.c re PR preprocessor/35322 (ICE with incomplete macro) 2008-03-13 21:10:07 +00:00
errors.c
expr.c
files.c re PR pch/13675 (#including a precompiled header more than once in the same unit fails) 2008-04-01 12:58:02 +02:00
identifiers.c traditional.c (lex_identifier): Use CPP_HASHNODE. 2008-02-20 02:16:43 +00:00
init.c
internal.h re PR c/29172 (--combine can't handle #pragma once) 2007-12-06 18:56:26 +00:00
lex.c traditional.c (lex_identifier): Use CPP_HASHNODE. 2008-02-20 02:16:43 +00:00
line-map.c traditional.c (lex_identifier): Use CPP_HASHNODE. 2008-02-20 02:16:43 +00:00
macro.c re PR preprocessor/34692 (Internal error with pragma in macro) 2008-01-25 10:01:27 +01:00
makedepend.c
Makefile.in Makefile.in (POSTCOMPILE): New variable. 2008-03-28 13:32:47 +00:00
makeucnid.c
mkdeps.c re PR preprocessor/35458 (Dependency generation (-M) does not quote '#' in filenames) 2008-03-06 18:08:40 +00:00
pch.c
symtab.c
system.h
traditional.c traditional.c (lex_identifier): Use CPP_HASHNODE. 2008-02-20 02:16:43 +00:00
ucnid.h
ucnid.tab