[Bug fortran/60341] [4.7/4.8/4.9 Regression] ICE compiling Nonmem 6.2.0

mikael at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 2 18:49:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60341

--- Comment #12 from Mikael Morin <mikael at gcc dot gnu.org> ---
Author: mikael
Date: Sun Mar  2 18:49:18 2014
New Revision: 208259

URL: http://gcc.gnu.org/viewcvs?rev=208259&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:
    branches/gcc-4_7-branch/gcc/testsuite/gfortran.dg/str_comp_optimize_1.f90
Modified:
    branches/gcc-4_7-branch/gcc/fortran/ChangeLog
    branches/gcc-4_7-branch/gcc/fortran/frontend-passes.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list