From patchwork Fri Dec 17 22:18:30 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicola Pero X-Patchwork-Id: 75999 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 665B8B708B for ; Sat, 18 Dec 2010 09:18:50 +1100 (EST) Received: (qmail 15574 invoked by alias); 17 Dec 2010 22:18:42 -0000 Received: (qmail 15561 invoked by uid 22791); 17 Dec 2010 22:18:41 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 17 Dec 2010 22:18:35 +0000 Received: from eggs.gnu.org ([140.186.70.92]:32938) by fencepost.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PTidD-0000N9-3t for gcc-patches@gnu.org; Fri, 17 Dec 2010 17:18:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTidD-0005d3-Dy for gcc-patches@gnu.org; Fri, 17 Dec 2010 17:18:33 -0500 Received: from smtp141.iad.emailsrvr.com ([207.97.245.141]:51083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTidD-0005ct-C6 for gcc-patches@gnu.org; Fri, 17 Dec 2010 17:18:31 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp34.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 014F9380887 for ; Fri, 17 Dec 2010 17:18:30 -0500 (EST) Received: from dynamic8.wm-web.iad.mlsrvr.com (dynamic8.wm-web.iad1a.rsapps.net [192.168.2.149]) by smtp34.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id DDB633803F4 for ; Fri, 17 Dec 2010 17:18:30 -0500 (EST) Received: from meta-innovation.com (localhost [127.0.0.1]) by dynamic8.wm-web.iad.mlsrvr.com (Postfix) with ESMTP id A5AE7305006C for ; Fri, 17 Dec 2010 17:18:30 -0500 (EST) Received: by www2.webmail.us (Authenticated sender: nicola.pero@meta-innovation.com, from: nicola.pero@meta-innovation.com) with HTTP; Fri, 17 Dec 2010 23:18:30 +0100 (CET) Date: Fri, 17 Dec 2010 23:18:30 +0100 (CET) Subject: Objc - adjust testcase From: "Nicola Pero" To: "gcc-patches@gnu.org" MIME-Version: 1.0 X-Type: plain Message-ID: <1292624310.676930945@192.168.2.228> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org This fixes the new ObjC failure that appeared in trunk with the recent changes to the C parser (btw, the new error message looks better). Ok to commit ? Thanks Index: ChangeLog =================================================================== --- ChangeLog (revision 167999) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2010-12-17 Nicola Pero + + * objc.dg/exceptions-4.m: Adjust for change in error message. + 2010-12-17 Paolo Bonzini PR c/20385 Index: objc.dg/exceptions-4.m =================================================================== --- objc.dg/exceptions-4.m (revision 167999) +++ objc.dg/exceptions-4.m (working copy) @@ -39,7 +39,7 @@ { dummy++; } - @catch (i) /* { dg-error "expected declaration specifiers or ..... before .i." } */ + @catch (i) /* { dg-error "unknown type name .i." } */ { dummy++; }