re PR fortran/61109 (ICE in fortran/trans-array.c on dimension 0 arrays)
PR fortran/61109 * trans-array.c (gfc_conv_array_initializer): Fix wide-int conversion bug. From-SVN: r210277
This commit is contained in:
parent
971ed35d7d
commit
4f61140c2a
@ -1,3 +1,9 @@
|
||||
2014-05-09 Mike Stump <mikestump@comcast.net>
|
||||
|
||||
PR fortran/61109
|
||||
* trans-array.c (gfc_conv_array_initializer): Fix wide-int
|
||||
conversion bug.
|
||||
|
||||
2014-05-08 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
* gfortran.h (gfc_isym_id): Add GFC_ISYM_CAF_GET
|
||||
|
@ -5405,7 +5405,6 @@ gfc_conv_array_initializer (tree type, gfc_expr * expr)
|
||||
gfc_conv_structure (&se, expr, 1);
|
||||
|
||||
wtmp = wi::to_offset (TYPE_MAX_VALUE (TYPE_DOMAIN (type))) + 1;
|
||||
gcc_assert (wtmp != 0);
|
||||
/* This will probably eat buckets of memory for large arrays. */
|
||||
while (wtmp != 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user