re PR libgcc/78067 (libgcc2 calls count_leading_zero with 0)
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 3 Nov 2016 12:52:19 +0000 (12:52 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Thu, 3 Nov 2016 12:52:19 +0000 (12:52 +0000)
commit5de3e2d862e02f7b0c8efe8fbec2c15592302ba9
treebbb121d397d87880f925bad35ace530d7cf2d7fd
parent4098e9b907f82950130ed6820be9236727be7371
re PR libgcc/78067 (libgcc2 calls count_leading_zero with 0)

2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR libgcc/78067
        * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
        count_leading_zeros.

testsuite:
2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR libgcc/78067
        * gcc.dg/torture/fp-int-convert.h: Add more conversion tests.

From-SVN: r241817
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/fp-int-convert.h
libgcc/ChangeLog
libgcc/libgcc2.c