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]

[new-regalloc-branch] df.c bugfix



Like in mainstream.

Sat Apr  6 09:42:42 2002  Denis Chertykov  <denisc@overta.ru>

	* df.c (df_uses_record): Return after recording all uses
	in ASM_OPERANDS.


Index: df.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/df.c,v
retrieving revision 1.1.2.10
diff -c -3 -p -r1.1.2.10 df.c
*** df.c	2002/01/05 03:13:31	1.1.2.10
--- df.c	2002/04/06 05:37:49
*************** df_uses_record (df, loc, ref_type, bb, i
*** 1167,1172 ****
--- 1167,1173 ----
  	    for (j = 0; j < ASM_OPERANDS_INPUT_LENGTH (x); j++)
  	      df_uses_record (df, &ASM_OPERANDS_INPUT (x, j), 
  			      DF_REF_REG_USE, bb, insn);
+ 	    return;
  	  }
  	break;
        }


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