This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcse.c broken (cc0 related)


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]