http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46097
Ian Lance Taylor <ian at airs dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ian at airs dot com --- Comment #30 from Ian Lance Taylor <ian at airs dot com> 2010-10-22 23:49:16 UTC --- The gold linker has a --detect-odr-violations option, which is reasonably effective when used with C++ code which is compiled with -g and without any optimization.