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/81834] loop with increment conditional on IV is not optimized out


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81834

--- Comment #2 from Geoffrey Allott <geoffrey at allott dot email> ---
Hi Richard, I agree that this seems quite 'arcane' at first glance; I should
explain that I found it when an empty for loop failed to optimize out in rust -
the reduced test case failed to optimize in clang and also gcc, so I posted it
here. My thought is that this kind of pattern might be more common than it
seems at first glance, after other code has been reduced.
null

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