[Bug fortran/34868] ICE with -ff2c for function returning a complex number
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Feb 28 15:43:00 GMT 2008
------- Comment #10 from fxcoudert at gcc dot gnu dot org 2008-02-28 15:43 -------
Subject: Bug 34868
Author: fxcoudert
Date: Thu Feb 28 15:42:21 2008
New Revision: 132751
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132751
Log:
PR fortran/34868
* trans-expr.c (gfc_conv_variable): Don't build indirect
references when explicit interface is mandated.
* resolve.c (resolve_formal_arglist): Set attr.always_explicit
on the result symbol as well as the procedure symbol.
* gfortran.dg/f2c_9.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/f2c_9.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/fortran/trans-expr.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34868
More information about the Gcc-bugs
mailing list