Jakub Jelinek writes:
> 2023-03-24 Jakub Jelinek
>
> PR middle-end/109258
> * go-gcc.cc (Gcc_backend): Add new static data members builtin_pure
> and builtin_nothrow.
> (Gcc_backend::Gcc_backend): Pass builtin_pure | builtin_nothrow for
> BUILT_IN_MEMCMP.
>
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