This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25396] Operator overloading for array-valued functions gets shape incorrectly
- From: "eedelman at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Dec 2005 15:07:52 -0000
- Subject: [Bug fortran/25396] Operator overloading for array-valued functions gets shape incorrectly
- References: <bug-25396-11659@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from eedelman at gcc dot gnu dot org 2005-12-30 15:07 -------
Subject: Bug 25396
Author: eedelman
Date: Fri Dec 30 15:07:48 2005
New Revision: 109172
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109172
Log:
fortran/
2005-12-30 Erik Edelmann <eedelman@gcc.gnu.org>
PR fortran/22607
* trans-decl.c(gfc_get_extern_function_decl): Don't set
DECL_IS_PURE (fndecl) = 1 for return-by-reference
functions.
fortran/PR 25396
* interface.c (gfc_extend_expr): Initialize
e->value.function.name to NULL.
testsuite/
2005-12-30 Erik Edelmann <eedelman@gcc.gnu.org>
PR fortran/22607
* gfortran-dg/pure_byref_3.f90: New.
fortran/PR 25396
* gfortran.dg/userdef_operator_1.f90: New.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/pure_byref_3.f90
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/userdef_operator_1.f90
Modified:
branches/gcc-4_1-branch/gcc/fortran/ChangeLog
branches/gcc-4_1-branch/gcc/fortran/interface.c
branches/gcc-4_1-branch/gcc/fortran/trans-decl.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25396