[Bug fortran/24285] [4.2 only] format(1000(a,$))
------- Comment #9 from fxcoudert at gcc dot gnu dot org 2006-11-24 22:25 -------
Subject: Bug 24285
Author: fxcoudert
Date: Fri Nov 24 22:25:34 2006
New Revision: 119174
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119174
Log:
PR fortran/29391
PR fortran/29489
* simplify.c (simplify_bound): Fix the simplification of
LBOUND/UBOUND intrinsics.
* trans-intrinsic.c (simplify_bound): Fix the logic, and
remove an erroneous assert.
* gfortran.dg/bound_2.f90: New test.
* gfortran.dg/bound_3.f90: New test.
PR fortran/24285
* io.c (check_format): Allow dollars everywhere in format, and
issue a warning.
* gfortran.dg/dollar_edit_descriptor-3.f: New test.
Added:
branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/dollar_edit_descriptor-3.f
- copied unchanged from r118971,
trunk/gcc/testsuite/gfortran.dg/dollar_edit_descriptor-3.f
Modified:
branches/gcc-4_2-branch/gcc/fortran/ChangeLog
branches/gcc-4_2-branch/gcc/fortran/io.c
branches/gcc-4_2-branch/gcc/fortran/simplify.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/bound_2.f90
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24285
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
Reply to: