Re: [PATCH] builtins: Fix up ICE in inline_string_cmp [PR109258]

2023-03-24 Thread Richard Biener via Gcc-patches
On Fri, 24 Mar 2023, Jakub Jelinek wrote: > Hi! > > The PR109086 r13-6690 inline_string_cmp change to > if (diff != result) > emit_move_insn (result, diff); > regressed > FAIL: go.test/test/fixedbugs/bug207.go, -O2 -g (internal compiler error: in > emit_move_insn, at expr.cc:4224)

[PATCH] builtins: Fix up ICE in inline_string_cmp [PR109258]

2023-03-24 Thread Jakub Jelinek via Gcc-patches
Hi! The PR109086 r13-6690 inline_string_cmp change to if (diff != result) emit_move_insn (result, diff); regressed FAIL: go.test/test/fixedbugs/bug207.go, -O2 -g (internal compiler error: in emit_move_insn, at expr.cc:4224) The problem is the Go FE doesn't mark __builtin_memcmp as