https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67514
Bug ID: 67514
Summary: ICE in omp_add_variable
Product: gcc
Version: 5.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
Target Milestone: ---
template <class T>
void
foo (T x, T y)
{
#pragma omp parallel
#pragma omp for simd
for (T i = x; i < y; ++i)
;
}
void
bar (int *x, int *y)
{
foo (x, y);
}
void
baz (int x, int y)
{
foo (x, y);
}
ICEs in omp_add_variable