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/30237] Alternate return arguments in intrinsic subroutine calls are ignored



------- Comment #4 from pault at gcc dot gnu dot org  2006-12-28 18:41 -------
Subject: Bug 30237

Author: pault
Date: Thu Dec 28 18:41:25 2006
New Revision: 120244

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120244
Log:
2006-12-28  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/30034
        * resolve.c (resolve_formal_arglist): Exclude the test for
        pointers and procedures for subroutine arguments as well as
        functions.

        PR fortran/30237
        * intrinsic.c (remove_nullargs): Do not pass up arguments with
        a label. If the actual has a label and the formal has a type
        then emit an error.

2006-12-28  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/30034
        * gfortran.dg/pure_formal_proc_1.f90: New test.

        PR fortran/30237
        * gfortran.dg/intrinsic_actual_3.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/intrinsic_actual_3.f90
    trunk/gcc/testsuite/gfortran.dg/pure_formal_proc_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/intrinsic.c
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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