> From: Janne Blomqvist <blomqvist.ja...@gmail.com>
> Date: Sun, 20 Jan 2013 20:14:11 +0100

> On Sun, Jan 20, 2013 at 2:29 AM, Hans-Peter Nilsson
> <hans-peter.nils...@axis.com> wrote:
> > Ever since it was changed to a "run" test (from the default
> > "compile", i.e. just producing assembly code), the test
> > gfortran.dg/inquire_10.f90 has failed for newlib targets while
> > linking, because (besides cygwin and some linux support), newlib
> > doesn't have getcwd:
> >
> > /tmp/ccNhxU2l.o: In function `MAIN__':
> > inquire_10.f90:(.text+0x22): undefined reference to 
> > `_gfortran_getcwd_i4_sub'
> > Ok to commit?
> 
> Ok.

Thanks, committed.

> Alternatively, I don't think the getcwd() stuff in that testcase does
> anything particularly useful related to the inquire functionality, so
> one might instead remove lines 5, 10, and 11. Consider such a patch
> pre-approved if you'd rather prefer that.

Nah, it seems like a major point of the test-case to exactly
exercise getcwd; see history.  A grep showed no other *running*
getcwd in gfortran.dg/.  It's a different question whether it
does that job well. :)

brgds, H-P

Reply via email to