From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25154 invoked by alias); 15 May 2007 00:35:19 -0000 Received: (qmail 25091 invoked by uid 48); 15 May 2007 00:35:08 -0000 Date: Tue, 15 May 2007 00:35:00 -0000 Message-ID: <20070515003508.25090.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: "janis 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-05/txt/msg01090.txt.bz2 ------- Comment #46 from janis at gcc dot gnu dot org 2007-05-15 01:35 ------- I've been looking at this again recently. I have a patch that changes dg-error and dg-warning only for languages that define gcc_error_prefix and gcc_warning_prefix. I have tested it with C and ensured that tests for other languages are not affected. This will make it easy to add support for one language at a time. Lots of the tests that Manuel changed went from checking for errors to warnings or vice versa. I'll check those against earlier versions of GCC to see if the behavior really did change and when, and then report those. Some of them might show real bugs that ought to be fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25241