[Bug c++/60269] New: #pragma simd tsubst related ICE
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 19 09:40:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60269
Bug ID: 60269
Summary: #pragma simd tsubst related ICE
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
CC: bviyer at gcc dot gnu.org
template <int N>
void
foo (int *a, int *b, int *c)
{
#pragma simd vectorlength (N)
for (int i = 0; i < N; i++)
a[i] = b[i] * c[i];
}
void
bar (int *a, int *b, int *c)
{
foo <64> (a, b, c);
}
ICEs with -fcilkplus, so clearly tsubst on it is not performed correctly.
More information about the Gcc-bugs
mailing list