r119175 - in /branches/gcc-4_1-branch/gcc: fort...

fxcoudert@gcc.gnu.org fxcoudert@gcc.gnu.org
Fri Nov 24 22:45:00 GMT 2006


Author: fxcoudert
Date: Fri Nov 24 22:45:21 2006
New Revision: 119175

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119175
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.

	PR fortran/29391
	* trans-intrinsic.c (gfc_conv_intrinsic_bound): Generate correct
	code for LBOUND and UBOUND intrinsics.

	PR fortran/29391
	PR fortran/29489
	* gfortran.dg/bound_2.f90: New test.
	* gfortran.dg/bound_3.f90: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/bound_2.f90
      - copied, changed from r117691, trunk/gcc/testsuite/gfortran.dg/bound_2.f90
Modified:
    branches/gcc-4_1-branch/gcc/fortran/ChangeLog
    branches/gcc-4_1-branch/gcc/fortran/simplify.c
    branches/gcc-4_1-branch/gcc/fortran/trans-intrinsic.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list