https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67496
--- Comment #3 from Vittorio Zecca <zeccav at gmail dot com> --- Just back from my travels. Sorry, I get the same warning on 6.1.0: /home/vitti/1tb/vitti/gcc-6.1.0-undefined/gcc/f951 -quiet gfbug121.f ../../gcc-6.1.0/gcc/fortran/trans-array.c:2234:27: runtime error: load of value 112, which is not a valid value for type 'bool' If you had a sanitized version of f951 maybe you could see it by yourself.