This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/46032] openmp inhibits loop vectorization
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 24 May 2015 13:56:51 +0000
- Subject: [Bug tree-optimization/46032] openmp inhibits loop vectorization
- Auto-submitted: auto-generated
- References: <bug-46032-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46032
--- Comment #11 from vries at gcc dot gnu.org ---
The ipa-pta solution no longer works. In 4.6, we had:
...
# USE = anything
# CLB = anything
GOMP_parallel_startD.1048 (main._omp_fn.0D.1472, &.omp_data_o.1D.1484, 0);
# USE = anything
# CLB = anything
main._omp_fn.0D.1472 (&.omp_data_o.1D.1484);
# USE = anything
# CLB = anything
GOMP_parallel_endD.1049 ();
...
On trunk, we have now:
...
# USE = anything
# CLB = anything
GOMP_parallelD.1345 (main._omp_fn.0D.1844, &.omp_data_o.1D.1856, 0, 0);
...
So there's no longer a path in the call graph from main to main._omp_fn.
Perhaps a dummy body for GOMP_parallel could fix that.