From patchwork Sun Oct 14 09:22:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony Green X-Patchwork-Id: 983681 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-487511-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=moxielogic.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="kxDVWOcp"; dkim=pass (2048-bit key; unprotected) header.d=moxielogic-com.20150623.gappssmtp.com header.i=@moxielogic-com.20150623.gappssmtp.com header.b="Is5Sbz0q"; 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 42Xx1C0Kcpz9s3Z for ; Sun, 14 Oct 2018 20:22:20 +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:from :to:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=DyQJyWy677LCpZnzHozRjusCyS760uqlZzm4btA+cNGEflUtIqtUl l3C2W4J5ztBpzQDnzAoqiwQ82NG4O0L7CKAES+WLv9mjAbDDEZOIkR6JXGi4ic+Q wk4mbkNXSlV1knOqsTWdlFmG/Xk5lhm6TMistwVU/TqQk/84MkdNS0= 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:from :to:subject:date:message-id:mime-version:content-type; s= default; bh=JZrReI7YWQQT5h4wtrC/W6E3Wzo=; b=kxDVWOcp5zUt4cVhG9iw wyN8Gr20PHFmCwqrOC9hQcOKG8U1X8wz4Cn9MbK7latL8msNURvQxOqKCF2ZNaKN tSx/NVtF0MnZm/lNcJ7z9JcaH5SMsNUEZEkLPK1h4qgcHc/l4PJzb7qG4t2DWBvi FwYrknuHgjrTCEF1d/8cC8c= Received: (qmail 105292 invoked by alias); 14 Oct 2018 09:22:12 -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 105279 invoked by uid 89); 14 Oct 2018 09:22:12 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=do_test, Hx-languages-length:899, configurations, metal X-HELO: mail-qk1-f179.google.com Received: from mail-qk1-f179.google.com (HELO mail-qk1-f179.google.com) (209.85.222.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 14 Oct 2018 09:22:10 +0000 Received: by mail-qk1-f179.google.com with SMTP id 204-v6so10179153qkd.5 for ; Sun, 14 Oct 2018 02:22:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=moxielogic-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:user-agent:mime-version; bh=kUIWUMfnZn9gDRcAmny8r5HZ2jUTNavr6ng+8+rToEI=; b=Is5Sbz0qqz6Xsq1Iwos0CwIA6mqeE2v3Grh/pCPUBRxrBBrNOeqxrN7D3srRy7++sI aLQpIPZcGSWWKXw+K9e18c64hvoSJF7iU0xshPd7WY/yP1dCClpOYoNxhfjQETe5Ayjb G/j2eWjMmVuYOigYN8Cee0A0q5w6csCXO66+0Y5NCrWGLf86/N0NYE9wdNiAQAPynGH3 CkB75lWl75LSlqdxzzAEkjwSlF1Ssv9/NWighP+mDjmg+NhMOgZaf5xgfIRMvEOQAv/E AhpCcPrLO5+zZk8Fx3Azxfd+M7uxwhNNNPb82XyrMglcTKnjk1RZOzqW8xZTLOf4TyEh io7Q== Received: from localhost (CPE10da438ecb59-CM00fc8d24cab0.cpe.net.cable.rogers.com. [99.252.102.29]) by smtp.gmail.com with ESMTPSA id y20-v6sm4565321qkb.46.2018.10.14.02.22.06 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 14 Oct 2018 02:22:07 -0700 (PDT) From: Anthony Green To: gcc-patches@gcc.gnu.org Subject: [PATCH, moxie] Adjust divide-by-zero testcase for moxie Date: Sun, 14 Oct 2018 05:22:05 -0400 Message-ID: <87woqkc282.fsf@laptop.atgreen.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 X-IsSubscribed: yes This patch adjusts one of the c-torture tests to account for the possible lack of divide-by-zero exceptions on certain moxie targets. Committed. gcc/testsuite/ 2018-10-14 Anthony Green * gcc.c-torture/execute/20101011-1.c: Adjust for moxie. Index: gcc/testsuite/gcc.c-torture/execute/20101011-1.c =================================================================== --- gcc/testsuite/gcc.c-torture/execute/20101011-1.c (revision 265146) +++ gcc/testsuite/gcc.c-torture/execute/20101011-1.c (working copy) @@ -97,6 +97,9 @@ /* This presently doesn't raise SIGFPE even on csky-linux-gnu, much less bare metal. See the implementation of __divsi3 in libgcc. */ # define DO_TEST 0 +#elif defined (__moxie__) + /* Not all moxie configurations may raise exceptions. */ +# define DO_TEST 0 #else # define DO_TEST 1 #endif