https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78738
--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
Following patch fixes the failure:
--cut here--
Index: toplev.c
===================================================================
--- toplev.c (revision 243444)
+++ toplev.c (working copy)
@@ -1691,6 +1691,8 @@ init_excess_precision (void)
{
gcc_assert (flag_excess_precision_cmdline != EXCESS_PRECISION_DEFAULT);
flag_excess_precision = flag_excess_precision_cmdline;
+ if (flag_unsafe_math_optimizations)
+ flag_excess_precision = EXCESS_PRECISION_FAST;
}
/* Initialize things that are both lang-dependent and target-dependent.
--cut here--