From 57d937bb43e1b0a1b63c3f48150e30a8426384e9 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Fri, 19 Jul 2024 14:07:24 +0000 Subject: [PATCH] gcc 6.5.0: fix build error for x32 target --- patches/gcc-6.5.0/0027-i386-bool-null.diff | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 patches/gcc-6.5.0/0027-i386-bool-null.diff diff --git a/patches/gcc-6.5.0/0027-i386-bool-null.diff b/patches/gcc-6.5.0/0027-i386-bool-null.diff new file mode 100644 index 0000000..68fcdde --- /dev/null +++ b/patches/gcc-6.5.0/0027-i386-bool-null.diff @@ -0,0 +1,11 @@ +--- gcc-6.5.0.orig/gcc/config/i386/i386.c ++++ gcc-6.5.0/gcc/config/i386/i386.c +@@ -8747,7 +8747,7 @@ + HOST_WIDE_INT words) + { + int res = 0; +- bool error_p = NULL; ++ bool error_p = 0; + + if (TARGET_IAMCU) + {