This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [committed] [testsuite] Fix fp-int-convert-timode-1.c testism.
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Tamar Christina <Tamar dot Christina at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "christophe dot lyon at linaro dot org" <christophe dot lyon at linaro dot org>, "hjl dot tools at gmail dot com" <hjl dot tools at gmail dot com>, nd <nd at arm dot com>
- Date: Thu, 21 Nov 2019 14:39:24 +0000
- Subject: Re: [committed] [testsuite] Fix fp-int-convert-timode-1.c testism.
- Ironport-sdr: G19yBN3XXxCbxFCOKxEq9jmflBZT/yKe9+1WJZlh01RXkSty91babqnsY+TqfSvdatrZVl8o9L JhWqyBuEbYQCxx2PonQz5WgwGw2XIn/vCagCS9oizHlWbjgudA6RbvNNy6uuFmJLtZrja5DDhL sTKTD93CkW0Z2UIQeVvSrAvs30Euz8sT062MtjpUx+wuM4Jvn4XTl+tUebR0Z0JFKk63yVIYVU pni3L25uDUM4PGn9P7cKbWZM7isiw779koDkrMmJdQgW0i/bPg1yv/3kv7QojCTLoyQvQpLNPo U9g=
- Ironport-sdr: r59Y/8zqfkf8G+z4hb0KOt5VGOvO4ABp50XTbTJVutySuHiNp45WTDtSs03/QxeBfGvmVTqRbm LpgVH71cgGq0V8nPoN7VEMwsjn4Cpxkltn0Jc8cJFuGtj+Wg61S+y5sR0Ky/wsTtkIS6Yh7Jit Xo+3WYvtw8EWozSFAAK3f3US8AzMx+FoDZRnI8AWQ23CykRIrGqr19b5ePYKr3/qM9IGXtTVCK 8EeIe1a8wpWxwIqNZxSxEMKz8Tnc3Mldji5Y7/7YWKgbjnkUOK4nK0XwGvoUXn6ZeVeDn/w9WA NFs=
- References: <20191121141105.GA20322@arm.com>
On Thu, 21 Nov 2019, Tamar Christina wrote:
> Hi All,
>
> The test fp-int-convert-timode-1.c uses FE_TONEAREST without
> actually checking if the target has defined it.
>
> Like the rest of the tests I now add a check to see if the target
> has actually implemented it.
FE_TONEAREST is the default rounding mode, so it would be better just to
remove the fesetround call and <fenv.h> include and fenv effective-target
and -frounding-math option and let this test run for all configurations
with int128 support.
--
Joseph S. Myers
joseph@codesourcery.com