aboutsummaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.oacc-c-c++-common/firstprivate-mappings-1.c
blob: 2cdd2d1525e785ac18498479737212ccab30c762 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Verify OpenACC 'firstprivate' mappings.  */

/* { dg-additional-options "-Wno-psabi" } as apparently we're doing funny
   things with vector arguments.  */

/* PR middle-end/48591 */
/* PR other/71064 */
/* Set to 0 for offloading targets not supporting long double.  */
#if defined(ACC_DEVICE_TYPE_nvidia) || defined(ACC_DEVICE_TYPE_radeon)
# define DO_LONG_DOUBLE 0
#else
# define DO_LONG_DOUBLE 1
#endif

#include "../../../gcc/testsuite/c-c++-common/goacc/firstprivate-mappings-1.c"