mirror of git://gcc.gnu.org/git/gcc.git
abort might not flush all open streams before process termination
libgomp/ * testsuite/libgomp.oacc-c-c++-common/abort-1.c: Print to stderr. * testsuite/libgomp.oacc-c-c++-common/abort-3.c: Likewise. From-SVN: r229382
This commit is contained in:
parent
ecd4fd4382
commit
bdeb752cf8
|
|
@ -1,5 +1,8 @@
|
||||||
2015-10-26 Thomas Schwinge <thomas@codesourcery.com>
|
2015-10-26 Thomas Schwinge <thomas@codesourcery.com>
|
||||||
|
|
||||||
|
* testsuite/libgomp.oacc-c-c++-common/abort-1.c: Print to stderr.
|
||||||
|
* testsuite/libgomp.oacc-c-c++-common/abort-3.c: Likewise.
|
||||||
|
|
||||||
* testsuite/libgomp.oacc-c-c++-common/lib-1.c: Remove explicit
|
* testsuite/libgomp.oacc-c-c++-common/lib-1.c: Remove explicit
|
||||||
acc_device_nvidia usage.
|
acc_device_nvidia usage.
|
||||||
* testsuite/libgomp.oacc-c-c++-common/lib-10.c: Likewise.
|
* testsuite/libgomp.oacc-c-c++-common/lib-10.c: Likewise.
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,12 @@
|
||||||
/* { dg-do run } */
|
/* { dg-do run } */
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
main (void)
|
main (void)
|
||||||
{
|
{
|
||||||
__builtin_printf ("CheCKpOInT\n");
|
fprintf (stderr, "CheCKpOInT\n");
|
||||||
#pragma acc parallel
|
#pragma acc parallel
|
||||||
{
|
{
|
||||||
abort ();
|
abort ();
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,12 @@
|
||||||
/* { dg-do run } */
|
/* { dg-do run } */
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
main (void)
|
main (void)
|
||||||
{
|
{
|
||||||
__builtin_printf ("CheCKpOInT\n");
|
fprintf (stderr, "CheCKpOInT\n");
|
||||||
#pragma acc kernels
|
#pragma acc kernels
|
||||||
{
|
{
|
||||||
abort ();
|
abort ();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue