This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/69599] [6 Regression] libgomp.c fipa-pta tests compiled with -flto -flto-partition=max fail in execution


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]