https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98597
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- BTW, I'm not convinced it is ok to use TREE_TYPE (TREE_TYPE arg)) in the !addr case for anything at all even for warnings, as in GIMPLE pointer conversions are useless and therefore it very well could be completely unrelated pointer type (in the more lucky case say void * from say the memory allocation, but if less lucky...).