From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 859 invoked by alias); 29 Jul 2005 23:31:17 -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 847 invoked by uid 48); 29 Jul 2005 23:31:14 -0000 Date: Fri, 29 Jul 2005 23:34:00 -0000 From: "jsm28 at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20050729233113.23144.jsm28@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/23144] New: [4.0/4.1 Regression] invalid parameter forward declarations not diagnosed X-Bugzilla-Reason: CC X-SW-Source: 2005-07/txt/msg03943.txt.bz2 List-Id: GCC 4.0 fails to diagnose cases of parameter forward declarations followed by no normal parameter declarations, such as int g1(int a;); int g2(int a; __attribute__((unused))); int g3(int;); int g4(int, long;); The same applies to 4.1 once I've fixed bug 23143. 3.4 diagnoses these cases. -- Summary: [4.0/4.1 Regression] invalid parameter forward declarations not diagnosed Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jsm28 at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23144