Handle BUILT_IN_GOMP_PARALLEL in ipa-pta
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Nov 2015 16:34:26 +0000 (16:34 +0000)
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Nov 2015 16:34:26 +0000 (16:34 +0000)
commit32f0f54b754e69d96937c3268fb520d30b70ddb3
treefe36cf7c64756119ed297892e4582c3f0d2973bc
parent851c1b0cf306bd436efb3daefc3bc6d8d13b97cb
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231076 138bc75d-0d04-0410-961f-82ee72b054a4
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]