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/29441] [4.1/4.2 only] non-constant parameter (constant) accepted



------- Comment #8 from tobi at gcc dot gnu dot org  2007-03-01 16:40 -------
Subject: Bug 29441

Author: tobi
Date: Thu Mar  1 16:40:34 2007
New Revision: 122433

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122433
Log:
fortran/
Backport from trunk
PR fortran/29441
* intrinsic.c (gfc_intrinsic_func_interface): Always check if
intrinsic is allowed in initialization expression.
testsuite/
Backport from trunk
PR fortran/29441
* gfortran.dg/initialization_4.f90: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/initialization_4.f90
      - copied unchanged from r119101,
trunk/gcc/testsuite/gfortran.dg/initialization_4.f90
Modified:
    branches/gcc-4_1-branch/gcc/fortran/ChangeLog
    branches/gcc-4_1-branch/gcc/fortran/intrinsic.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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