[Bug fortran/33288] ICE (segfault) in mpfr_cmp2 when evaluating array initializers containing addition
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Sep 20 21:58:00 GMT 2007
------- Comment #8 from fxcoudert at gcc dot gnu dot org 2007-09-20 21:58 -------
Subject: Bug 33288
Author: fxcoudert
Date: Thu Sep 20 21:58:23 2007
New Revision: 128632
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128632
Log:
PR fortran/33288
* arith.c (reduce_unary, reduce_binary_ac, reduce_binary_ca,
reduce_binary_aa): Call ourselves recursively if an element of
the constructor is itself a constant array.
* gfortran.dg/array_constructor_19.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/array_constructor_19.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/arith.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33288
More information about the Gcc-bugs
mailing list