This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33288] ICE (segfault) in mpfr_cmp2 when evaluating array initializers containing addition
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Sep 2007 21:58:35 -0000
- Subject: [Bug fortran/33288] ICE (segfault) in mpfr_cmp2 when evaluating array initializers containing addition
- References: <bug-33288-9404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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