From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13443 invoked by alias); 20 Nov 2014 14:30:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 13390 invoked by uid 55); 20 Nov 2014 14:30:15 -0000 From: "tejohnson at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/63841] [4.8 Regression] Incorrect strlen optimization after complete unroll Date: Thu, 20 Nov 2014 14:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tejohnson at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-11/txt/msg02258.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63841 --- Comment #12 from tejohnson at gcc dot gnu.org --- Author: tejohnson Date: Thu Nov 20 14:29:41 2014 New Revision: 217858 URL: https://gcc.gnu.org/viewcvs?rev=217858&root=gcc&view=rev Log: 2014-11-20 Teresa Johnson Backport r217522 from gcc-4_9 for Google ref b/18344370 and b/18455179. 2014-11-13 Teresa Johnson PR tree-optimization/63841 * tree-ssa-strlen.c (strlen_optimize_stmt): Ignore clobbers. 2014-11-13 Teresa Johnson PR tree-optimization/63841 * testsuite/g++.dg/tree-ssa/pr63841.C: New test. Added: branches/google/gcc-4_9/gcc/testsuite/g++.dg/tree-ssa/pr63841.C Modified: branches/google/gcc-4_9/gcc/tree-ssa-strlen.c