This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/22607] Elemental character functions don't work



------- Comment #5 from eedelman at gcc dot gnu dot org  2005-11-10 21:24 -------
Subject: Bug 22607

Author: eedelman
Date: Thu Nov 10 21:24:12 2005
New Revision: 106751

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106751
Log:
fortran/
2005-11-10  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/22607
        * trans-decl.c(build_function_decl): Don't set
        DECL_IS_PURE (fndecl) = 1 for return-by-reference
        functions.

testsuite/
2005-11-10  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/22607
        * gfortran-dg/pure_byref_1.f90: New.
        * gfortran-dg/pure_byref_2.f90: New.



Added:
    branches/gcc-4_0-branch/gcc/testsuite/gfortran.dg/pure_byref_1.f90
    branches/gcc-4_0-branch/gcc/testsuite/gfortran.dg/pure_byref_2.f90
Modified:
    branches/gcc-4_0-branch/gcc/fortran/ChangeLog
    branches/gcc-4_0-branch/gcc/fortran/trans-decl.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22607


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]