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]
Other format: [Raw text]

Re: 2 GCC regressions, 1 new, with your patch on 2002-03-25T09:24:44Z.


On Mon, Mar 25, 2002 at 12:03:39PM +0000, GCC regression checker wrote:
> With your recent patch, GCC has some regression test failures, which
> used to pass.  There are 1 new failures, and 1
> failures that existed before and after that patch; 0 failures
> have been fixed.
> 
> The new failures are:
> powerpc-eabisim gcc.sum gcc.c-torture/compile/20010903-1.c,
> 

Doh, wonder why it hasn't triggered on ia32 bootstrap/regtest.
Fix below, commited as obvious.

2002-03-25  Jakub Jelinek  <jakub@redhat.com>

	* regrename.c (build_def_use): Move recog_memoized
	before extract_insn.

--- gcc/regrename.c.jj	Sun Mar 24 18:14:13 2002
+++ gcc/regrename.c	Mon Mar 25 13:49:38 2002
@@ -784,9 +784,9 @@ build_def_use (bb)
 	     (6) For any write we find in an operand, make a new chain.
 	     (7) For any REG_UNUSED, close any chains we just opened.  */
 
+	  icode = recog_memoized (insn);
 	  extract_insn (insn);
 	  constrain_operands (1);
-	  icode = recog_memoized (insn);
 	  preprocess_constraints ();
 	  alt = which_alternative;
 	  n_ops = recog_data.n_operands;

	Jakub


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