Fix gcc.dg/builtins-67.c on Solaris 8/9

Eric Botcazou ebotcazou@adacore.com
Thu Oct 13 15:55:00 GMT 2011


The test fails with a link error, as 'round' and 'rint' are only C99.

Fixed thusly, tested on SPARC/Solaris 8, applied on the mainline as obvious.


2011-10-13  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc.dg/builtins-67.c: Guard iround and irint with HAVE_C99_RUNTIME.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-diff
Size: 803 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20111013/bfa74962/attachment.bin>


More information about the Gcc mailing list