This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Internal compiler error building libstdc++ for vax
- From: coypu at sdf dot org
- To: gcc at gcc dot gnu dot org
- Date: Mon, 19 Mar 2018 21:46:24 +0000
- Subject: Re: Internal compiler error building libstdc++ for vax
- References: <20180315134028.GA6828@SDF.ORG>
(updating)
krister found a better hack patch which explains what the problem is,
adding a useless move at the end of the instruction, so the label is
not the last instruction.
(And, in the problem code, the last instruction in the function.)
--- a/external/gpl3/gcc/dist/gcc/config/vax/builtins.md
+++ b/external/gpl3/gcc/dist/gcc/config/vax/builtins.md
@@ -70,6 +70,7 @@
emit_jump_insn (gen_jbbssi<mode> (operands[1], const0_rtx, label,
operands[1]));
emit_move_insn (operands[0], const0_rtx);
emit_label (label);
+ emit_move_insn (operands[0], operands[0]);
DONE;
}")