r278552 - in /trunk/gcc/testsuite: ChangeLog gc...

tnfchris@gcc.gnu.org tnfchris@gcc.gnu.org
Thu Nov 21 14:08:00 GMT 2019


Author: tnfchris
Date: Thu Nov 21 14:08:10 2019
New Revision: 278552

URL: https://gcc.gnu.org/viewcvs?rev=278552&root=gcc&view=rev
Log:
Testsuite: Fix fp-int-convert-timode-1.c testism.

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.

This fixed Arm newlib target failures.

Regtested on aarch64-none-elf and aarch64_be-none-elf and no issues.

Committed under the GCC obvious rules.

gcc/testsuite/ChangeLog:

	* gcc.dg/torture/fp-int-convert-timode-1.c: Add check for FE_TONEAREST.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/torture/fp-int-convert-timode-1.c



More information about the Gcc-cvs mailing list