0019-broken-builtin-memcmp.diff 431 B

1234567891011
  1. diff -ur gcc-9.3.0.orig/gcc/builtins.c gcc-9.3.0/gcc/builtins.c
  2. --- gcc-9.3.0.orig/gcc/builtins.c 2020-03-12 11:07:21.000000000 +0000
  3. +++ gcc-9.3.0/gcc/builtins.c 2020-09-23 22:16:54.815251679 +0000
  4. @@ -4658,6 +4658,7 @@
  5. static rtx
  6. expand_builtin_memcmp (tree exp, rtx target, bool result_eq)
  7. {
  8. + return NULL_RTX;
  9. if (!validate_arglist (exp,
  10. POINTER_TYPE, POINTER_TYPE, INTEGER_TYPE, VOID_TYPE))
  11. return NULL_RTX;