]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/58655 ([avr] -mfract-convert-truncate not documented)
authorPitchumani Sivanupandi <pitchumani.s@atmel.com>
Tue, 28 Jun 2016 17:56:37 +0000 (17:56 +0000)
committerDenis Chertykov <denisc@gcc.gnu.org>
Tue, 28 Jun 2016 17:56:37 +0000 (20:56 +0300)
PR target/58655
* config/avr/avr.opt (-mfract-convert-truncate): Update description.
* doc/invoke.texi (AVR Options): Document it.

From-SVN: r237825

gcc/ChangeLog
gcc/config/avr/avr.opt
gcc/doc/invoke.texi

index cc515b733ab3c9e499d8a529a4056424846aa0f0..ddbe6f161b1d743778341f0e18fae4fd80d19311 100644 (file)
@@ -1,3 +1,9 @@
+2016-06-28  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
+
+       PR target/58655
+       * config/avr/avr.opt (-mfract-convert-truncate): Update description.
+       * doc/invoke.texi (AVR Options): Document it.
+
 2016-06-28  Walter Lee  <walt@tilera.com>
 
        * config/tilegx/linux.h: Do not include arch/icache.h
index 05aa4b6db986fa3bdec61bc9f28f4c248d3d0f44..1af792b8df0846872e7049b2faa756aaccb469d6 100644 (file)
@@ -97,7 +97,7 @@ Warn if the ISR is misspelled, i.e. without __vector prefix. Enabled by default.
 
 mfract-convert-truncate
 Target Report Mask(FRACT_CONV_TRUNC)
-Allow to use truncation instead of rounding towards 0 for fractional int types.
+Allow to use truncation instead of rounding towards zero for fractional fixed-point types.
 
 nodevicelib
 Driver Target Report RejectNegative
index 2c87c53d3d1d1aff3674a674684e24b5abb34901..4f24daebc01f0fd006540df8d863014aa864d060 100644 (file)
@@ -644,8 +644,8 @@ Objective-C and Objective-C++ Dialects}.
 @emph{AVR Options}
 @gccoptlist{-mmcu=@var{mcu} -maccumulate-args -mbranch-cost=@var{cost} @gol
 -mcall-prologues -mint8 -mn_flash=@var{size} -mno-interrupts @gol
--mrelax -mrmw -mstrict-X -mtiny-stack -nodevicelib -Waddr-space-convert @gol
--Wmisspelled-isr}
+-mrelax -mrmw -mstrict-X -mtiny-stack -mfract-convert-truncate -nodevicelib @gol
+-Waddr-space-convert -Wmisspelled-isr}
 
 @emph{Blackfin Options}
 @gccoptlist{-mcpu=@var{cpu}@r{[}-@var{sirevision}@r{]} @gol
@@ -14621,6 +14621,10 @@ sbiw r26, const   ; X -= const
 @opindex mtiny-stack
 Only change the lower 8@tie{}bits of the stack pointer.
 
+@item -mfract-convert-truncate
+@opindex mfract-convert-truncate
+Allow to use truncation instead of rounding towards zero for fractional fixed-point types.
+
 @item -nodevicelib
 @opindex nodevicelib
 Don't link against AVR-LibC's device specific library @code{lib<mcu>.a}.