On 10/08/2015 06:59 AM, Richard Henderson wrote:
The current default of making all undefined coversions being
set to null is not useful. It has caused all users to lie
and say that spaces are subsets when they are not, just so
that they can override the conversion.
* expr.c (expand_expr_real_2): Use convert_modes on disjoint
address spaces.
That looks ok.
If you really want to use address spaces, there are two open issues with
them that I'm aware of: TYPE_ADDR_SPACE on arrays does not hold the
address space, which sometimes confuses the expanders (at least it did
in the past), and I seem to recall gcc and gdb don't quite agree on the
debug information. I'm Cc'ing Luis to see if he still has the gcc and
gdb patches we worked out.
Bernd