Add checkpoint to libgomp dg-shouldfail tests (was: [PR testsuite/65205] Fix dg-shouldfail usage in OpenACC libgomp tests)

Janne Blomqvist blomqvist.janne@gmail.com
Fri Aug 14 11:19:00 GMT 2015


On Fri, Aug 14, 2015 at 1:56 PM, Thomas Schwinge
<thomas@codesourcery.com> wrote:
> Hi!
>
> (Can a Fortran person please comment on this: as it's nontrivial to write
> to stderr, let's just write to stdout followed by a flush, which does
> have the same ordering effect -- OK?)

If you want to write to stderr, with gfortran you can just do

  write(0, *) "Foo"

instead of

  print *, "Foo"

(With GFortran, unit=0 corresponds to stderr).




-- 
Janne Blomqvist



More information about the Gcc-patches mailing list