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:
Thomas Schwinge 2015-10-26 17:25:04 +01:00 committed by Thomas Schwinge
parent ecd4fd4382
commit bdeb752cf8
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,8 @@
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
acc_device_nvidia usage.
* testsuite/libgomp.oacc-c-c++-common/lib-10.c: Likewise.

View File

@ -1,11 +1,12 @@
/* { dg-do run } */
#include <stdio.h>
#include <stdlib.h>
int
main (void)
{
__builtin_printf ("CheCKpOInT\n");
fprintf (stderr, "CheCKpOInT\n");
#pragma acc parallel
{
abort ();

View File

@ -1,11 +1,12 @@
/* { dg-do run } */
#include <stdio.h>
#include <stdlib.h>
int
main (void)
{
__builtin_printf ("CheCKpOInT\n");
fprintf (stderr, "CheCKpOInT\n");
#pragma acc kernels
{
abort ();