From patchwork Thu Oct 16 12:01:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Polacek X-Patchwork-Id: 400270 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 2400E1400A8 for ; Thu, 16 Oct 2014 23:02:02 +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:mime-version:content-type; q=dns; s= default; b=AL5Ps82aMEll3WVPbdhlb2/7HAGIbh3l7LPpKhG6v7wz3sz+yKbmD vzP6Ii1HhwsO4CUtCbWiPbu1e0wzbXDdrgJiNSw1esu7AnI9ZnJNYKymNuse/1FD DgNEvsS13zER7+RIYLxav5Qx5VT0X1GU10BP4THa8PCEYLpkmiq6GM= 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:mime-version:content-type; s= default; bh=DrlsgfKzNWRsdI7hnhqB7+GNyQY=; b=g2mMtiJe5Hx33GVoybIY 6HC19kOkFRRrhq0OT2U3eKSByoYno5nKWZRXeG3+GiauDbFy8F6khS/iM7JdLEsb na1yFGfZgqtC34jrCqSzIw+FE9TU3HmgpqMZFnaFMkq9kLz3UBkhNdu7PglBumld bKxIrRsH4D2kutGaby/LlQQ= Received: (qmail 25756 invoked by alias); 16 Oct 2014 12:01:54 -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 25689 invoked by uid 89); 16 Oct 2014 12:01:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 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 (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 16 Oct 2014 12:01:43 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9GC1fmo011839 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 16 Oct 2014 08:01:42 -0400 Received: from redhat.com (ovpn-116-16.ams2.redhat.com [10.36.116.16]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9GC1ctQ013350 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 16 Oct 2014 08:01:41 -0400 Date: Thu, 16 Oct 2014 14:01:38 +0200 From: Marek Polacek To: GCC Patches Subject: [committed] gnu11 fallout: powerpc Message-ID: <20141016120138.GK10501@redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Markus reported on IRC that gnu11 default broke these two tests on powerpc. Applying to trunk. 2014-10-16 Marek Polacek * gcc.target/powerpc/pr58673-1.c: Fix defaulting to int. * gcc.target/powerpc/pr58673-2.c: Add declarations. Marek diff --git gcc/testsuite/gcc.target/powerpc/pr58673-1.c gcc/testsuite/gcc.target/powerpc/pr58673-1.c index 6f7838f..3149c8c 100644 --- gcc/testsuite/gcc.target/powerpc/pr58673-1.c +++ gcc/testsuite/gcc.target/powerpc/pr58673-1.c @@ -65,6 +65,7 @@ deduce_conversion (from, to) void bc_expand_binary_operation (optab, resulttype, arg0, arg1) + int resulttype, arg0, arg1; struct binary_operator optab[]; { int i, besti, cost, bestcost; diff --git gcc/testsuite/gcc.target/powerpc/pr58673-2.c gcc/testsuite/gcc.target/powerpc/pr58673-2.c index b70d2ee..ab84670 100644 --- gcc/testsuite/gcc.target/powerpc/pr58673-2.c +++ gcc/testsuite/gcc.target/powerpc/pr58673-2.c @@ -90,6 +90,9 @@ typedef struct t_coupl_LJ *tcLJ; } t_coupl_rec; +void xvgr_legend (); +real calc_deviation (); +void pr_dev (); static void pr_ff (t_coupl_rec * tcr, real time, t_idef * idef, t_commrec * cr, int nfile, t_filenm fnm[])