ARM: fp16 Fix PR 67624 - Incorrect conversion of float Infinity to __fp16
authorRichard Earnshaw <rearnsha@arm.com>
Thu, 24 Sep 2015 09:40:06 +0000 (09:40 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Thu, 24 Sep 2015 09:40:06 +0000 (09:40 +0000)
commit4dfe21acc2072b7dd35cd57ced94cf880b896158
treefebf915b6babe064024fc102cdb1a878c5287c89
parent60dd79ca89f7eb0c4bded86766c7d17d171aba7f
ARM: fp16 Fix PR 67624 - Incorrect conversion of float Infinity to __fp16

PR libgcc/67624
libgcc:
* config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
gcc/testsuite:
* gcc.target/arm/fp16-inf.c: New test.

From-SVN: r228082
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/fp16-inf.c [new file with mode: 0644]
libgcc/ChangeLog
libgcc/config/arm/fp16.c