]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix GOMP/GOACC_parallel optimization in ipa-pta
authorTom de Vries <tom@codesourcery.com>
Tue, 9 Feb 2016 08:52:26 +0000 (08:52 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Tue, 9 Feb 2016 08:52:26 +0000 (08:52 +0000)
commit17b6426cda63dfd5f79e98da4d0e80b5e2baa742
treea53640e73561f39233aab57200e2532f657e2423
parent7e1e8a0ae14583dced3eff91e9fc2a6c783e27de
Fix GOMP/GOACC_parallel optimization in ipa-pta

2016-02-09  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/69599
* tree-ssa-structalias.c (fndecl_maybe_in_other_partition): New
function.
(find_func_aliases_for_builtin_call, find_func_clobbers)
(ipa_pta_execute):  Handle case that foo and foo._0 are not in same lto
partition.

* testsuite/libgomp.c/omp-nested-3.c: New test.
* testsuite/libgomp.c/pr46032-2.c: New test.
* testsuite/libgomp.oacc-c-c++-common/kernels-2.c: New test.
* testsuite/libgomp.oacc-c-c++-common/parallel-2.c: New test.

From-SVN: r233240
gcc/ChangeLog
gcc/tree-ssa-structalias.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/omp-nested-3.c [new file with mode: 0644]
libgomp/testsuite/libgomp.c/pr46032-2.c [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-c-c++-common/kernels-2.c [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-c-c++-common/parallel-2.c [new file with mode: 0644]