]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgomp/testsuite/libgomp.oacc-c++/firstprivate-mappings-1.C
libgomp testsuite - disable long double for AMDGCN
[thirdparty/gcc.git] / libgomp / testsuite / libgomp.oacc-c++ / firstprivate-mappings-1.C
CommitLineData
85fca03a
TS
1/* Verify OpenACC 'firstprivate' mappings for C++ reference types. */
2
4da92887
TB
3/* PR middle-end/48591 */
4/* PR other/71064 */
5/* Set to 0 for offloading targets not supporting long double. */
6#if defined(ACC_DEVICE_TYPE_nvidia) || defined(ACC_DEVICE_TYPE_gcn)
7# define DO_LONG_DOUBLE 0
8#else
9# define DO_LONG_DOUBLE 1
10#endif
11
85fca03a 12#include "../../../gcc/testsuite/g++.dg/goacc/firstprivate-mappings-1.C"