https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84234
--- Comment #6 from Florian Lemaitre ---
I want auto-vectorization, not guided vectorization.
Basically, I try to write a fast RSQRT that will not break auto vectorization,
and this will be integrated in a large scale project where it is easy to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84234
--- Comment #4 from Florian Lemaitre ---
Ah... ok. I understand.
Indeed, declaring the function const works as expected.
So, I guess we can say it is not a bug, and close the bug report?
However, I really think this should be documented somewhe
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84234
--- Comment #2 from Florian Lemaitre ---
Well, I should mention that using __attribute((simd)) also has the issue.
So I don't think the problem lies in OpenMP front end.
Assignee: unassigned at gcc dot gnu.org
Reporter: gcc.account at lemaitre dot re
Target Milestone: ---
Created attachment 43344
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43344&action=edit
Simple example showing the bug: gcc -O3 -fopenmp-simd
When I try
: TREE
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: gcc.account at lemaitre dot re
Target Milestone: ---
Created attachment 42100
--> https://gcc.gnu.org/bugzilla/attachment.cgi