[all-commits] [llvm/llvm-project] f3c508: [OPENMP]Fix use of local allocators in allocate cl...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Jan 23 08:15:13 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f3c508fe91606c7383c812838b07ed5433a00dcf
      https://github.com/llvm/llvm-project/commit/f3c508fe91606c7383c812838b07ed5433a00dcf
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2020-01-23 (Thu, 23 Jan 2020)

  Changed paths:
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/parallel_master_codegen.cpp
    M clang/test/OpenMP/teams_distribute_ast_print.cpp

  Log Message:
  -----------
  [OPENMP]Fix use of local allocators in allocate clauses.

If local allocator was declared and used in the allocate clause, it was
not captured in inner region. It leads to a compiler crash, need to
capture the allocator declarator.




More information about the All-commits mailing list