Commit Graph

7 Commits

Author SHA1 Message Date
Joseph Myers b168057aaa Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Chris Metcalf 1ff950ad20 Fix some warnings in the absence of FP round/exception support
Due to tile missing a bunch of FP exception and rounding
support, the tests generate warnings.  These changes fix the
warnings by just not compiling some unused functions, and
adding some attribute ((unused)) tags.
2014-12-30 14:11:13 -05:00
Joseph Myers 439e1ad6d0 Fix warning in stdio-common/tst-printf-round.c.
This patch fixes warnings of the form "tst-printf-round.c:202:17:
warning: passing argument 3 of 'test_hex_in_one_mode' discards 'const'
qualifier from pointer target type", by adding an extra const to that
argument (so that after array-to-pointer conversion it's const char
*const *).

Tested for x86_64.

	* stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
	third argument const.
2014-11-25 23:31:21 +00:00
Allan McRae d4697bc93d Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Joseph Myers 568035b787 Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
Joseph Myers a9f8e53a5b Make printf respect the rounding mode for hex output (bug 5044). 2012-09-24 15:38:21 +00:00
Joseph Myers 784761bee3 Make printf respect the rounding mode for decimal output (bug 5044). 2012-09-14 20:18:49 +00:00