[Bug target/43746] -fmerge-constants and -fmerge-all-constants don't work at AVR target
gjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 14 07:49:00 GMT 2011
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
More information about the Gcc-bugs
mailing list