This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29973] [4.2 only] CHAR not allowed as actual argument, even in F2003
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Dec 2006 20:57:41 -0000
- Subject: [Bug fortran/29973] [4.2 only] CHAR not allowed as actual argument, even in F2003
- References: <bug-29973-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from fxcoudert at gcc dot gnu dot org 2006-12-11 20:57 -------
Subject: Bug 29973
Author: fxcoudert
Date: Mon Dec 11 20:57:10 2006
New Revision: 119747
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119747
Log:
PR fortran/29892
* trans-intrinsic.c (gfc_conv_intrinsic_bound): Use a locus in
the call to gfc_trans_runtime_check.
* trans-array.c (gfc_trans_array_bound_check): Try harder to find
the variable or function name for the runtime error message.
(gfc_trans_dummy_array_bias): Use a locus in the call to
gfc_trans_runtime_check
PR fortran/29973
* resolve.c (resolve_actual_arglist): Remove the special case for
CHAR.
* intrinsic.c (add_functions): Remove the special case for CHAR.
PR fortran/29711
* error.c (error_print): Handle printf-style position specifiers,
of the form "%3$d".
PR fortran/29973
* gfortran.dg/specifics_1.f90: Remove check for CHAR.
* gfortran.dg/specifics_2.f90: Remove check for CHAR.
* gfortran.dg/specifics_3.f90: Remove.
* gfortran.fortran-torture/execute/specifics.f90: Remove test
for CHAR.
Removed:
branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/specifics_3.f90
Modified:
branches/gcc-4_2-branch/gcc/fortran/ChangeLog
branches/gcc-4_2-branch/gcc/fortran/error.c
branches/gcc-4_2-branch/gcc/fortran/intrinsic.c
branches/gcc-4_2-branch/gcc/fortran/resolve.c
branches/gcc-4_2-branch/gcc/fortran/trans-array.c
branches/gcc-4_2-branch/gcc/fortran/trans-intrinsic.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/specifics_1.f90
branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/specifics_2.f90
branches/gcc-4_2-branch/gcc/testsuite/gfortran.fortran-torture/execute/specifics.f90
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29973