Georg-Johann Lay <a...@gjlay.de> writes: > So if a frontend can define address spaces and it is a generic feature, the > question is how to get the name of an address space in a generic, language > independent way.
We could decide that all frontends that use address spaces must define a printable name for each address space. That would mean changing the middle-end address space interface to give a name to each address space. The current middle-end address space interface does not require that address spaces have a name. I was not involved in the addition of address spaces to gcc, and I don't know why they followed the path they did. Ian