This is the mail archive of the gcc-patches@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: [patch,avr] Fir PR91910: ICE for bad attribute "address".


2017-08-21 16:35 GMT+04:00 Georg-Johann Lay <avr@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.


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