mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-14 21:01:22 +08:00
openacc.h (__GOACC_NOTHROW): Fix noexcept syntax.
* openacc.h (__GOACC_NOTHROW): Fix noexcept syntax. * testsuite/libgomp.oacc-c-c++-common/reduction-4.c (main): Use _Complex. From-SVN: r222966
This commit is contained in:
parent
f8356d52f2
commit
1be0899d94
@ -1,3 +1,10 @@
|
||||
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.
|
||||
|
@ -39,7 +39,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#if __cplusplus >= 201103
|
||||
# define __GOACC_NOTHROW noexcept ()
|
||||
# define __GOACC_NOTHROW noexcept
|
||||
#elif __cplusplus
|
||||
# define __GOACC_NOTHROW throw ()
|
||||
#else /* Not C++ */
|
||||
|
@ -14,7 +14,7 @@ main(void)
|
||||
{
|
||||
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++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user