On Wed, 27 Apr 2016, Richard Biener wrote:
Please use types_match_p () instead
Ah, thanks, I couldn't remember the name and spent a bit of time looking
for it with a name like same_type, equal_types, etc, and eventually
assumed the patch adding it had never been committed when I saw we
still had several
(if ((GIMPLE && useless_type_conversion_p (type, TREE_TYPE (@0)))
|| (GENERIC && type == TREE_TYPE (@0)))
I'm fine if you want to disable all this on GENERIC
The main goal of disabling it was to avoid the ugly test, but with
types_match I left it enabled for both.
--
Marc Glisse