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.