From b614ad974a110195392345b8c78fab8c4831d421 Mon Sep 17 00:00:00 2001 From: Debian Rust Maintainers Date: Thu, 30 May 2019 05:52:37 +0100 Subject: [PATCH] gcc-4.8-aarch64-ice =================================================================== Gbp-Pq: Name gcc-4.8-aarch64-ice.diff --- .../compiler-rt/lib/builtins/trunctfdf2.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/vendor/compiler_builtins/compiler-rt/lib/builtins/trunctfdf2.c b/vendor/compiler_builtins/compiler-rt/lib/builtins/trunctfdf2.c index 741a71b33c..cbe07d0c55 100644 --- a/vendor/compiler_builtins/compiler-rt/lib/builtins/trunctfdf2.c +++ b/vendor/compiler_builtins/compiler-rt/lib/builtins/trunctfdf2.c @@ -7,6 +7,12 @@ // //===----------------------------------------------------------------------===// +#if defined(__aarch64__) && (__GNUC__ <= 4) && (__GNUC_MINOR__ <= 8) +// work around https://launchpad.net/bugs/1667761 +#pragma GCC push_options +#pragma GCC optimize "O1" +#endif + #define QUAD_PRECISION #include "fp_lib.h" @@ -20,3 +26,7 @@ COMPILER_RT_ABI double __trunctfdf2(long double a) { } #endif +#if defined(__aarch64__) && (__GNUC__ <= 4) && (__GNUC_MINOR__ <= 8) +#pragma GCC pop_options +#endif + -- 2.30.2