This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/69599] [6 Regression] libgomp.c fipa-pta tests compiled with -flto -flto-partition=max fail in execution
- 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: Tue, 09 Feb 2016 08:52:58 +0000
- Subject: [Bug tree-optimization/69599] [6 Regression] libgomp.c fipa-pta tests compiled with -flto -flto-partition=max fail in execution
- Auto-submitted: auto-generated
- References: <bug-69599-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69599
--- Comment #9 from vries at gcc dot gnu.org ---
Author: vries
Date: Tue Feb 9 08:52:26 2016
New Revision: 233240
URL: https://gcc.gnu.org/viewcvs?rev=233240&root=gcc&view=rev
Log:
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.
Added:
trunk/libgomp/testsuite/libgomp.c/omp-nested-3.c
trunk/libgomp/testsuite/libgomp.c/pr46032-2.c
trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/kernels-2.c
trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/parallel-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-ssa-structalias.c
trunk/libgomp/ChangeLog