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 top level: 2005-06-13 08:26:05 +00:00
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-only.c: New file. 2007-07-30 18:29:20 +00:00
directives.c re PR preprocessor/35322 (ICE with incomplete macro) 2008-03-13 21:10:07 +00:00
errors.c cp-tree.h (cp_cpp_error), [...]): Take va_list* parameter. 2005-11-04 01:16:32 +00:00
expr.c expr.c (interpret_float_suffix): Support hr, r, lr, llr, uhr, ur, ulr, ullr, hk, k, lk, llk, uhk, uk, ulk, ullk. 2007-08-30 23:05:17 +00:00
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 tree-cfg.c (remove_bb): Only warn if line is non-zero. 2007-09-06 16:24:05 +00:00
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 all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
Makefile.in Makefile.in (POSTCOMPILE): New variable. 2008-03-28 13:32:47 +00:00
makeucnid.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
mkdeps.c re PR preprocessor/35458 (Dependency generation (-M) does not quote '#' in filenames) 2008-03-06 18:08:40 +00:00
pch.c Fixup whitespacing 2007-06-01 02:12:37 +00:00
symtab.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
system.h all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
traditional.c traditional.c (lex_identifier): Use CPP_HASHNODE. 2008-02-20 02:16:43 +00:00
ucnid.h all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
ucnid.tab all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00