From patchwork Mon Nov 6 22:44:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 834988 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-466078-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="Dy4SQTO/"; 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 3yW71V3StZz9s71 for ; Tue, 7 Nov 2017 09:45: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:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=Gif1r3Xli1Fz1dCQZ4uGhlmpnKeu6/vbKKOIy88o9qrWyv4++K +Sal0ke1pMTaO5GqKruqkz4UPSVapvxCZcCLWNNqeh1t8fEI3oMLSBCSEGvDmbFp 5Dg0KrKFiUabpb+hX6o+FyNGWCncruoh5zyBmyFTKTXDGFnas/nLC0odk= 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:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=J0Ek5pHwzSA8rW+g14hO3bNI8v8=; b=Dy4SQTO/rT8T6f4p+uzW MfRv4jv/WHdKUdFJBWNUFpPhSpuahKz04P7up4u+GRTrNhwL6WMEvhRZTuq2ihFw b1y7wPQgeFpyPBeJvCZg21cU0Xqpdy+uTAVyp9zrkxANh0YPsf47akwmzqb0NkyW X24kFMCzIc/WOr2BpgjQsRw= Received: (qmail 105074 invoked by alias); 6 Nov 2017 22:45:04 -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 104412 invoked by uid 89); 6 Nov 2017 22:45:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1509 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 06 Nov 2017 22:45:01 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A583E81DE8 for ; Mon, 6 Nov 2017 22:44:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A583E81DE8 Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=law@redhat.com Received: from localhost.localdomain (ovpn-116-29.phx2.redhat.com [10.3.116.29]) by smtp.corp.redhat.com (Postfix) with ESMTP id 83B5E5D754 for ; Mon, 6 Nov 2017 22:44:59 +0000 (UTC) To: gcc-patches From: Jeff Law Subject: [committed] Minor fixes to stack-check-12 test Message-ID: Date: Mon, 6 Nov 2017 15:44:58 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 X-IsSubscribed: yes So I thought I'd checked in the wrong version of that test, but I had in fact checked in the *right* version. So r254455 was completely bogus. This reverts that bogus checkin and also adds -fomit-frame-pointer to the test's options to make x86 Solaris happy. Committing to the trunk. Jeff * gcc.target/i386/stack-check-12.c: Revert to initial version. Then.. Add -fomit-frame-pointer. diff --git a/gcc/testsuite/gcc.target/i386/stack-check-12.c b/gcc/testsuite/gcc.target/i386/stack-check-12.c index 6ae0782f10b..980416946df 100644 --- a/gcc/testsuite/gcc.target/i386/stack-check-12.c +++ b/gcc/testsuite/gcc.target/i386/stack-check-12.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fstack-clash-protection -mtune=generic" } */ +/* { dg-options "-O2 -fstack-clash-protection -mtune=generic -fomit-frame-pointer" } */ /* { dg-require-effective-target supports_stack_clash_protection } */ __attribute__ ((noreturn)) void exit (int); @@ -14,6 +14,6 @@ f (void) /* { dg-final { scan-assembler-not "or\[ql\]" } } */ /* { dg-final { scan-assembler "pushl %esi" { target ia32 } } } */ /* { dg-final { scan-assembler "popl %esi" { target ia32 } } }*/ -/* { dg-final { scan-assembler "pushq %rax" { target ! { ia32 } } } } */ -/* { dg-final { scan-assembler "popq %rax" { target ! { ia32 } } } }*/ +/* { dg-final { scan-assembler "pushq %rax" { target { ! ia32 } } } } */ +/* { dg-final { scan-assembler "popq %rax" { target { ! ia32 } } } }*/