https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64396
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64396
Andrew Pinski changed:
What|Removed |Added
Keywords||missed-optimization
Severity|m
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64396
--- Comment #1 from Andrew Pinski ---
The reason is GCC tries to be smart of calculating s4 outside of the loop
because the iv that might be selected is not related at all to s4. That is it
might do:
int limit = es4-s4;
int i = 0;
for(i=0;i