This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29441] [4.1/4.2 only] non-constant parameter (constant) accepted
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Mar 2007 16:40:54 -0000
- Subject: [Bug fortran/29441] [4.1/4.2 only] non-constant parameter (constant) accepted
- References: <bug-29441-10182@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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