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

Eric Botcazou
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  <>

	* 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: <>

More information about the Gcc mailing list