* Minor cleanup in rs6000.c
@ 2002-07-25 14:38 Stan Shebs
0 siblings, 0 replies; only message in thread
From: Stan Shebs @ 2002-07-25 14:38 UTC (permalink / raw)
To: gcc-patches
There were a couple bits of rs6000 detritus that appeared to be left
over from
one of the big merges in 2000. Checked in as obvious, bootstrapped on
powerpc-apple-darwin just to be paranoid.
Stan
2002-07-25 Stan Shebs <shebs@apple.com>
* config/rs6000/rs6000.c (rs6000_emit_prologue): Remove unused
local var dwarfp.
(output_compiler_stub): Remove unused locals.
(output_call): Always initialize line number.
Index: config/rs6000/rs6000.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.c,v
retrieving revision 1.347
diff -p -r1.347 rs6000.c
*** config/rs6000/rs6000.c 25 Jul 2002 02:22:47 -0000 1.347
--- config/rs6000/rs6000.c 25 Jul 2002 20:56:56 -0000
*************** rs6000_emit_prologue ()
*** 10191,10200 ****
the store-multiple instructions. */
if (using_store_multiple)
{
! rtvec p, dwarfp;
int i;
p = rtvec_alloc (32 - info->first_gp_reg_save);
- dwarfp = rtvec_alloc (32 - info->first_gp_reg_save);
for (i = 0; i < 32 - info->first_gp_reg_save; i++)
{
rtx addr, reg, mem;
--- 10191,10199 ----
the store-multiple instructions. */
if (using_store_multiple)
{
! rtvec p;
int i;
p = rtvec_alloc (32 - info->first_gp_reg_save);
for (i = 0; i < 32 - info->first_gp_reg_save; i++)
{
rtx addr, reg, mem;
*************** output_compiler_stub ()
*** 12597,12604 ****
{
char tmp_buf[256];
char label_buf[256];
! char *label;
! tree tmp_stub, stub;
if (!flag_pic)
for (stub = stub_list; stub; stub = TREE_CHAIN (stub))
--- 12596,12602 ----
{
char tmp_buf[256];
char label_buf[256];
! tree stub;
if (!flag_pic)
for (stub = stub_list; stub; stub = TREE_CHAIN (stub))
*************** output_call (insn, call_dest, operand_nu
*** 12684,12690 ****
if (no_previous_def (funname))
{
! int line_number;
rtx label_rtx = gen_label_rtx ();
char *label_buf, temp_buf[256];
ASM_GENERATE_INTERNAL_LABEL (temp_buf, "L",
--- 12682,12688 ----
if (no_previous_def (funname))
{
! int line_number = 0;
rtx label_rtx = gen_label_rtx ();
char *label_buf, temp_buf[256];
ASM_GENERATE_INTERNAL_LABEL (temp_buf, "L",
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-25 21:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-25 14:38 Minor cleanup in rs6000.c Stan Shebs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).