This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/42906] [4.5 Regression] Empty loop not removed



------- Comment #16 from pinskia at gcc dot gnu dot org  2010-02-16 19:57 -------
> In this case, the loop itself is "empty" and we can replace every use of the
> phi with "n" (exit value of the iv).

I don't think that is done by remove_empty_loop anyways and it is already done
by sccp (Propagation of constants using scev) which is enabled at -O1.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42906


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]