From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25444 invoked by alias); 20 Oct 2005 11:46:28 -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 25430 invoked by uid 48); 20 Oct 2005 11:46:26 -0000 Date: Thu, 20 Oct 2005 11:46:00 -0000 Subject: [Bug c++/24452] New: [gomp] ICE in decl_jump_unsafe, at cp/decl.c:2153 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "reichelt at gcc dot gnu dot org" X-SW-Source: 2005-10/txt/msg02659.txt.bz2 List-Id: The following testcase causes an ICE in the C++ frontend when compiled with -fopenmp: =================== void foo() { x; L: goto L; } =================== bug.cc: In function 'void foo()': bug.cc:3: error: 'x' was not declared in this scope bug.cc:4: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in decl_jump_unsafe, at cp/decl.c:2153 Please submit a full bug report, [etc.] -- Summary: [gomp] ICE in decl_jump_unsafe, at cp/decl.c:2153 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-invalid-code, error-recovery, openmp Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24452