[llvm-bugs] [Bug 46593] New: OpenMP: Reduction initializer missing construnctor call. Test segfaults failed at runtime.

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jul 5 16:37:18 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46593

            Bug ID: 46593
           Summary: OpenMP: Reduction initializer missing construnctor
                    call. Test segfaults failed at runtime.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: OpenMP
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jennifer.yu at intel.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 23686
  --> https://bugs.llvm.org/attachment.cgi?id=23686&action=edit
small test case

I attached test case which passes with g++ but failed at runtime.

>clang++ -fopenmp x.cpp
>./a.out
Segmentation fault (core dumped)

>g++ -fopenmp x.cpp
>./a.out
PASSED

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200705/ecc9298f/attachment.html>


More information about the llvm-bugs mailing list