This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcse.c broken (cc0 related)
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: gcse.c broken (cc0 related)
- From: Kazu Hirata <kazu at hxi dot com>
Hi,
Is this a right fix? With the patch, the h8300 port, which uses cc0,
builds fine, but I am not familiar with gcse.c...
Thanks,
Kazu Hirata
2001-07-23 Kazu Hirata <kazu@hxi.com>
* gcse.c: Add a missing argument.
Index: gcse.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcse.c,v
retrieving revision 1.139
diff -u -r1.139 gcse.c
--- gcse.c 2001/07/23 14:08:11 1.139
+++ gcse.c 2001/07/23 18:49:25
@@ -4198,7 +4198,7 @@
&& GET_CODE (NEXT_INSN (insn)) == JUMP_INSN
&& condjump_p (NEXT_INSN (insn))
&& ! simplejump_p (NEXT_INSN (insn))
- && cprop_cc0_jump (insn, reg_used, src))
+ && cprop_cc0_jump (bb, insn, reg_used, src))
{
changed = 1;
break;