[Ada] Minor adjustment to implementation of 'Min/'Max

Eric Botcazou ebotcazou@adacore.com
Tue May 26 21:41:00 GMT 2015


We don't need the C99-like treatment if we don't expect NaN's.

Tested on x86_64-suse-linux, applied on the mainline.


2015-05-26  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/trans.c (Attribute_to_gnu) <Attr_Min/Attr_Max>: Do not
	bother about NaN's if Machine_Overflows is true.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 721 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150526/47423034/attachment.bin>


More information about the Gcc-patches mailing list