This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Small post-stupid cleanup
- To: egcs-patches at egcs dot cygnus dot com, rth at cygnus dot com
- Subject: Small post-stupid cleanup
- From: Jan Hubicka <hubicka at atrey dot karlin dot mff dot cuni dot cz>
- Date: Tue, 22 Feb 2000 12:35:01 +0100
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 ----