https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98799
--- Comment #3 from David Edelsohn <dje at gcc dot gnu.org> --- Created attachment 50042 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50042&action=edit patch This is a version of the patch that compiles. I moved the definitions of vector_set_var after the p8 and p9 definitions instead of pre-declaring them. They definitely should not have been declared in rs6000-protos.h. And they also should be declared static. This patch fixes the ICE in extract_insn, but there still is a second failure in the testcase itself.