https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83954
Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[6/7/8 Regression] LTO: |[6/7 Regression] LTO: Bogus |Bogus -Wlto-type-mismatch |-Wlto-type-mismatch warning |warning for array of |for array of pointer to |pointer to incomplete type |incomplete type --- Comment #10 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Fixed on trunk so far. It should be easy to backport this to gcc6 and 7. Earlier GCC's are not affected because they had no warning and more restricted TBAA with LTO.