http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49868
--- Comment #19 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-03-22 14:49:13 UTC --- Author: gjl Date: Thu Mar 22 14:48:55 2012 New Revision: 185696 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185696 Log: 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. Added: branches/gcc-4_7-branch/gcc/testsuite/gcc.target/avr/torture/addr-space-1-0.c branches/gcc-4_7-branch/gcc/testsuite/gcc.target/avr/torture/addr-space-1-1.c branches/gcc-4_7-branch/gcc/testsuite/gcc.target/avr/torture/addr-space-1-g.c branches/gcc-4_7-branch/gcc/testsuite/gcc.target/avr/torture/addr-space-1-x.c branches/gcc-4_7-branch/gcc/testsuite/gcc.target/avr/torture/addr-space-1.h branches/gcc-4_7-branch/gcc/testsuite/gcc.target/avr/torture/addr-space-2-0.c branches/gcc-4_7-branch/gcc/testsuite/gcc.target/avr/torture/addr-space-2-1.c branches/gcc-4_7-branch/gcc/testsuite/gcc.target/avr/torture/addr-space-2-g.c branches/gcc-4_7-branch/gcc/testsuite/gcc.target/avr/torture/addr-space-2-x.c branches/gcc-4_7-branch/gcc/testsuite/gcc.target/avr/torture/addr-space-2.h Modified: branches/gcc-4_7-branch/gcc/testsuite/ChangeLog branches/gcc-4_7-branch/gcc/testsuite/gcc.target/avr/progmem.h