This is the mail archive of the gcc-bugs@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]

[Bug target/43746] -fmerge-constants and -fmerge-all-constants don't work at AVR target


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43746

--- Comment #4 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-07-14 07:49:19 UTC ---
Author: gjl
Date: Thu Jul 14 07:49:14 2011
New Revision: 176262

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176262
Log:
gcc/
    PR target/43746
    * config/avr/elf.h (TARGET_ASM_SELECT_SECTION): Remove,
    i.e. use default_elf_select_section.
    (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Remove.
    (READONLY_DATA_SECTION_ASM_OP): Remove.
    (TARGET_ASM_NAMED_SECTION): Move from here...
    * config/avr/avr.c: ...to here.
    (avr_asm_init_sections): Set unnamed callback of
    readonly_data_section.
    (avr_asm_named_section): Make static.

testsuite/
    PR target/43746
    * gcc.dg/array-quals-1.c: Don't xfail on AVR.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/avr/avr.c
    trunk/gcc/config/avr/elf.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/array-quals-1.c


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