https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78093

--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Author: gjl
Date: Mon Oct 24 11:02:51 2016
New Revision: 241468

URL: https://gcc.gnu.org/viewcvs?rev=241468&root=gcc&view=rev
Log:
gcc/
        PR target/78093
        * doc/extend.texi (AVR Variable Attributes) [absdata]: Document it.
        * config/avr/avr.c (AVR_SYMBOL_FLAG_TINY_ABSDATA): New macro.
        (avr_address_tiny_absdata_p): New static function.
        (avr_legitimate_address_p, avr_legitimize_address) [AVR_TINY]: Use
        it to determine validity of constant addresses.
        (avr_attribute_table) [absdata]: New variable attribute...
        (avr_handle_absdata_attribute): ...and handler.
        (avr_decl_absdata_p): New static function.
        (avr_encode_section_info) [AVR_TINY]: Use it to add flag
        AVR_SYMBOL_FLAG_TINY_ABSDATA to respective symbols_refs.
        (avr_address_cost) [AVR_TINY]: absdata addresses cost 2.
gcc/testsuite/
        PR target/78093
        * lib/target-supports.exp (check_effective_target_avr_tiny): New proc.
        * gcc.target/avr/torture/tiny-absdata-1.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/avr/torture/tiny-absdata-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/avr/avr.c
    trunk/gcc/doc/extend.texi
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/lib/target-supports.exp

Reply via email to