[named address] ice-on-valid: in postreload.c:reload_cse_simplify_operands

Georg-Johann Lay avr@gjlay.de
Wed Aug 17 17:44:00 GMT 2011


http://gcc.gnu.org/ml/gcc/2011-08/msg00131.html

Georg-Johann Lay a écrit:
> Ulrich Weigand wrote:
> 
>>Georg-Johann Lay wrote:
>>
>>>Thanks, it works.
>>
>>OK, thanks for testing!
> [...]
> 
>>Bye,
>>Ulrich

Are you going to install that patch? Or maybe you already installed it?

Then, I wonder how the following named AS code translates:

int a = *((__as int*) 1000);

As const_int don't have a machmode (yet), I guess the above line just 
reads from generic AS and reading from a specific address from named AS 
cannot work.

Moreover, INDEX_REG_CLASS, REGNO_OK_FOR_INDEX_P, HAVE_PRE_INCREMENT et 
al. and maybe others are AS-dependent.

Johann



More information about the Gcc mailing list