diff --git a/gcc/config/avr/avr.opt b/gcc/config/avr/avr.opt index 05aa4b6..1af792b 100644 --- a/gcc/config/avr/avr.opt +++ b/gcc/config/avr/avr.opt @@ -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 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index e000218..040fb6e 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -643,8 +643,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 @@ -14586,6 +14586,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.a}.