[Bug fortran/38675] FAIL: gfortran.dg/parameter_array_init_3.f90 -O (internal compiler error)

danglin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 1 17:44:00 GMT 2009



------- Comment #8 from danglin at gcc dot gnu dot org  2009-01-01 17:43 -------
Subject: Bug 38675

Author: danglin
Date: Thu Jan  1 17:42:00 2009
New Revision: 142995

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142995
Log:
        PR fortran/38675
        Backport from mainline:
        2008-12-09  Mikael Morin  <mikael.morin@tele2.fr>

        PR fortran/37469
        * expr.c (find_array_element): Simplify array bounds.
        Assert that both bounds are constant expressions.

        2008-10-31  Mikael Morin  <mikael.morin@tele2.fr>

        * expr.c (gfc_reduce_init_expr): New function, containing checking code
        from gfc_match_init_expr, so that checking can be deferred. 
        (gfc_match_init_expr): Use gfc_reduce_init_expr.
        * match.h (gfc_reduce_init_expr): Prototype added. 


Modified:
    branches/gcc-4_3-branch/gcc/fortran/ChangeLog
    branches/gcc-4_3-branch/gcc/fortran/expr.c
    branches/gcc-4_3-branch/gcc/fortran/match.h


-- 


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



More information about the Gcc-bugs mailing list