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