Fix GCC 7 build of k_standard.c.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 21 Aug 2017 21:43:32 +0000 (21:43 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 21 Aug 2017 21:43:32 +0000 (21:43 +0000)
commitea99fcd03875caf59ceda354ec8ed813bb5a5f79
tree558164d63a8b30ea49b0735ece07992ed5233bf6
parenta8410a5fc9305c316633a5a3033f3927b759be35
Fix GCC 7 build of k_standard.c.

This patch adds a default case to k_standard.c that calls
__builtin_unreachable, to avoid an uninitialized variable error from
GCC 7 (reported in
<https://sourceware.org/ml/libc-alpha/2017-08/msg01012.html>).

Tested for x86_64 (with GCC 7).

* sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
case calling __builtin_unreachable.
ChangeLog
sysdeps/ieee754/k_standard.c