From: Jakub Jelinek Date: Sun, 31 Mar 2002 18:37:36 +0000 (+0200) Subject: re PR middle-end/6100 (sparc-sun-solaris2.7 gcc-3.1 RTL checking failure w/-m64 on... X-Git-Tag: releases/gcc-3.3.0~5992 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f31cce8e475287d0b69622a51aa1f764ff3701d;p=thirdparty%2Fgcc.git re PR middle-end/6100 (sparc-sun-solaris2.7 gcc-3.1 RTL checking failure w/-m64 on compile/20020320-1.c) PR middle-end/6100 * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not REG_BR_PRED. (output_v9branch): Likewise. From-SVN: r51663 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9e687a51278f..3e3765ad7a8b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2002-03-31 Jakub Jelinek + + PR middle-end/6100 + * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not + REG_BR_PRED. + (output_v9branch): Likewise. + 2002-03-31 Alexandre Oliva * gcc.c: Revert previous patch for now. diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index f2b91886e591..014656f3e068 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -5226,10 +5226,10 @@ output_cbranch (op, dest, label, reversed, annul, noop, insn) labelno = ""; } - if (*labelno && insn && (note = find_reg_note (insn, REG_BR_PRED, NULL_RTX))) + if (*labelno && insn && (note = find_reg_note (insn, REG_BR_PROB, NULL_RTX))) { strcpy (p, - (((INTVAL (XEXP (note, 0)) & ATTR_FLAG_likely) != 0) ^ far) + ((INTVAL (XEXP (note, 0)) >= REG_BR_PROB_BASE / 2) ^ far) ? ",pt" : ",pn"); p += 3; spaces -= 3; @@ -5534,10 +5534,10 @@ output_v9branch (op, dest, reg, label, reversed, annul, noop, insn) p += 2; } - if (insn && (note = find_reg_note (insn, REG_BR_PRED, NULL_RTX))) + if (insn && (note = find_reg_note (insn, REG_BR_PROB, NULL_RTX))) { strcpy (p, - (((INTVAL (XEXP (note, 0)) & ATTR_FLAG_likely) != 0) ^ far) + ((INTVAL (XEXP (note, 0)) >= REG_BR_PROB_BASE / 2) ^ far) ? ",pt" : ",pn"); p += 3; }