[Bug fortran/71066] [4.9/5/6/7 Regression] ICE in set_loop_bounds, at fortran/trans-array.c:4680
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Wed Jun 29 16:35:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71066
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Confirmed, ICEs since GCC 4.6.0.
The ICE appeared between revisions r162456 (2010-07-23, compiles) and r1635293
(2010-08-24, ICE). The ICE is due to the gcc_assert
/* An unknown size constructor will always be rank one.
Higher rank constructors will either have known shape,
or still be wrapped in a call to reshape. */
gcc_assert (loop->dimen == 1);
which is already present at r162456.
IMO the first test in comment 0 is invalid.
More information about the Gcc-bugs
mailing list