From patchwork Sun Feb 11 22:17:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 871819 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-473043-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="xVicqgpl"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zfjpN3RhZz9t3R for ; Mon, 12 Feb 2018 09:17:13 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:reply-to:mime-version:content-type; q=dns; s=default; b=gnSDjMAJdirT9GTn2WNQ3Bg/wn2wDaGToxRZsWo4D9R QUnIEW4/Au5Dy0dO5TsFOtOCyoCkcRRUnMR8jKEhKElaHZHZQ4SXM2qweoB5jFLT ZStuLtW/70F+Uc0eZF/aE7VvJcNesyRxPSp23UBrqBWlSxVrYxTYZAobNWJ0eALA = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:reply-to:mime-version:content-type; s=default; bh=uTqJkVodLiZk88i97I4ICI0f5hA=; b=xVicqgplKZ8qLb75j /akeVG6YY02DKx0KTaJC8KGL+izKn3fMw55nhyt9YKTu1vMOgZygSPHXzdpIXHVf 2ON2V25rq23GOVzXpfXcgXK7KguWA0PDrKwZST8wc9N52o8pmCIppVsu2qunRoIk hlqKYoPOQJqSqJiRtYmpAVeBFk= Received: (qmail 107100 invoked by alias); 11 Feb 2018 22:17:06 -0000 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 Received: (qmail 107090 invoked by uid 89); 11 Feb 2018 22:17:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, NO_DNS_FOR_FROM, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: mga03.intel.com Received: from mga03.intel.com (HELO mga03.intel.com) (134.134.136.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 11 Feb 2018 22:17:04 +0000 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Feb 2018 14:17:03 -0800 X-ExtLoop1: 1 Received: from gnu-skx-1.sc.intel.com ([172.25.70.197]) by orsmga005.jf.intel.com with ESMTP; 11 Feb 2018 14:17:03 -0800 Received: by gnu-skx-1.sc.intel.com (Postfix, from userid 1000) id E28F3E0201; Sun, 11 Feb 2018 14:17:02 -0800 (PST) Date: Sun, 11 Feb 2018 14:17:02 -0800 From: "H.J. Lu" To: gcc-patches@gcc.gnu.org Subject: [PATCH] matcher-1.m: Change return type to int Message-ID: <20180211221702.GA12231@intel.com> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.2 (2017-12-15) my_exception_matcher must return int. Otherwise, this test fails. Tested on i686 and x86-64. OK for trunk? H.J. --- PR testsuite/84324 * objc/execute/exceptions/matcher-1.m (my_exception_matcher): Change return type to int. --- gcc/testsuite/objc/execute/exceptions/matcher-1.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/objc/execute/exceptions/matcher-1.m b/gcc/testsuite/objc/execute/exceptions/matcher-1.m index cbe4365da90..25d6759cc9c 100644 --- a/gcc/testsuite/objc/execute/exceptions/matcher-1.m +++ b/gcc/testsuite/objc/execute/exceptions/matcher-1.m @@ -20,7 +20,7 @@ int main(void) static unsigned int handlerExpected = 0; -void +int my_exception_matcher(Class match_class, id exception) { /* Always matches. */