This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]