NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-vax/53039: VAX with GCC 6.4.0 hits internal compiler error



The following reply was made to PR port-vax/53039; it has been noted by GNATS.

From: coypu%sdf.org@localhost
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-vax/53039: VAX with GCC 6.4.0 hits internal compiler error
Date: Mon, 19 Mar 2018 20:55:02 +0000

 krister mentions that inserting a useless move after the label also
 avoids the problem:
 
 --- 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;
  }")
 
 And that it's related to an optimization from the label being the last
 thing in the function
 


Home | Main Index | Thread Index | Old Index