r165248 - in /trunk/gcc: fortran/ChangeLog fort...

tkoenig@gcc.gnu.org tkoenig@gcc.gnu.org
Sun Oct 10 09:52:00 GMT 2010


Author: tkoenig
Date: Sun Oct 10 09:52:46 2010
New Revision: 165248

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165248
Log:
2010-10-09  Thomas Koenig  <tkoenig@gcc.gnu.org>

	* frontend-passes.c:  Include opts.h.
	(optimize_comparison):  Renamed from optimize_equality.
	Change second argument to operation to be compared.
	Use flag_finite_math_only to avoid comparing REAL and
	COMPLEX only when NANs are honored.  Simplify comparing
	of string concatenations where left or right operands are
	equal.  Simplify all comparison operations, based on the result
	of gfc_dep_compare_expr.
	* dependency.c:  Include arith.h.
	(gfc_are_identical_variables):  Volatile variables should not
	compare equal to themselves.
	(gfc_dep_compare_expr):  Handle string constants and string
	concatenations.

2010-10-09  Thomas Koenig  <tkoenig@gcc.gnu.org>

	* gfortran.dg/character_comparison_4.f90:  New test.
	* gfortran.dg/character_comparison_5.f90:  New test.
	* gfortran.dg/character_comparison_6.f90:  New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/character_comparison_4.f90
    trunk/gcc/testsuite/gfortran.dg/character_comparison_5.f90
    trunk/gcc/testsuite/gfortran.dg/character_comparison_6.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/dependency.c
    trunk/gcc/fortran/frontend-passes.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list