Re: [Patch, PR 57812] Wasted work in computed_jump_p()

2013-07-22 Thread Chung-Ju Wu
2013/7/23 : > > 2013-07-22 Chang > > * rtlanal.c (computed_jump_p): Exit loop once we find label > reference is used. > The second line is supposed to be aligned with '*' character at first line. Like this: * rtlanal.c (computed_jump_p): Exit loop once we find label

[Patch, PR 57812] Wasted work in computed_jump_p()

2013-07-22 Thread pchang9
Hi, The problem appears in revision 201034 in version 4.9. I also reported this problem at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57812. Bootstrap and regression-tested on x86_64-linux. In method "computed_jump_p()" in gcc/rtlanal.c, the loop on line 2801 should break immediately after "has