This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]