This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/47850] [4.6 Regression] ICE in gfc_conv_array_initializer


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

--- Comment #14 from Paul Thomas <pault at gcc dot gnu.org> 2011-03-06 20:15:42 UTC ---
Author: pault
Date: Sun Mar  6 20:15:38 2011
New Revision: 170720

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170720
Log:
2011-03-06  Paul Thomas  <pault@gcc.gnu.org>
        Jerry DeLisle  <jvdelisle@gcc.gnu.org>

    PR fortran/47850
    * expr.c (gfc_is_constant_expr): Only use gfc_constant_ac if
    the expression has an iterator.  Otherwise, iterate through the
    array, checking for constant expressions for each element.

2011-03-06  Paul Thomas  <pault@gcc.gnu.org>
        Jerry DeLisle  <jvdelisle@gcc.gnu.org>

    PR fortran/47850
    * gfortran.dg/array_constructor_37.f90 : New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/array_constructor_37.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/expr.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]