2017-08-21 16:35 GMT+04:00 Georg-Johann Lay <a...@gjlay.de>:
> "address" attribute only must be specified with VARs,
> yet the compiler dived into attribute analysis for
> non-VARs, resulting in ICE.
>
> This patch also adds OPT_Wattributes as warning filter.
>
> Ok to apply?

Approved.
Please apply.


>
> Johann
>
> gcc/
>         PR target/81910
>         * config/avr/avr.c (avr_handle_addr_attribute): Early return if
>         not VAR_P. Filter attribute warnings with OPT_Wattributes.
>         (avr_attribute_table) <io, io_low, address>: Initialize
>         .decl_required with true.

Reply via email to