OSDN Git Service

Backport from 2012-03-20 mainline r185583.
authorgjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Mar 2012 14:48:55 +0000 (14:48 +0000)
committergjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Mar 2012 14:48:55 +0000 (14:48 +0000)
commit446d0352006406f12c6c0be35e05008db1476bc0
tree5ab54ea244f2e6c3a1dbbae2340b776d9f602208
parent1e65c9713c3a01b7bc7320652a38caf0b184b55e
Backport from 2012-03-20 mainline r185583.

* gcc.target/avr/progmem.h (pgm_read_char): Define depending on
__AVR_HAVE_LPMX__

Backport from 2012-03-20 mainline r185570.

        PR target/49868
        * gcc.target/avr/torture/addr-space-2.h: New file.
        * gcc.target/avr/torture/addr-space-2-g.h: New test.
        * gcc.target/avr/torture/addr-space-2-0.h: New test.
        * gcc.target/avr/torture/addr-space-2-1.h: New test.
        * gcc.target/avr/torture/addr-space-2-x.h: New test.

Backport from 2012-03-12 mainline r185255.

        PR target/49868
        * gcc.target/avr/torture/addr-space-1.h: New file.
        * gcc.target/avr/torture/addr-space-g.h: New test.
        * gcc.target/avr/torture/addr-space-0.h: New test.
        * gcc.target/avr/torture/addr-space-1.h: New test.
        * gcc.target/avr/torture/addr-space-x.h: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@185696 138bc75d-0d04-0410-961f-82ee72b054a4
12 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/avr/progmem.h
gcc/testsuite/gcc.target/avr/torture/addr-space-1-0.c [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/torture/addr-space-1-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/torture/addr-space-1-g.c [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/torture/addr-space-1-x.c [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/torture/addr-space-1.h [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/torture/addr-space-2-0.c [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/torture/addr-space-2-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/torture/addr-space-2-g.c [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/torture/addr-space-2-x.c [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/torture/addr-space-2.h [new file with mode: 0644]