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]

Small post-stupid cleanup



Hi
This patch removes some stupid uglyness.

Tue Feb 22 12:25:43 MET 2000  Jan Hubicka  <jh@suse.cz>
	* expr.c (store_constructor): Do not emit USE.
	* rtl.h (stupid_life_analysis): Remove.

diff -Nrc3p a/egcs-20000214/gcc/expr.c egcs-20000214/gcc/expr.c
*** a/egcs-20000214/gcc/expr.c	Thu Feb 17 10:21:12 2000
--- egcs-20000214/gcc/expr.c	Wed Feb 16 19:09:22 2000
*************** store_constructor (exp, target, align, c
*** 4458,4468 ****
  					   index, integer_one_node), 0, 0);
  		  expand_end_loop ();
  		  emit_label (loop_end);
- 
- 		  /* Needed by stupid register allocation. to extend the
- 		     lifetime of pseudo-regs used by target past the end
- 		     of the loop.  */
- 		  emit_insn (gen_rtx_USE (GET_MODE (target), target));
  		}
  	    }
  	  else if ((index != 0 && TREE_CODE (index) != INTEGER_CST)
--- 4458,4463 ----
diff -Nrc3p a/egcs-20000214/gcc/rtl.h egcs-20000214/gcc/rtl.h
*** a/egcs-20000214/gcc/rtl.h	Thu Feb 17 10:21:13 2000
--- egcs-20000214/gcc/rtl.h	Wed Feb 16 18:18:17 2000
*************** extern int preserve_subexpressions_p	PAR
*** 1526,1537 ****
  extern void init_expr_once		PARAMS ((void));
  extern void move_by_pieces		PARAMS ((rtx, rtx, int, unsigned int));
  
- 
- /* In stupid.c */
- #ifdef BUFSIZ
- extern void stupid_life_analysis	PARAMS ((rtx, int, FILE *));
- #endif
- 
  /* In flow.c */
  extern void allocate_bb_life_data	PARAMS ((void));
  extern void allocate_reg_life_data	PARAMS ((void));
--- 1526,1531 ----

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