[Bug target/71151] [avr] -fmerge-constants and -fdata-sections/-ffunction-sections results in string constants in .progmem.gcc_sw section
gjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 1 12:10:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71151
--- Comment #14 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Author: gjl
Date: Fri Jul 1 12:09:53 2016
New Revision: 237910
URL: https://gcc.gnu.org/viewcvs?rev=237910&root=gcc&view=rev
Log:
gcc/testsuite/
PR target/71151
* gcc.target/avr/pr71151-common.h (foo): Use macro SECTION_NAME
instead of ".foo" for its section name.
* gcc.target/avr/pr71151-2.c (SECTION_NAME): Define appropriately
depending on MCU's flash size.
* gcc.target/avr/pr71151-3.c (SECTION_NAME): Dito.
* gcc.target/avr/pr71151-4.c (SECTION_NAME): Dito.
* gcc.target/avr/pr71151-5.c (SECTION_NAME): Dito.
* gcc.target/avr/pr71151-6.c (SECTION_NAME): Dito.
* gcc.target/avr/pr71151-7.c (SECTION_NAME): Dito.
* gcc.target/avr/pr71151-8.c (SECTION_NAME): Dito.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/avr/pr71151-2.c
trunk/gcc/testsuite/gcc.target/avr/pr71151-3.c
trunk/gcc/testsuite/gcc.target/avr/pr71151-4.c
trunk/gcc/testsuite/gcc.target/avr/pr71151-5.c
trunk/gcc/testsuite/gcc.target/avr/pr71151-6.c
trunk/gcc/testsuite/gcc.target/avr/pr71151-7.c
trunk/gcc/testsuite/gcc.target/avr/pr71151-8.c
trunk/gcc/testsuite/gcc.target/avr/pr71151-common.h
More information about the Gcc-bugs
mailing list