aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-04-01 12:58:02 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2008-04-01 12:58:02 +0200
commitd4c32e1d76fcbda6dc861b1867d55d5ca0acce8e (patch)
tree8a8f5b38d60fa065b109dbce3b10bb03f01befe1 /gcc/fold-const.c
parent764a79eda2a2e64329eea92b11a73bdfcdd18276 (diff)
downloadgcc-d4c32e1d76fcbda6dc861b1867d55d5ca0acce8e.zip
gcc-d4c32e1d76fcbda6dc861b1867d55d5ca0acce8e.tar.gz
gcc-d4c32e1d76fcbda6dc861b1867d55d5ca0acce8e.tar.bz2
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
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions