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.