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

Reply via email to