This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
committed: cplus-dem.c: Add back ATTRIBUTE_UNUSED for parameteroption.
- To: gcc-patches at gcc dot gnu dot org, binutils at sourceware dot cygnus dot com
- Subject: committed: cplus-dem.c: Add back ATTRIBUTE_UNUSED for parameteroption.
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- Date: Thu, 16 Nov 2000 04:18:18 -0500 (EST)
An ATTRIBUTE_UNUSED was removed by the previous panic-stricken patch. Now
reinstated. I (actually) bootstrapped this one on i686-pc-linux-gnulibc1
(with --disable-libstdcxx-v3, because that was the only way to bootstrap
at the time.)
I fixed the remaining cplus_dem.c in the ChangeLogs and committed to gcc
and src.
Grunt: I'd say that maintainers temporarily without commit access, asking
to have patches committed, must do their ground-work and bootstrap and say
so, perhaps with an exception when bootstrap is already broken. ;-)
* cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
parameter `option'.
Index: cplus-dem.c
===================================================================
RCS file: /cvs/gcc/egcs/libiberty/cplus-dem.c,v
retrieving revision 1.65
diff -p -c -r1.65 cplus-dem.c
*** cplus-dem.c 2000/11/15 17:35:20 1.65
--- cplus-dem.c 2000/11/16 07:39:52
*************** grow_vect (old_vect, size, min_size, ele
*** 953,959 ****
static char *
ada_demangle (mangled, option)
const char* mangled;
! int option;
{
int i, j;
int len0;
--- 953,959 ----
static char *
ada_demangle (mangled, option)
const char* mangled;
! int option ATTRIBUTE_UNUSED;
{
int i, j;
int len0;
brgds, H-P