Disable LTO check that makes LTO failing in some cases
diff --git a/gcc/sort.cc b/gcc/sort.cc
index 215d0b3..e3eb952 100644
--- a/gcc/sort.cc
+++ b/gcc/sort.cc
@@ -293,7 +293,8 @@
   if (buf != scratch)
     free (buf);
 #if CHECKING_P
-  qsort_chk (vbase, n, size, cmp, data);
+  // FIXME: LTO in rustc_codegen_gcc should work even with this check enabled.
+  //qsort_chk (vbase, n, size, cmp, data);
 #endif
 }