[Bug lto/65950] New: Loop is not vectorized with lto.
ysrumyan at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Apr 30 16:50:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65950
Bug ID: 65950
Summary: Loop is not vectorized with lto.
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: ysrumyan at gmail dot com
Target Milestone: ---
If we compile attached test-case without lto, e.g. using -Ofast and -fopenmp
loop in foo is vectorized but if we add -flto option it won't be vectorized.
The problem is 'exit' statement in main - if we change it to ordinary return
loop will be vectorized with lto too.
More information about the Gcc-bugs
mailing list