[Bug sanitizer/56245] -fsanitize=address miscompiles GCC

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 8 14:32:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56245

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-08 14:32:13 UTC ---
I don't see how a libasan change could cause a "miscompilation" of gengtype.
Anyway, I've rebuild build/gengtype* with
rm -f build/gengtype*
make CXX='./xg++ -B ./ -fsanitize=address
`../x86_64-unknown-linux-gnu/libstdc++-v3/scripts/testsuite_flags
--build-includes`' build/gengtype
LD_LIBRARY_PATH=../x86_64-unknown-linux-gnu/libsanitizer/asan/.libs/
build/gengtype -S ../../gcc -I gtyp-input.list -w tmp-gtype.state
and it works just fine.



More information about the Gcc-bugs mailing list