[Bug c++/81668] LTO ODR warnings are not helpful
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Aug 2 12:46:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81668
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic, lto
CC| |hubicka at gcc dot gnu.org
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Yeah, those cases are obfuscated but usually they have macros expanding to
different things. You can debug this by looking at preprocessed source
of the two places (look at "included from" messages).
Not sure what we do with -fno-diagnostics-show-caret, maybe we dump the
actual types that mismatch. With caret locations those would be often
redundant.
More information about the Gcc-bugs
mailing list