https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122185
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu.org
--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
To workaround broken/undefined definition of these std:: functions. Maybe
`if (INDIRECT_TYPE_P (TREE_TYPE (x)) == INDIRECT_TYPE_P (TREE_TYPE (r)))`
should be used instead of what was removed.
I am not sure that will fix all of the undefined code out there but at least
will fix this testcase.