[Patch,testsuite,AVR]: Make PROGMEM variables const.

Georg-Johann Lay avr@gjlay.de
Thu Apr 14 10:05:00 GMT 2011


These test cases

gcc.target/avr/trivial.c
gcc.target/avr/torture/trivial.c

put non-const variables in read-only section .progmem.data which
causes an error. The patch rewrites the files to make respective
variables real-only (and besides that fixes line endings).

Johann

./testsuite

2011-04-14  Georg-Johann Lay  <avr@gjlay.de>

	* gcc.target/avr/trivial.c: Fix line endings. Make PROGMEM
	variables const.
	* gcc.target/avr/torture/trivial.c: Ditto.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr44643-testsuite.diff
Type: text/x-patch
Size: 1558 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110414/e8c3e718/attachment.bin>


More information about the Gcc-patches mailing list