[Patch, avr] Fix PR65210

Georg-Johann Lay avr@gjlay.de
Tue Sep 8 08:03:00 GMT 2015


Senthil Kumar Selvaraj schrieb:
>   This (rather trivial) patch fixes PR65210. The ICE happens because code
>   wasn't handling io_low attribute where it is supposed to.

Hi Senthil, could you line out for what these new attributes are good 
for?  The Compiler just maps the argument to a compile-time const, so 
the attributes do the same as a cast to a volatile address.  Except that 
  the user must know in advance what I/O Region is the right one.

Supporting similar RELOCs for io* doesn't make hardly any sense, or are 
there Plans to add respective RELOCs (and ones for bitfields)?

Thanks, Johann



More information about the Gcc-patches mailing list