]> gcc.gnu.org Git - gcc.git/commit
re PR fortran/33288 (ICE (segfault) in mpfr_cmp2 when evaluating array initializers...
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Thu, 20 Sep 2007 21:58:23 +0000 (21:58 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Thu, 20 Sep 2007 21:58:23 +0000 (21:58 +0000)
commit4f68f111df59d8474f3635bb7a3eb5e0469b722b
treefe0494cb3b16d6bdc2d81609a958aedec1998bc4
parentcc459ab40ad75779ba111199bd75437399251cc3
re PR fortran/33288 (ICE (segfault) in mpfr_cmp2 when evaluating array initializers containing addition)

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.

From-SVN: r128632
gcc/fortran/ChangeLog
gcc/fortran/arith.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/array_constructor_19.f90 [new file with mode: 0644]
This page took 0.063622 seconds and 5 git commands to generate.