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>
* 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.
......
/* { dg-do run } */
#include <stdio.h>
#include <stdlib.h>
int
main (void)
{
__builtin_printf ("CheCKpOInT\n");
fprintf (stderr, "CheCKpOInT\n");
#pragma acc parallel
{
abort ();
......
/* { dg-do run } */
#include <stdio.h>
#include <stdlib.h>
int
main (void)
{
__builtin_printf ("CheCKpOInT\n");
fprintf (stderr, "CheCKpOInT\n");
#pragma acc kernels
{
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