toolchain: disable gcc bug 60620 if gcc version >= 10.x
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Fri, 5 Mar 2021 15:41:39 +0000 (16:41 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 6 Mar 2021 22:16:46 +0000 (23:16 +0100)
Since gcc version 10.x bug 60620 doesn't show anymore, so let's make it
enabled up to versino 10.x excluded.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
toolchain/Config.in

index ce7e7f6cc476ab90349b0918d3672c2141db4079..1940c076a9703f5d8fd90df7bcecba906ec59441 100644 (file)
@@ -154,10 +154,11 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_85862
 
 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90620
 # ICE: in do_output_reload, at reload1.c:7978 on microblaze.
-# It's still not fixed in gcc 9.x
+# This bug no longer exists in gcc 10.x
 config BR2_TOOLCHAIN_HAS_GCC_BUG_90620
        bool
        default y if BR2_microblaze
+       depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10
 
 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93847
 # ICE: compiler error: Segmentation fault on Nios II. This bug