2018-02-08 Martin Jambor <mjambor@suse.cz>
* testsuite/libgomp.hsa.c/pr82416.c: Make the function with target
clonable.
From-SVN: r257485
+2018-02-08 Martin Jambor <mjambor@suse.cz>
+
+ * testsuite/libgomp.hsa.c/pr82416.c: Make the function with target
+ clonable.
+
2018-02-08 Martin Jambor <mjambor@suse.cz>
* testsuite/libgomp.hsa.c/staticvar.c: New test.
return X;
}
-char __attribute__ ((noipa))
-target_toup (char X)
+char
+target_toup_1 (char X)
{
char r;
#pragma omp target map(to:X) map(from:r)
return r;
}
+char __attribute__ ((noipa))
+target_toup (char X)
+{
+ return target_toup_1 (X);
+}
+
int main (int argc, char **argv)
{
char a = 'a';