This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jan 2010 20:47:19 -0000
- Subject: [Bug bootstrap/42511] bootstrap error in stage3 on alpha-linux-gnu
- References: <bug-42511-5724@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from ubizjak at gmail dot com 2010-01-05 20:47 -------
Got the problem. stage1 compiler miscompiles determine_max_movement() from
tree-ssa-loop-im.c.
Following """"patch"""" fixes the testcase from comment #5:
Index: tree-ssa-loop-im.c
===================================================================
--- tree-ssa-loop-im.c (revision 155643)
+++ tree-ssa-loop-im.c (working copy)
@@ -677,6 +677,7 @@
level = superloop_at_depth (loop, 1);
lim_data->max_loop = level;
+ debug_gimple_stmt (stmt);
FOR_EACH_SSA_TREE_OPERAND (val, stmt, iter, SSA_OP_USE)
if (!add_dependency (val, lim_data, loop, true))
return false;
I will restart bootstrap now.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42511