[Ptach, fortran] PR25818 - Problem with handling optional and entry master arguments
Steve Kargl
sgk@troutmask.apl.washington.edu
Fri Dec 22 04:23:00 GMT 2006
On Thu, Dec 21, 2006 at 11:34:17PM +0100, Paul Thomas wrote:
> 2006-12-21 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/25818
> * trans-array.c (gfc_trans_g77_array): If the variable is
> optional or not always present, make the statement conditional
> on presence of the argument.
> * gfortran.h : Add symbol_attribute not_always_present.
> * resolve.c (check_argument_lists): New function to check if
> arguments are not present in all entries.
> (resolve_entries): Call check_argument_lists.
>
> 2006-12-21 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/25818
> * gfortran.dg/entry_array_specs_2.f: New test.
>
Your patch on i386-*-freebsd gives
FAIL: gfortran.fortran-torture/execute/entry_3.f90, -O0 (internal compiler error)
FAIL: gfortran.fortran-torture/execute/entry_3.f90, -O1 (internal compiler error)
FAIL: gfortran.fortran-torture/execute/entry_3.f90, -O2 (internal compiler error)
FAIL: gfortran.fortran-torture/execute/entry_3.f90, -O3 -fomit-frame-pointer (internal compiler error)
FAIL: gfortran.fortran-torture/execute/entry_3.f90, -O3 -fomit-frame-pointer -funroll-loops (internal compiler error)
FAIL: gfortran.fortran-torture/execute/entry_3.f90, -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (internal compiler error)
FAIL: gfortran.fortran-torture/execute/entry_3.f90, -O3 -g (internal compiler error)
FAIL: gfortran.fortran-torture/execute/entry_3.f90, -Os (internal compiler err
I'm looking into the problem.
--
Steve
More information about the Fortran
mailing list