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/46032] openmp inhibits loop vectorization


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46032

--- Comment #23 from vries at gcc dot gnu.org ---
Author: vries
Date: Mon Nov 30 16:34:26 2015
New Revision: 231076

URL: https://gcc.gnu.org/viewcvs?rev=231076&root=gcc&view=rev
Log:
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.

Added:
    trunk/gcc/testsuite/gcc.dg/pr46032.c
    trunk/libgomp/testsuite/libgomp.c/pr46032.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/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]