* openacc.h (__GOACC_NOTHROW): Fix noexcept syntax.
* testsuite/libgomp.oacc-c-c++-common/reduction-4.c (main): Use
_Complex.
From-SVN: r222966
+2015-05-08 Jason Merrill <jason@redhat.com>
+
+ * testsuite/libgomp.oacc-c-c++-common/reduction-4.c (main): Use
+ _Complex.
+
+ * openacc.h (__GOACC_NOTHROW): Fix noexcept syntax.
+
2015-05-06 Julian Brown <julian@codesourcery.com>
* oacc-init.c (acc_device_lock): Add explanatory comment.
#endif
#if __cplusplus >= 201103
-# define __GOACC_NOTHROW noexcept ()
+# define __GOACC_NOTHROW noexcept
#elif __cplusplus
# define __GOACC_NOTHROW throw ()
#else /* Not C++ */
{
const int n = 1000;
int i;
- double complex vresult, result, array[n];
+ double _Complex vresult, result, array[n];
bool lvresult, lresult;
for (i = 0; i < n; i++)