Adjust tests to AVR_TINY.
authorGeorg-Johann Lay <avr@gjlay.de>
Mon, 15 Jan 2018 11:18:18 +0000 (11:18 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Mon, 15 Jan 2018 11:18:18 +0000 (11:18 +0000)
commit1759d1167a0d747c9c8578034586ed5fcdb48219
treeb9e0c85c6806aaaeb72914fcea0742e37d7caf64
parentbab0a26de5cfe4e99e894d0be7ec983076d48cdf
Adjust tests to AVR_TINY.

* gcc.target/avr/progmem.h (pgm_read_char): Handle AVR_TINY.
* gcc.target/avr/pr52472.c: Add "! avr_tiny" target filter.
* gcc.target/avr/pr71627.c: Same.
* gcc.target/avr/torture/addr-space-1-0.c: Same.
* gcc.target/avr/torture/addr-space-1-1.c: Same.
* gcc.target/avr/torture/addr-space-1-x.c: Same.
* gcc.target/avr/torture/addr-space-2-0.c: Same.
* gcc.target/avr/torture/addr-space-2-1.c: Same.
* gcc.target/avr/torture/addr-space-2-x.c: Same.
* gcc.target/avr/torture/sat-hr-plus-minus.c: Same.
* gcc.target/avr/torture/sat-k-plus-minus.c: Same.
* gcc.target/avr/torture/sat-llk-plus-minus.c: Same.
* gcc.target/avr/torture/sat-r-plus-minus.c: Same.
* gcc.target/avr/torture/sat-uhr-plus-minus.c: Same.
* gcc.target/avr/torture/sat-uk-plus-minus.c: Same.
* gcc.target/avr/torture/sat-ullk-plus-minus.c: Same.
* gcc.target/avr/torture/sat-ur-plus-minus.c: Same.
* gcc.target/avr/torture/pr61055.c: Same.
* gcc.target/avr/torture/builtins-3-absfx.c: Only use __flash if
available.
* gcc.target/avr/torture/int24-mul.c: Same.
* gcc.target/avr/torture/pr51782-1.c: Same.
* gcc.target/avr/torture/pr61443.c: Same.
* gcc.target/avr/torture/builtins-2.c: Factor out addr-space stuff...
* gcc.target/avr/torture/builtins-2-flash.c: ...to this new test.

From-SVN: r256690
25 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/avr/pr52472.c
gcc/testsuite/gcc.target/avr/pr71627.c
gcc/testsuite/gcc.target/avr/progmem.h
gcc/testsuite/gcc.target/avr/torture/addr-space-1-0.c
gcc/testsuite/gcc.target/avr/torture/addr-space-1-1.c
gcc/testsuite/gcc.target/avr/torture/addr-space-1-x.c
gcc/testsuite/gcc.target/avr/torture/addr-space-2-0.c
gcc/testsuite/gcc.target/avr/torture/addr-space-2-1.c
gcc/testsuite/gcc.target/avr/torture/addr-space-2-x.c
gcc/testsuite/gcc.target/avr/torture/builtins-2-flash.c [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/torture/builtins-2.c
gcc/testsuite/gcc.target/avr/torture/builtins-3-absfx.c
gcc/testsuite/gcc.target/avr/torture/int24-mul.c
gcc/testsuite/gcc.target/avr/torture/pr51782-1.c
gcc/testsuite/gcc.target/avr/torture/pr61055.c
gcc/testsuite/gcc.target/avr/torture/pr61443.c
gcc/testsuite/gcc.target/avr/torture/sat-hr-plus-minus.c
gcc/testsuite/gcc.target/avr/torture/sat-k-plus-minus.c
gcc/testsuite/gcc.target/avr/torture/sat-llk-plus-minus.c
gcc/testsuite/gcc.target/avr/torture/sat-r-plus-minus.c
gcc/testsuite/gcc.target/avr/torture/sat-uhr-plus-minus.c
gcc/testsuite/gcc.target/avr/torture/sat-uk-plus-minus.c
gcc/testsuite/gcc.target/avr/torture/sat-ullk-plus-minus.c
gcc/testsuite/gcc.target/avr/torture/sat-ur-plus-minus.c