This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/67496] trans-array.c sanitizer runtime error: load of value 124, which is not a valid value for type 'bool'
- From: "zeccav at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 30 Apr 2016 00:43:38 +0000
- Subject: [Bug fortran/67496] trans-array.c sanitizer runtime error: load of value 124, which is not a valid value for type 'bool'
- Auto-submitted: auto-generated
- References: <bug-67496-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67496
--- Comment #5 from Vittorio Zecca <zeccav at gmail dot com> ---
Yes, I did test your patch, but nothing changed.
I understand you tried to generate a sanitized version of f951 but the
process failed.
I did the following (approximately):
CFLAGS="-fsanitize=undefined -Og -ggdb -fno-omit-frame-pointer
-L/home/vitti/local/gcc-6.1.0/lib64" CXXFLAGS="-fsanitize=undefined
-Og -ggdb -fno-omit-frame-pointer"
LDFLAGS="-L/home/vitti/local/gcc-6.1.0/lib64 -lubsan -ldl -lpthread"
../gcc-6.1.0/configure --prefix=/home/vitti/local/gcc-6.1.0-undefined
--disable-multilib --enable-languages=c,c++,fortran
--disable-libstdcxx --disable-bootstrap
make
and cross fingers
With an analogous approach I got a -fsanitize=address version of
gcc/g++/gfortran