https://bugs.llvm.org/show_bug.cgi?id=44133
Bug ID: 44133
Summary: compiler error omp declare reduction inside of
template function
Product: OpenMP
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Clang Compiler Support
Assignee: unassignedclangb...@nondot.org
Reporter: steffen.seck...@tum.de
CC: llvm-bugs@lists.llvm.org
When compiling the attached file with
clang++-9 -fopenmp -std=c++17 test.cpp
I get a segmentation fault inside of clang.
This happens when I try to declare an omp reduction inside of a template
function.
If I move the declaration outside of the template function the code compiles.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs