From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24309 invoked by alias); 2 May 2003 12:16:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 24259 invoked by uid 71); 2 May 2003 12:16:00 -0000 Resent-Date: 2 May 2003 12:16:00 -0000 Resent-Message-ID: <20030502121600.24258.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, steven@gcc.gnu.org Received: (qmail 23280 invoked by uid 48); 2 May 2003 12:09:57 -0000 Message-Id: <20030502120957.23279.qmail@sources.redhat.com> Date: Fri, 02 May 2003 12:16:00 -0000 From: steven@gcc.gnu.org Reply-To: steven@gcc.gnu.org To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c/10602: [3.4] ICE in c-typeck.c, sometimes in tree-inline.c (tree check failure) X-SW-Source: 2003-05/txt/msg00122.txt.bz2 List-Id: >Number: 10602 >Category: c >Synopsis: [3.4] ICE in c-typeck.c, sometimes in tree-inline.c (tree check failure) >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: ice-on-illegal-code >Submitter-Id: net >Arrival-Date: Fri May 02 12:16:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: steven@gcc.gnu.org >Release: GNU C version 3.4 20030501 (experimental). >Organization: >Environment: >Description: Consider: ------------------------------ tree g95_type_for_mode (enum machine_mode); tree g95_type_for_mode (enum machine_mode mode) { return 0; } ------------------------------ $ ./cc1 t.c t.c:1: error: parse error before "g95_type_for_mode" t.c:1: warning: `enum machine_mode' declared inside parameter list t.c:1: warning: its scope is only this definition or declaration, which is probably not what you want t.c:1: warning: parameter has incomplete type t.c:1: warning: data definition has no type or storage class t.c:4: error: parse error before "g95_type_for_mode" t.c:4: warning: `enum machine_mode' declared inside parameter list t.c:5: error: parameter `mode' has incomplete type g95_type_for_mode t.c:5: internal compiler error: tree check: expected class 't', have 'x' (error_mark) in type_lists_compatible_p, at c-typeck.c:719 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >How-To-Repeat: Compile the test case provided in the description. >Fix: Don't forget to include include files ;-) Probably just need to insert a few error_mark_node checks in a few places. >Release-Note: >Audit-Trail: >Unformatted: