[Bug fortran/67496] trans-array.c sanitizer runtime error: load of value 124, which is not a valid value for type 'bool'

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Sat Apr 30 19:16:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67496

--- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> My C is not better than yours, but length_from_typespec might have
> been incorrectly initialized elsewhere, otherwise it is a false positive.

I see

(lldb) p expr->ts.u.cl->length_from_typespec
(bool) $1 = true
(lldb) p (expr->ts.u.cl && expr->ts.u.cl->length_from_typespec)
(bool) $2 = false


More information about the Gcc-bugs mailing list