hi...

i was seeing an infinite recursion in gen_lsm_tmp_name() in trunk.
it only happened with my code, when my __attribute__((restrict)) patch
is applied. 

i dont really know how to reproduce it without it.
but the relevant place doesnt look like its supposed to be a
fallthrough.

see attached patch.

-- 
torben Hohn
diff --git a/gcc/tree-ssa-loop-im.c b/gcc/tree-ssa-loop-im.c
index 1cc5659..3d2cf9b 100644
--- a/gcc/tree-ssa-loop-im.c
+++ b/gcc/tree-ssa-loop-im.c
@@ -1778,6 +1778,7 @@ gen_lsm_tmp_name (tree ref)
 	name = "F";
       lsm_tmp_name_add ("_");
       lsm_tmp_name_add (name);
+      break;
 
     case ARRAY_REF:
       gen_lsm_tmp_name (TREE_OPERAND (ref, 0));

Reply via email to