From patchwork Mon Sep 11 11:15:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 812326 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-461806-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="cQ6tk+b7"; 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 3xrQP25S4Tz9s7G for ; Mon, 11 Sep 2017 21: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 :to:cc:subject:date:message-id:mime-version:content-type; q=dns; s=default; b=ciMjIbZtHr/SJJlKaz2e72u8F9RHIK5wpwOkfU+ea7moJszMQy hwa9/2CVZWca+kr1LRx1r6GsQrVadI4Lwf1VF5VBhAnocDGT/3Z5uR86bOn4+1Zo nIM0JqqIhC0as8rAQsz9B7n5IKkksqhFd7hghWFQ3uPn6UhpAtQfapsqg= 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:cc:subject:date:message-id:mime-version:content-type; s= default; bh=hZTYvc7otDAgMoZEVLusekickxQ=; b=cQ6tk+b77CfTCkI1HHIq 4BLMN/V8J42ath2rywgAjkRPaFVv+xCeJqBhxAo3g/L6rOEzwxMPDZRq0aMCxTEp EhnLZETkOUsou8AXCRi0V/FGiLY5ZsFQPgcULoBFW4uuHsRDeEORoSDw2tfNgdUB FqYfA9KuYlaFacwmmoilOS4= Received: (qmail 111628 invoked by alias); 11 Sep 2017 11: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 108632 invoked by uid 89); 11 Sep 2017 11:15:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-19.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:1699 X-HELO: smtp.CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE (HELO smtp.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 11 Sep 2017 11:15:46 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 0815ED59; Mon, 11 Sep 2017 13:15:35 +0200 (CEST) Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id X4qMngyV29JT; Mon, 11 Sep 2017 13:15:33 +0200 (CEST) Received: from lokon.CeBiTec.Uni-Bielefeld.DE (lokon.CeBiTec.Uni-Bielefeld.DE [129.70.161.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 2B9BFD55; Mon, 11 Sep 2017 13:15:33 +0200 (CEST) Received: (from ro@localhost) by lokon.CeBiTec.Uni-Bielefeld.DE (8.15.2+Sun/8.15.2/Submit) id v8BBFWma010204; Mon, 11 Sep 2017 13:15:32 +0200 (MEST) From: Rainer Orth To: gcc-patches@gcc.gnu.org Cc: Uros Bizjak Subject: [testsuite, i386] Fix gcc.target/i386/pr81736-[34].c on 32-bit Solaris/x86 (PR target/81736) Date: Mon, 11 Sep 2017 13:15:32 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes The new gcc.target/i386/pr81736-[34].c tests currently FAIL on 32-bit Solaris x86. Fixed as suggested by HJ in the PR. Tested with the appropriate runtest invocation on i386-pc-solaris2.11, x86_64-pc-linux-gnu, and x86_64-apple-darwin11. Assembler output on Linux and Darwin is unchanged. Ok for mainline? Rainer # HG changeset patch # Parent 79870b011f66569412e6da49853b5bd7ee3e7b25 Fix gcc.target/i386/pr81736-[34].c on 32-bit Solaris/x86 (PR target/81736) diff --git a/gcc/testsuite/gcc.target/i386/pr81736-3.c b/gcc/testsuite/gcc.target/i386/pr81736-3.c --- a/gcc/testsuite/gcc.target/i386/pr81736-3.c +++ b/gcc/testsuite/gcc.target/i386/pr81736-3.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fno-omit-frame-pointer" } */ +/* { dg-options "-O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" } */ void foo (void) diff --git a/gcc/testsuite/gcc.target/i386/pr81736-4.c b/gcc/testsuite/gcc.target/i386/pr81736-4.c --- a/gcc/testsuite/gcc.target/i386/pr81736-4.c +++ b/gcc/testsuite/gcc.target/i386/pr81736-4.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fno-omit-frame-pointer" } */ +/* { dg-options "-O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" } */ int foo (int i1, int i2, int i3, int i4, int i5, int i6, int i7)