You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling a function with -w and @target attribute LDC will exit with a spurious warning: "ignoring unrecognized special parameter attribute ...".
Here's the program that elicited the warning and subsequent exit on godbolt using 1.39.0:
importcore.attribute;
@target("arch=znver4") void f(size_t n, int* a, int* b, @restrict int* dst) {
foreach(i, ref x; dst[0.. n])
x = a[i] + b[i];
}