]> gcc.gnu.org Git - gcc.git/blame - libiberty/ChangeLog
Warning fixes:
[gcc.git] / libiberty / ChangeLog
CommitLineData
087aa398
KG
1Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2
3 * argv.c (buildargv): Cast the result of alloca in assignment.
4
5 * choose-temp.c: Include stdlib.h.
6
7 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8 (snarf_numeric_literal): Constify first parameter.
9 (code_for_qualifier): Avoid a gcc extension, make the parameter an
10 int, not a char.
11 (demangle_qualifier): Likewise.
12 (demangle_signature): Cast the argument of a ctype function to
13 unsigned char.
14 (arm_pt): Add parens around assignment used as truth value.
15 (demangle_arm_hp_template): Constify variable `args'.
16 (do_hpacc_template_const_value): Cast the argument of a ctype
17 function to unsigned char.
18 (do_hpacc_template_literal): Remove unused variable `i'.
19 (snarf_numeric_literal): Constify parameter `args'.
20 Cast the argument of a ctype function to unsigned char.
21
22 * floatformat.c (floatformat_to_double): Add explicit braces to
23 avoid ambiguous `else'.
24
25 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
26 `cstart' and `cend' to unsigned char. Cast the argument of macro
27 `FOLD', which uses ctype functions, to unsigned char.
28
29 * objalloc.c (free): Add prototype.
30
21f2174d
HPN
31Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
32
33 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
34
e8fc8222
AM
35Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
36
37 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
38 bumping the pointer we read from. Also prepend these codes,
39 as we do in other places.
40
11a0bb74
KG
41Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
42
43 * choose-temp.c: Don't check IN_GCC anymore.
44
45 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
46 * memchr.c (memchr): Likewise.
47 * memcpy.c (memcpy): Likewise.
48 * memmove.c (memmove): Likewise.
49
50 * mkstemp.c: Don't check IN_GCC anymore.
51 * pexecute.c: Likewise.
52 * splay-tree.c: Likewise.
53
54 * strchr.c (strchr): Use `const', not `CONST'.
55 * strrchr.c (strrchr): Likewise.
56 * strtol.c (strtol): Likewise.
57 * strtoul.c (strtoul): Likewise.
58
70d5ccef
DT
59Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
60 Elena Zannoni <ezannoni@cygnus.com>
61 Stan Shebs <shebs@cygnus.com>
62 Edith Epstein <eepstein@cygnus.com>
63 Andres MacLeod <amacleod@cygnus.com>
64 Satish Pai <pai@apollo.hp.com>
65
66 * HP aCC demangling support.
67 * cplus-dem.c
68 (main): Remove default to HP style demangling, set to EDG
69 demangling correctly when -edg specified; set the demangling style
70 when user specifies 'edg'. Set strip_underscore to
71 prepends_underscore, if not HPUXHPPA. Set
72 current_demangling_style to hp_demangling if HPUXHPPA. Set
73 current demangling style correctly if the switch is hp. Read
74 label correctly also in the HP style case.
75 (work_stuff): add temp_start field; add field for volatile member
76 function.
77 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
78 style for this case is the same as ARM.
79 (demangle_args): handle EDG_DEMANGLING style; support HP style.
80 (demangle_arm_hp_template): new function. (It was
81 demangle_arm_pt.); check and set value of temp_start field in
82 multiple places. Also, when ceching for end of template args,
83 check to see if at end of static member of template class.
84 (demangle_class): new local variable : save_class_name_end Don't
85 include template args in string defining class.
86 (demangle_class_name): use demangel_arm_hp_template.
87 (demangle_function_name): handle case where demangling style is
88 HP_DEMANGLING and currently point at an 'X' in the mangled name.
89 Handle EDG_DEMANGLING style. Handle constructor and destructor
90 ops for HP style.
91 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
92 styles. global destructor and constructor for HP style are same
93 as for ARM style. Same for local variables.
94 (demangle_qualified): handle EDG_DEMANGLING style.
95 (demangle_signature): add case for volatile member function. For
96 cases '1' - '9' : initialize the temp_start field to -1 and handle
97 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
98 and AUTO_DEMANGLING styles. If expecting a function and managed
99 to demangle the funct args, then handle the LUCID_DEMANGLING,
100 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
101 class name after "Lnnn_ in HP style case. HP style too needs to
102 forget types. _nnn is OK for HP style, so don't report failure.
103 (do_hpacc_template_const_value): new function. Handle template's
104 value param for HP/aCC.
105 (do_hpacc_template_literal): new function. Handle a template's
106 literal parameter for HP aCC.
107 (recursively_demangle): new function
108 (snarf_numeric_literal): new function.
109 (usage): add 'edg' to the list of demangling styles; add hp switch
110 to message.
111
8d525fa8
CF
112Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
113
114 * pexecute.c: Remove obsolete ifdefed cygwin code.
115
9b1a92d8
KG
116Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
117
118 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
119 * cplus-dem.c: Likewise. Conform to libiberty.h.
120 * pexecute.c: Likewise.
121 * splay-tree.c: Likewise.
122
c85c3232
MS
1231998-11-25 Mike Stump <mrs@wrs.com>
124
125 * Makefile.in (splay-tree.o): Add config.h dependency.
126
35a6cd99
KG
127Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
128
129 * configure.in: Use AC_PREREQ(2.12.1).
130
6e6e34b7
BK
1311998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
132
133 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
134
59b67c11
JL
135Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
136
137 * mpw.c (mpw_access): Add missing parens.
138
a6458d1d
KG
139Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
140
141 * configure.in: Call AC_HEADER_SYS_WAIT.
142
143 * pexecute.c: Include sys/wait.h when !IN_GCC.
144
a9acf741
KG
145Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
146
147 * configure.in: Check for calloc.
148
149 * calloc.c: New file.
150
151 * xmalloc.c (xcalloc): New function.
152
a49fb37a
AM
153Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
154
155 *cplus-dem.c (demangle_prefix): Use the last "__"
156 in the mangled name when looking for the signature. This allows
157 template names to begin with "__".
158
0e714131
MM
1591998-11-08 Mark Mitchell <mark@markmitchell.com>
160
ec2288ff
MM
161 * cplus-dem.c (type_kind_t): Add tk_reference.
162 (demangle_template_value_parm): Handle it.
163 (do_type): Use it for references, instead of tk_pointer.
164
0e714131
MM
165 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
166 not internal_cplus_demangle.
167
2931b6d4
KG
168Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
169
170 * choose-temp.c: Don't include gansidecl.h.
171 * mkstemp.c: Likewise.
172 * pexecute.c: Likewise.
173
dd8f3ed5
GN
174Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
175
176 * configure.in: detect cygwin* instead of cygwin32*
177 * configure: regenerate
178
c5f7c445
KG
179Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
180
181 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
182 whether to include config.h. Possibly include unistd.h in the
183 !IN_GCC case. Define VFORK_STRING as a printable function call
184 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
185 defined, include vfork.h. If VMS is defined, define vfork()
186 appropriately. Remove vfork check on USG, we're using autoconf.
187 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
188 locally what string to use.
189
ad3ef78e
MM
1901998-10-26 Mark Mitchell <mark@markmitchell.com>
191
192 * splay-tree.c: Tweak include directives to make sure declarations of
193 xmalloc and free are available.
194
224301c1
MM
1951998-10-25 Mark Mitchell <mark@markmitchell.com>
196
197 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
198 anonymous namespaces.
199
d9db46fd
MM
2001998-10-23 Mark Mitchell <mark@markmitchell.com>
201
202 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
203 with type_quals.
204 (TYPE_UNQUALIFIED): New macro.
205 (TYPE_QUAL_CONST): Likewise.
206 (TYPE_QUAL_VOLATILE): Likewise.
207 (TYPE_QUAL_RESTRICT): Likewise.
208 (code_for_qualifier): New function.
209 (qualifier_string): Likewise.
210 (demangle_qualifier): Likewise.
211 (internal_cplus_demangle): Use them.
212 (demangle_signature): Likewise.
213 (demangle_template_value_parm): Likewise.
214 (do_type): Likewise.
215 (demangle_fund_type)): Likewise.
224301c1 216
b056ad1c
KG
217Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
218
219 * splay-tree.c (splay_tree_foreach_helper): Make definition static
220 to match prototype.
221
ed87f9c8
MM
2221998-10-21 Mark Mitchell <mark@markmitchell.com>
223
224 * splay-tree.c: New file.
225 * Makefile.in (CFILES): Add it.
226 (REQUIRED_OFILES): Likewise.
227 (splay-tree.o): Add dependencies.
228
e0c13971
AS
229Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
230
231 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
232 range of 'K' index.
233
91e0f659
KG
234Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
235
236 * choose-temp.c: Prototype mkstemps() when IN_GCC.
237
238 * cplus-dem.c (consume_count): Cast argument of ctype macro to
239 `unsigned char'.
240 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
241 comparing against one.
242 (cplus_mangle_opname): Likewise.
243 (demangle_integral_value): Cast argument of ctype macro to
244 `unsigned char'.
245 (demangle_template_value_parm): Likewise.
246 (demangle_template): Initialize variable `bindex'. Cast the
247 result of `strlen' to (int) when comparing against one. Remove
248 unused variable `start_of_value_parm'.
249 (demangle_class_name): Cast the result of `strlen' to (int) when
250 comparing against one.
251 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
252 (gnu_special): Likewise. Cast the result of `strlen' to (int)
253 when comparing against one.
254 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
255 (get_count): Likewise.
256 (do_type): Likewise. Cast the result of `strlen' to (int) when
257 comparing against one.
258 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
259 (demangle_function_name): Cast the result of `strlen' to (int)
260 when comparing against one.
261
262 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
263 comparing against one.
264
73aeb2ff
JL
265Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
266
ae76f1be
JL
267 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
268 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
269 * config.in, configure: Rebuilt.
270
73aeb2ff
JL
271 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
272 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
273 * config.in, configure: Rebuilt.
274
dd8f3ed5
GN
275Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
276
277 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
278
f77d8413
MT
279Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
280
281 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
282
ca6b370d
JL
283Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
284
285 * Merge egcs & devo libiberty.
286
ab4856b1
ML
287