From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14766 invoked by alias); 1 Apr 2004 02:23:57 -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 14489 invoked by uid 48); 1 Apr 2004 02:23:54 -0000 Date: Thu, 01 Apr 2004 02:23:00 -0000 Message-ID: <20040401022354.14488.qmail@sources.redhat.com> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040401021739.14805.geoffk@gcc.gnu.org> References: <20040401021739.14805.geoffk@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/14805] [3.5 Regression] file with structures and external decls at function scope is wrongly rejected X-Bugzilla-Reason: CC X-SW-Source: 2004-04/txt/msg00019.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-01 02:23 ------- Is this really valid C, with ICC 6.0 in strict mode, I get an error: t.c t.c(17): error: declaration is incompatible with previous "foo" (declared at line 6) extern struct bar *foo; ^ compilation aborted for t.c (code 2) -- What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu dot | |org Summary|file with structures and |[3.5 Regression] file with |external decls at function |structures and external |scope is wrongly rejected |decls at function scope is | |wrongly rejected Target Milestone|--- |3.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14805