re PR target/56263 ([avr] Provide strict address-space checking)
authorGeorg-Johann Lay <gjl@gcc.gnu.org>
Tue, 12 Mar 2013 11:42:26 +0000 (11:42 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Tue, 12 Mar 2013 11:42:26 +0000 (11:42 +0000)
commitf22e3c85d7529038e1e5621ae1187453d6fef2f6
tree218bdd8cb693895b400d70c7b61830c64f4c3762
parentdedd8ef17d484b3cb0cb094480a0ed6399e5f487
re PR target/56263 ([avr] Provide strict address-space checking)

PR target/56263
* config/avr/avr.c (TARGET_CONVERT_TO_TYPE): Define to...
(avr_convert_to_type): ...this new static function.
* config/avr/avr.opt (-Waddr-space-convert): New C option.
* doc/invoke.texi (AVR Options): Document it.

From-SVN: r196611
gcc/config/avr/avr.c
gcc/config/avr/avr.opt
gcc/doc/invoke.texi