This patch to the Go frontend marks builtin_prefetch as novops.  This
corresponds to how it is defined in builtins.def.  This fixes GCC PR
94607.  Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu.
Committed to mainline.

Ian

2020-04-15  Ian Lance Taylor  <i...@golang.org>

PR go/94607
* go-gcc.cc (class Gcc_backend): Define builtin_const,
builtin_noreturn, builtin_novops.
(Gcc_backend::define_builtin): Change const_p and noreturn_p
parameters to a single flags parameter.  Change all callers.
(Gcc_backend::Gcc_backend): Pass novops for prefetch.

Reply via email to