This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r208249 - in /trunk/gcc: fortran/ChangeLog fort...
- From: mikael at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 01 Mar 2014 21:14:54 -0000
- Subject: r208249 - in /trunk/gcc: fortran/ChangeLog fort...
Author: mikael
Date: Sat Mar 1 21:14:54 2014
New Revision: 208249
URL: http://gcc.gnu.org/viewcvs?rev=208249&root=gcc&view=rev
Log:
fortran/
PR fortran/60341
* frontend-passes.c (optimize_comparison): Guard two union
accesses with the corresponding tag checks.
testsuite/
PR fortran/60341
* gfortran.dg/str_comp_optimize_1.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/str_comp_optimize_1.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/frontend-passes.c
trunk/gcc/testsuite/ChangeLog