--- Comment #5 from burnus at gcc dot gnu dot org 2009-06-22 20:31 ---
FIXED on the trunk (4.5) with the patch of PR 40472 comment 19.
--
burnus at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #4 from burnus at gcc dot gnu dot org 2009-06-22 20:15 ---
Thomas, I think your patch does not help.
(In reply to comment #2)
> This patchlet avoids the ICE:
>gfc_array_size (source, &size);
> - if (mpz_get_si (size)*ncopies > gfc_option.flag_max_array_constructor)
> +
--- Comment #3 from dominiq at lps dot ens dot fr 2009-06-22 19:49 ---
I have tested the patch in comments pr40472#12 and pr40472#13 and it fixes the
failures in comment #0 and the failure reported in pr40472#9.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40520
--- Comment #2 from tkoenig at gcc dot gnu dot org 2009-06-22 19:28 ---
Confirmed.
Backtrace:
0 0xb7e574ab in __gmpz_get_si () from /usr/local/lib/libgmp.so.3
#1 0x08132738 in gfc_simplify_spread (source=0x8c370b8, dim_expr=0x8c37128,
ncopies_expr=0x8c37198) at ../../../gcc/trunk
--- Comment #1 from dominiq at lps dot ens dot fr 2009-06-22 14:55 ---
see pr40472.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40520