[PATCH] fortran/45495 -- optional dummy args cannot not be in restricted expressions
Steve Kargl
sgk@troutmask.apl.washington.edu
Fri Sep 3 18:35:00 GMT 2010
On Fri, Sep 03, 2010 at 11:03:22AM -0700, H.J. Lu wrote:
> > ? ? ? ?PR fortran/45495
> > ? ? ? ?* gfortran.dg/dummy_optional_arg.f90: New test.
> >
> > 2010-09-02 ?Steven G. Kargl ?<kargl@gcc.gnu.org>
> >
> > ? ? ? ?PR fortran/45495
> > ? ? ? ?* fortran/expr.c (check_inquiry): Optional dummy argument are not
> > ? ? ? ?permitted in a restricted expression.
> >
>
> The new test fails on Linux/x86:
(snip)
> PASS: gfortran.dg/dummy_procedure_1.f90 -O (test for errors, line 39)
> FAIL: gfortran.dg/dummy_procedure_1.f90 -O (test for errors, line 40)
Wrong thread. I haven't committed this patch, yet.
--
Steve
More information about the Gcc-patches
mailing list