https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71706
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.9/7 Regression] ICE on |[6/7 Regression] ICE on |using sync images with |using sync images with |integer(kind<>4), with |integer(kind<>4), with |-fcoarray=lib |-fcoarray=lib |-fcheck=bounds |-fcheck=bounds --- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > Confirmed on trunk, following releases are OK: > > 5.1.0: running command with result: OK > 5.2.0: running command with result: OK > 5.3.0: running command with result: OK > 5.4.0: running command with result: OK > 6.1.0: running command with result: OK As stated in comment 0, the ICE requires gcc configured with --enable-checking=yes and not with --enable-checking=release (default for releases). I have only a few old revisions configured with --enable-checking=yes (the default for experimental): revision r234794, 6.0.0 20160406 (experimental), gives the ICE, while r220825, 5.0.0 20150219 (experimental), does not.