------- Comment #24 from yanov at il dot ibm dot com 2006-01-09 16:15 ------- You might be right; Compiling the code below without Mustafa's patch to cfgrtl.c we get the following ICE on Power5: powerpc-linux if SMS is enabled:
gcc -O -c -fmodulo-sched smaller_comb.c smaller_comb.c: In function foo: smaller_comb.c:9: error: wrong amount of branch edges after conditional jump 9 smaller_comb.c:9: internal compiler error: verify_flow_info failed this is the testcase: int foo(short* vec1, short* vec2, short* vec3,int len ) { int temp,i; for (i=0; i<len; i++) { temp = vec1[i] * 2; temp += vec2[i] * 3 ; vec3[i] = temp; } } n_branch is 0 at the time the error occurs. (In reply to comment #23) > I am no longer working on this bug, from what I hear it is really just to > change the check "n_branch != 1" to "n_branch > 2" but I don't know if that is > true or not. > -- yanov at il dot ibm dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yanov at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24626