[Bug middle-end/60762] [ASAN] -fsanitize=address fails with LTO
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60762 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |WORKSFORME --- Comment #4 from Andrew Pinski --- Works for me in GCC 4.9.0 even (on https://godbolt.org/). Since there is no way to reproduce this closing as works for me.
[Bug middle-end/60762] [ASAN] -fsanitize=address fails with LTO
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60762 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed||2017-01-20 CC||marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from Martin Liška --- Can't reproduce, may I close the issue?
[Bug middle-end/60762] [ASAN] -fsanitize=address fails with LTO
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60762 --- Comment #2 from Andrew Pinski --- does this work now?
[Bug middle-end/60762] [ASAN] -fsanitize=address fails with LTO
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60762 --- Comment #1 from Tobias Burnus burnus at gcc dot gnu.org --- Hmm, the problem turns out to be more subtle: I compiled the same program on CentOS 6.4 and on openSUSE 13.1. Result: * On CentOS, both binaries fail with the assert (also independent of the use of a linker plugin) * On openSUSE, both binaries work fine. Also copying libasan.so to the other system made no difference. While without -flto, the code runs fine on CentOS 6.4.