From patchwork Sat May 26 01:16:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Koning X-Patchwork-Id: 920852 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-478572-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=comcast.net Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="IJoLGub1"; 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 40t4w90WKtz9s02 for ; Sat, 26 May 2018 11:16:53 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :content-type:content-transfer-encoding:mime-version:subject :message-id:date:to; q=dns; s=default; b=qQ1iR0WVOE/58hTZa00jS20 63cm6fN8dvJn5TmbXmG+lsbSqM5lF2ZJ9aCLoNAvHDheqQQ91o9+lENnnPcmk7as UqdQgocv2n1CdRwC1M6z/PCqlSshAalND8L0o7chrl4rXudkKMHSNhbPlhYA9yg3 UzHbEdXhlYWnog/CDRlc= 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 :content-type:content-transfer-encoding:mime-version:subject :message-id:date:to; s=default; bh=hLoiQWWRuErBKn0dyxkDh1ar+pA=; b= IJoLGub1KtDZ4rzrkr/fwwGlnHLURCUWoIIPVTMzZUSHG7MkQZKx+1Lck+eAucH7 Xj81OK85iyTcW25jvqMRY1PJgL5WBrH+c1nlIuk+N75n+szaD4A7B2u5RTZEcvnP Wr/h7CHdUi/kF7fYvlzGEOLfqnE1dGTZoMpG3BHgzUg= Received: (qmail 60738 invoked by alias); 26 May 2018 01:16:45 -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 60715 invoked by uid 89); 26 May 2018 01:16:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-10.9 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-spam-relays-external:ESMTPA X-HELO: resqmta-po-06v.sys.comcast.net Received: from resqmta-po-06v.sys.comcast.net (HELO resqmta-po-06v.sys.comcast.net) (96.114.154.165) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 26 May 2018 01:16:43 +0000 Received: from resomta-po-17v.sys.comcast.net ([96.114.154.241]) by resqmta-po-06v.sys.comcast.net with ESMTP id MNkWfmAefRNLYMNp3fM9rF; Sat, 26 May 2018 01:16:41 +0000 Received: from [192.168.10.125] ([73.60.223.101]) by resomta-po-17v.sys.comcast.net with ESMTPA id MNp2fYaAuCdXyMNp3fYvWF; Sat, 26 May 2018 01:16:41 +0000 From: Paul Koning Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: [PATCH, committed] fix a number of pdp11 target test failures Message-Id: <2D1B40B6-3E8D-4031-8B2B-76CFC68DC575@comcast.net> Date: Fri, 25 May 2018 21:16:40 -0400 To: GCC Patches X-CMAE-Envelope: MS4wfOmdgDSH092QZyrtOhYSiLuTP6+tZYAauGnwsXP3tiz/09BM2iUP8imBs1eI6CFznnmzIAk7mS1S7/28QgP2/6pYLKF2nT0h4aMRTqEqgwpKxsC2OaRI czZeQoWsUoYpspe0Sbpa3TL9puv6EmFR/UWGtrOrYEtAZunqUFuSYLlTLIPKPna/QawklKFsEcqszw== Sorry, it's been a while, previous message was incomplete. This fixes a number of test failures due to test cases that are too large for pdp11 and should be skipped. Also one test case that asks for alignment larger than what pdp11 supports. paul 2018-05-25 Paul Koning * gcc.c-torture/compile/20151204.c: Skip if pdp11. * gcc.c-torture/compile/pr55921.c: Ditto. * gcc.c-torture/compile/pr60655-1.c: Ditto. * gcc.c-torture/compile/vector-align-1.c: Add max alignment if pdp11. Index: testsuite/gcc.c-torture/compile/pr55921.c =================================================================== --- testsuite/gcc.c-torture/compile/pr55921.c (revision 260780) +++ testsuite/gcc.c-torture/compile/pr55921.c (revision 260781) @@ -1,4 +1,5 @@ /* PR tree-optimization/55921 */ +/* { dg-skip-if "Not enough registers" { "pdp11-*-*" } } */ typedef union { Index: testsuite/gcc.c-torture/compile/vector-align-1.c =================================================================== --- testsuite/gcc.c-torture/compile/vector-align-1.c (revision 260780) +++ testsuite/gcc.c-torture/compile/vector-align-1.c (revision 260781) @@ -2,7 +2,11 @@ /* If some target has a Max alignment less than 128, please create a #ifdef around the alignment and add your alignment. */ +#ifdef __pdp11__ +#define alignment 2 +#else #define alignment 128 +#endif char x __attribute__((aligned(alignment),vector_size(2))); Index: testsuite/gcc.c-torture/compile/20151204.c =================================================================== --- testsuite/gcc.c-torture/compile/20151204.c (revision 260780) +++ testsuite/gcc.c-torture/compile/20151204.c (revision 260781) @@ -1,4 +1,4 @@ -/* { dg-skip-if "Array too big" { "avr-*-*" } } */ +/* { dg-skip-if "Array too big" { "avr-*-*" "pdp11-*-*" } } */ typedef __SIZE_TYPE__ size_t; Index: testsuite/gcc.c-torture/compile/pr60655-1.c =================================================================== --- testsuite/gcc.c-torture/compile/pr60655-1.c (revision 260780) +++ testsuite/gcc.c-torture/compile/pr60655-1.c (revision 260781) @@ -1,4 +1,4 @@ -/* { dg-options "-fdata-sections" { target { { ! { { hppa*-*-hpux* } && { ! lp64 } } } && { ! nvptx-*-* } } } } */ +/* { dg-options "-fdata-sections" { target { { ! { { hppa*-*-hpux* } && { ! lp64 } } } && { ! "nvptx-*-* pdp11-*-*" } } } } */ typedef unsigned char unit; typedef unit *unitptr;