Trivial patch
Theodore Papadopoulo
Theodore.Papadopoulo@sophia.inria.fr
Mon Dec 21 04:29:00 GMT 1998
Here is a trivial patch that removes a dummy test in gcc/halfpic.c
and removes a warning in libiberty/cplus-dem.c.
mururoa->cvs diff gcc/halfpic.c libiberty/cplus-dem.c
Index: gcc/halfpic.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/halfpic.c,v
retrieving revision 1.6
diff -c -3 -p -r1.6 halfpic.c
*** halfpic.c 1998/12/16 20:56:45 1.6
--- halfpic.c 1998/12/21 12:25:01
*************** half_pic_encode (decl)
*** 216,225 ****
#ifdef HALF_PIC_DEBUG
if (HALF_PIC_DEBUG)
{
! if (HALF_PIC_DEBUG)
! fprintf (stderr, "\n========== Half_pic_encode %.*s\n",
! IDENTIFIER_LENGTH (asm_name),
! IDENTIFIER_POINTER (asm_name));
debug_tree (decl);
}
#endif
--- 216,224 ----
#ifdef HALF_PIC_DEBUG
if (HALF_PIC_DEBUG)
{
! fprintf (stderr, "\n========== Half_pic_encode %.*s\n",
! IDENTIFIER_LENGTH (asm_name),
! IDENTIFIER_POINTER (asm_name));
debug_tree (decl);
}
#endif
Index: libiberty/cplus-dem.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/libiberty/cplus-dem.c,v
retrieving revision 1.36
diff -c -3 -p -r1.36 cplus-dem.c
*** cplus-dem.c 1998/12/18 13:16:13 1.36
--- cplus-dem.c 1998/12/21 12:25:01
*************** arm_pt (work, mangled, n, anchor, args)
*** 1768,1774 ****
return 1;
}
}
! else if (*anchor = mystrstr (mangled, "__S"))
{
int len;
*args = *anchor + 3;
--- 1768,1774 ----
return 1;
}
}
! else if ((*anchor = mystrstr (mangled, "__S")))
{
int len;
*args = *anchor + 3;
--------------------------------------------------------------------
Theodore Papadopoulo
Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01
--------------------------------------------------------------------
More information about the Gcc-patches
mailing list