re PR target/71151 ([avr] -fmerge-constants and -fdata-sections/-ffunction-sections...
authorGeorg-Johann Lay <avr@gjlay.de>
Fri, 1 Jul 2016 12:09:53 +0000 (12:09 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Fri, 1 Jul 2016 12:09:53 +0000 (12:09 +0000)
commit22e1cb39f3a5f083f4c10852c602d65e10292d78
tree5da361799a29b8f80c15f77feb16f75ce2390aea
parent55dcc361e67fb135be96f5e80e93ee98304b3c1e
re PR target/71151 ([avr] -fmerge-constants and -fdata-sections/-ffunction-sections results in string constants in .progmem.gcc_sw section)

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.

From-SVN: r237910
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/avr/pr71151-2.c
gcc/testsuite/gcc.target/avr/pr71151-3.c
gcc/testsuite/gcc.target/avr/pr71151-4.c
gcc/testsuite/gcc.target/avr/pr71151-5.c
gcc/testsuite/gcc.target/avr/pr71151-6.c
gcc/testsuite/gcc.target/avr/pr71151-7.c
gcc/testsuite/gcc.target/avr/pr71151-8.c
gcc/testsuite/gcc.target/avr/pr71151-common.h