[Bug lto/83954] [6/7 Regression] LTO: Bogus -Wlto-type-mismatch warning for array of pointer to incomplete type

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 30 13:22:00 GMT 2018


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.


More information about the Gcc-bugs mailing list