From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3731 invoked by alias); 13 Oct 2004 09:16:14 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 3722 invoked by uid 48); 13 Oct 2004 09:16:13 -0000 Date: Wed, 13 Oct 2004 09:16:00 -0000 Message-ID: <20041013091613.3721.qmail@sourceware.org> From: "reichelt at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041012083359.17944.micis@gmx.de> References: <20041012083359.17944.micis@gmx.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug preprocessor/17944] [3.4/4.0 regression] ICE with pragma once X-Bugzilla-Reason: CC X-SW-Source: 2004-10/txt/msg01708.txt.bz2 List-Id: ------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-13 09:16 ------- Here's a reduced testcase which consists of three files: PR17944.c: #include "include/bug1.h" #include "include/bug2.h" include/bug1.h: #pragma once #include "bug1.h" include/bug2.h: #include "bug1.h" Compiling this with "gcc -c PR17944.c" I get a segfault since gcc 3.4.0. With gcc 2.95.3 - 3.3.5 I just get a warning: In file included from PR17944.c:1: include/bug1.h:1:9: warning: #pragma once is obsolete -- What |Removed |Added ---------------------------------------------------------------------------- CC| |reichelt at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Component|c++ |preprocessor Ever Confirmed| |1 GCC build triplet|powerpc-unknown-linux-gnu | GCC host triplet|powerpc-unknown-linux-gnu | GCC target triplet|powerpc-unknown-linux-gnu | Keywords| |ice-on-valid-code Known to fail| |3.4.0 3.4.2 4.0.0 Known to work| |3.3.5 Last reconfirmed|0000-00-00 00:00:00 |2004-10-13 09:16:09 date| | Summary|ICE Segmentation fault |[3.4/4.0 regression] ICE | |with pragma once Target Milestone|--- |3.4.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17944