From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 395 invoked by alias); 10 Nov 2014 15:33:49 -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 323 invoked by uid 55); 10 Nov 2014 15:33:45 -0000 From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/63778] [5 Regression] Segfault with r217178 building 416.gamess from cpu2006 Date: Mon, 10 Nov 2014 15:33: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.0 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/msg00731.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63778 --- Comment #7 from rguenther at suse dot de --- On Mon, 10 Nov 2014, hjl.tools at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63778 > > --- Comment #5 from H.J. Lu --- > (In reply to Richard Biener from comment #3) > > I can't reproduce it on x86_64-linux, neither with unreduced zheev.F > > -DSPEC_CPU > > nor with -march=native added. Trying a cross to ppc64-linux (BE). > > > > HJ, please provide more detailed instructions (I'm on r217281 now). > > It is fixed by r217260. Should we add a testcase for this? Probably - can you reduce sth? It's fixed by the hunk Index: genmatch.c =================================================================== --- genmatch.c (revision 217259) +++ genmatch.c (revision 217260) @@ -1726,6 +1726,7 @@ dt_node::gen_kids (FILE *f, bool gimple) if (exprs_len || fns_len) { fprintf (f, "case SSA_NAME:\n"); + fprintf (f, "if (do_valueize (valueize, %s) != NULL_TREE)\n", kid_opname) ; fprintf (f, "{\n"); fprintf (f, "gimple def_stmt = SSA_NAME_DEF_STMT (%s);\n", kid_opname);