public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug pch/13675] #including a precompiled header more than once in the same unit fails Date: Tue, 01 Apr 2008 10:59:00 -0000 [thread overview] Message-ID: <20080401105849.21993.qmail@sourceware.org> (raw) In-Reply-To: <bug-13675-6060@http.gcc.gnu.org/bugzilla/> ------- Comment #17 from jakub at gcc dot gnu dot org 2008-04-01 10:58 ------- Subject: Bug 13675 Author: jakub Date: Tue Apr 1 10:58:02 2008 New Revision: 133790 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133790 Log: 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). Modified: trunk/gcc/ChangeLog trunk/gcc/c-pch.c trunk/libcpp/ChangeLog trunk/libcpp/files.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13675
next prev parent reply other threads:[~2008-04-01 10:59 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-13675-6060@http.gcc.gnu.org/bugzilla/> 2006-04-01 23:19 ` rupert dot swarbrick at lineone dot net 2007-01-01 23:53 ` tim at klingt dot org 2007-05-17 23:06 ` tim at klingt dot org 2007-11-27 3:06 ` l dot bermes at eurokey dot de 2008-04-01 10:59 ` jakub at gcc dot gnu dot org [this message] 2008-10-17 20:20 ` jakub at gcc dot gnu dot org 2008-11-03 22:16 ` pinskia at gcc dot gnu dot org 2009-05-27 10:56 ` gafunchal at gmail dot com 2009-05-27 14:35 ` gafunchal at gmail dot com [not found] <bug-13675-4@http.gcc.gnu.org/bugzilla/> 2014-02-16 13:18 ` jackie.rosen at hushmail dot com 2004-01-14 3:10 [Bug pch/13675] New: " jbrandmeyer at earthlink dot net 2004-01-14 12:29 ` [Bug pch/13675] " rwgk at yahoo dot com 2004-01-15 2:00 ` geoffk at gcc dot gnu dot org 2004-04-17 0:43 ` geoffk at gcc dot gnu dot org 2004-04-17 5:13 ` geoffk at gcc dot gnu dot org 2004-04-17 5:22 ` jbrandmeyer at earthlink dot net 2004-04-17 9:29 ` geoffk at gcc dot gnu dot org 2004-04-17 10:41 ` geoffk at gcc dot gnu dot org 2004-04-17 12:40 ` geoffk at gcc dot gnu dot org 2004-04-24 19:09 ` pinskia at gcc dot gnu dot org 2004-04-24 20:45 ` v13 at it dot teithe dot gr 2004-06-03 3:55 ` pegasus at ifdo dot pugmarks dot com 2004-06-25 22:02 ` geoffk at gcc dot gnu dot org 2005-09-22 10:54 ` a dot darovskikh at compassplus dot ru 2005-09-23 12:45 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20080401105849.21993.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).