https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112830
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2023-12-03
CC| |pinskia at gcc dot gnu.org
Status|UNCONFIRMED |NEW
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The middle-end of GCC definitely does not support the case where size_type for
address spaces is different from the original type. At this point as shown by
the other bug reports too. I had ideas of how to change/fix that but have not
implemented it since the targets recently I work on don't have that issue (well
don't have address spaces either).
This work does require modifying almost all of the middle-end to support this.
Did it get this support worse with the addition of pointer plus, yes but at the
same time it did get easier to implement.