diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2013-03-12 11:42:26 +0000 |
---|---|---|
committer | Georg-Johann Lay <avr@gjlay.de> | 2013-03-12 11:42:26 +0000 |
commit | b99f51e8ac76884d3ef24e21b5693fd146ce84d9 (patch) | |
tree | 218bdd8cb693895b400d70c7b61830c64f4c3762 /gcc/doc | |
parent | 070e63df9e7a4a93c2e1dfb9c75f92a75f589012 (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196611 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index d81c78d2ab5..a3f3d5ae47a 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -514,7 +514,7 @@ Objective-C and Objective-C++ Dialects}. @emph{AVR Options} @gccoptlist{-mmcu=@var{mcu} -maccumulate-args -mbranch-cost=@var{cost} @gol -mcall-prologues -mint8 -mno-interrupts -mrelax @gol --mstrict-X -mtiny-stack} +-mstrict-X -mtiny-stack -Waddr-space-convert} @emph{Blackfin Options} @gccoptlist{-mcpu=@var{cpu}@r{[}-@var{sirevision}@r{]} @gol @@ -11649,6 +11649,11 @@ when @code{EICALL} or @code{EIJMP} instructions are used. Indirect jumps and calls on these devices are handled as follows by the compiler and are subject to some limitations: +@item -Waddr-space-convert +@opindex Waddr-space-convert +Warn about conversions between address spaces in the case where the +resulting address space is not contained in the incoming address space. + @itemize @bullet @item |