Commit bdeb752c by Thomas Schwinge Committed by Thomas Schwinge

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
parent ecd4fd43
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.
......
/* { 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 ();
......
/* { 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 ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment