]> git.ipfire.org Git - thirdparty/gcc.git/commit
Handle BUILT_IN_GOMP_PARALLEL in ipa-pta
authorTom de Vries <tom@codesourcery.com>
Mon, 30 Nov 2015 16:34:26 +0000 (16:34 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 30 Nov 2015 16:34:26 +0000 (16:34 +0000)
commite0ca27c53103d532b51a61679b5d4c13d35a09d0
treefe36cf7c64756119ed297892e4582c3f0d2973bc
parent7b90c63a28e85014656ecab28459dcd23c7d2457
Handle BUILT_IN_GOMP_PARALLEL in ipa-pta

2015-11-30  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/46032
* tree-ssa-structalias.c (find_func_aliases_for_call_arg): New function,
factored out of ...
(find_func_aliases_for_call): ... here.
(find_func_aliases_for_builtin_call, find_func_clobbers): Handle
BUILT_IN_GOMP_PARALLEL.
(ipa_pta_execute): Same.  Handle node->parallelized_function as a local
function.

* gcc.dg/pr46032.c: New test.

* testsuite/libgomp.c/pr46032.c: New test.

From-SVN: r231076
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr46032.c [new file with mode: 0644]
gcc/tree-ssa-structalias.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr46032.c [new file with mode: 0644]