Fix GOMP/GOACC_parallel handling in find_func_clobbers
authorTom de Vries <tom@codesourcery.com>
Wed, 9 Dec 2015 10:13:35 +0000 (10:13 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 9 Dec 2015 10:13:35 +0000 (10:13 +0000)
commit76680678a8e6e41ed64b816c65298d3366ad7345
tree9490d31f79d7a751c44230d9503851d7573246b4
parent74fbae9278d935f5623498edc2235fcbba4f9578
Fix GOMP/GOACC_parallel handling in find_func_clobbers

2015-12-09  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/68716
* tree-ssa-structalias.c (find_func_clobbers): Fix handling of
BUILT_IN_GOMP_PARALLEL and BUILT_IN_GOACC_PARALLEL.

* testsuite/libgomp.c/omp-nested-2.c: New test.

From-SVN: r231449
gcc/ChangeLog
gcc/tree-ssa-structalias.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/omp-nested-2.c [new file with mode: 0644]