From patchwork Wed Sep 19 08:57:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 184955 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]) by ozlabs.org (Postfix) with SMTP id 1591C2C007D for ; Wed, 19 Sep 2012 18:58:47 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sourceware.org; s=default; x=1348649928; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:From:To:Subject:Date:Message-ID:User-Agent:MIME-Version: Content-Transfer-Encoding:Content-Type:Mailing-List:Precedence: List-Id:List-Unsubscribe:List-Subscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=D6t0X6N8Ktqq0gURCSEUnoQtEM4=; b=NcH+NVMTn9v9Qx+/HPT5X/sKRAjbkoxJa3SkCYQ/h9VIBla+C3wnm0QposP9am sFnuJ2FOcGJtfavMFzK2YL2wkuADsGYFzHH6cUuEkCTBuKBXhaNwBgo/jdwmE3Qi G6znJeUjH6WTRGbOd1SVvmJwDTtMtb2cUaVfQijBXs0GA= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=sourceware.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:From:To:Subject:Date:Message-ID:User-Agent:MIME-Version:Content-Transfer-Encoding:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=kV9y2Z7lmD7Udw+pWik2dzWicVKJ7J5x08cnnKMjFl0/Oq44lewn78JQ7WkVYl haT3z3uzT7dkm3Xe5ug9PIfO+jRBUAA4em9JNyFK+xdK6cZEf+A5ZNq42RCrva/H ZsHK+k/eRc7lzJauO2wFdKRzpC5GlXJDJRC8p426FZLaM=; Received: (qmail 3907 invoked by alias); 19 Sep 2012 08:58:18 -0000 Received: (qmail 3848 invoked by uid 22791); 19 Sep 2012 08:58:15 -0000 X-SWARE-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ee0-f41.google.com (HELO mail-ee0-f41.google.com) (74.125.83.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 19 Sep 2012 08:57:54 +0000 Received: by eeke49 with SMTP id e49so377419eek.0 for ; Wed, 19 Sep 2012 01:57:53 -0700 (PDT) Received: by 10.14.179.137 with SMTP id h9mr2757118eem.22.1348045073632; Wed, 19 Sep 2012 01:57:53 -0700 (PDT) Received: from flexo.localnet (freebox.vlq16.iliad.fr. [213.36.7.13]) by mx.google.com with ESMTPS id u8sm5385964eel.11.2012.09.19.01.57.52 (version=SSLv3 cipher=OTHER); Wed, 19 Sep 2012 01:57:53 -0700 (PDT) From: Florian Fainelli To: crossgcc@sourceware.org, "Yann E. MORIN" Subject: [PATCH 2/4] patches/gcc/4.7.0: backport upstream fix for GCC bug 54494 Date: Wed, 19 Sep 2012 10:57:07 +0200 Message-ID: <2177231.MzoPFoVgV4@flexo> User-Agent: KMail/4.8.4 (Linux/3.2.0-24-generic; KDE/4.8.4; x86_64; ; ) MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org # HG changeset patch # User Florian Fainelli # Date 1348043833 -7200 # Node ID a9d2d7870fef02d2a14f6d2902bf7679bf789249 # Parent 3745957b0e7a8cc5ef2001a4b98f098bff6ef658 patches/gcc/4.7.0: backport upstream fix for GCC bug 54494. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54494, also has a serious impact on the Linux/MIPS kernel build. Signed-off-by: Florian Fainelli exporting patch: --- For unsubscribe information see http://sourceware.org/lists.html#faq diff -r 3745957b0e7a -r a9d2d7870fef patches/gcc/4.7.0/001-gcc-bug-54494.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/gcc/4.7.0/001-gcc-bug-54494.patch Wed Sep 19 10:37:13 2012 +0200 @@ -0,0 +1,37 @@ +URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191025 +Log: +2012-09-06 Andrew Pinski + + PR tree-opt/54494 + * tree-inline.c (remap_gimple_op_r): Copy TREE_SIDE_EFFECTS also. +2012-09-06 Andrew Pinski + + PR tree-opt/54494 + * gcc.dg/tree-ssa/strlen-1.c: New testcase. + + +Added: + branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/tree-ssa/strlen-1.c + - copied unchanged from r191014, +trunk/gcc/testsuite/gcc.dg/tree-ssa/strlen-1.c +Modified: + branches/gcc-4_7-branch/ (props changed) + branches/gcc-4_7-branch/gcc/ChangeLog + branches/gcc-4_7-branch/gcc/testsuite/ChangeLog + branches/gcc-4_7-branch/gcc/tree-inline.c + +Propchange: branches/gcc-4_7-branch/ + ('svn:mergeinfo' modified) + +--- +--- gcc-4_7-branch/gcc/tree-inline.c 2012/09/06 13:47:33 191024 ++++ gcc-4_7-branch/gcc/tree-inline.c 2012/09/06 13:51:37 191025 +@@ -871,6 +871,7 @@ + ptr, TREE_OPERAND (*tp, 1)); + TREE_THIS_NOTRAP (*tp) = TREE_THIS_NOTRAP (old); + TREE_THIS_VOLATILE (*tp) = TREE_THIS_VOLATILE (old); ++ TREE_SIDE_EFFECTS (*tp) = TREE_SIDE_EFFECTS (old); + TREE_NO_WARNING (*tp) = TREE_NO_WARNING (old); + *walk_subtrees = 0; + return NULL; +