From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31399 invoked by alias); 27 Sep 2007 22:04:37 -0000 Received: (qmail 31366 invoked by uid 48); 27 Sep 2007 22:04:25 -0000 Date: Thu, 27 Sep 2007 22:04:00 -0000 Message-ID: <20070927220425.31365.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/29172] --combine can't handle #pragma once In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tromey at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-09/txt/msg02288.txt.bz2 ------- Comment #5 from tromey at gcc dot gnu dot org 2007-09-27 22:04 ------- Confirmed. The problem is that the loop in c_common_parse_file calls cpp_undef_all -- which undefines all symbols but does not mark _cpp_file objects as not seen. We probably need a new libcpp API for this. -- tromey at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-09-27 22:04:24 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29172