From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30833 invoked by alias); 1 Mar 2007 21:36:23 -0000 Received: (qmail 30786 invoked by uid 48); 1 Mar 2007 21:36:10 -0000 Date: Thu, 01 Mar 2007 21:36:00 -0000 Message-ID: <20070301213610.30785.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug testsuite/25241] DejaGNU does not distinguish between errors and warnings In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "manu at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-03/txt/msg00063.txt.bz2 ------- Comment #23 from manu at gcc dot gnu dot org 2007-03-01 21:36 ------- Another issue that I am not sure how to fix. Janis, could you take a look at this? Testcase gcc/testsuite/gcc.dg/20041213-1.c is like: /* { dg-do compile } */ /* test redeclarations with void and implicit int */ extern foo1(); /* { dg-error "previous declaration" } */ extern void foo1(); /* { dg-error "conflicting types" } */ and it generates output as: /home/manuel/src/trunk/gcc/testsuite/gcc.dg/20041213-1.c:4: error: conflicting types for 'foo1' /home/manuel/src/trunk/gcc/testsuite/gcc.dg/20041213-1.c:3: error: previous declaration of 'foo1' was here However, the patch above fails at that test. The verbose output of running the test prints: Testing gcc.dg/20041213-1.c process-message: {:3: ERROR {error:[^ ]*previous declaration} {}} process-message: {:3: ERROR {error:[^ ]*previous declaration} {}} {:4: ERROR {error:[^ ]*conflicting types} {}} -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241