]> git.ipfire.org Git - thirdparty/gcc.git/blame - fixincludes/ChangeLog
* tree.c (max_int_size_in_bytes): New function, inspired from
[thirdparty/gcc.git] / fixincludes / ChangeLog
CommitLineData
8ef713d5 12006-05-23 Carlos O'Donell <carlos@codesourcery.com>
2
3 * Makefile.in: Add dvi info html and install-html to .PHONY
4 Add install-html target.
5
5880638c 62006-05-16 Mike Stump <mrs@apple.com>
7
8 * configure.ac: Add -Wno-overlength-strings.
9 * configure: Regenerate.
10
9c7246bd 112006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
12
13 * README: Fix typo.
14
5dabcff3 152006-02-18 Steve Ellcey <sje@cup.hp.com>
16
17 PR target/26189
18 * inclhack.def (hpux_spu_info): New.
19 * fixincl.x: Regenerate
20
6ede36d7 212006-01-31 Marcin Dalecki <martin@dalecki.de>
22
23 * configure.ac: Check for asprintf, basename, vasprintf.
24 * config.h.in: Regenerate.
25 * configure: Regenerate.
26
baee91be 272006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
28
29 PR target/15642
30 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
31 __APPLE_CC_ as 1345.
32 (broken_nan): New.
33 * fixincl.x: Regenerate.
34
62248de6 352005-11-24 Bruce Korb <bkorb@gnu.org>
36
37 * fixincl.c(write_replacement) "here strings" in AutoGen often/generally
38 don't have a terminating newline. Check the last byte for '\n'.
39
afc4c5f4 402005-11-13 Andreas Jaeger <aj@suse.de>
41
42 * check.tpl: Handle CVS additionally.
43
1da60ab0 442005-11-05 Andreas Jaeger <aj@suse.de>
45
46 * check.tpl: Adopt for move to subversion.
47
96eced21 482005-09-15 Joseph S. Myers <joseph@codesourcery.com>
49
50 PR c++/23139
51 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
52 fixes.
53 * fixincl.x: Regenerate.
54 * tests/base/bits/huge_val.h: New file.
55
89630697 562005-08-14 Kelley Cook <kcook@gcc.gnu.org>
57
58 * All files: Update with new FSF address.
59
c3383428 602005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
61
62 * Makefile.in (WARN_CFLAGS): New.
63 (.c.o): Add $(WARN_CFLAGS).
64 * aclocal.m4: Include ../config/warnings.m4.
65 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
66 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
67 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
68 * fixopts.c (initialize_opts): Fix old-style definintion.
69
70 * configure: Regenerate.
71
f2563b02 722005-06-24 Geoffrey Keating <geoffk@geoffk.org>
73
74 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
75 (AAB_darwin7_9_long_double_funcs_2): New.
76 * fixincl.x: Regenerate.
77
19754f2b 782005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
79
80 PR libfortran/15266
81 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
82 Use double quotes in select so \t matches tabs.
83 Add IRIX testcase.
84 * fixincl.x: Regenerate.
85 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
86
7a54a09a 872005-05-22 Danny Smith <dannysmith@users.souceforge.net>
88
89 PR target/21683
90 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
1da60ab0 91
e849ea70 922005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
93 Joseph S. Myers <joseph@codesourcery.com>
94
95 PR target/19933
96 PR target/21315
97 * inclhack.def: New fixes solaris_math_[1-9].
98 * fixincl.x: Regenerate.
99 * tests/base/iso/math_c99.h: New.
100
d00b504c 1012005-05-19 Kelley Cook <kcook@gcc.gnu.org>
102
103 * aclocal.m4: Remove superfluous reference to accross.m4.
104
8d0afccc 1052005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
106
107 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
108 * server.c (load_data): Likewise.
109 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
110 * fixincl.c: #include <sys/wait.h>
111 (run_compiles): Use XCNEWVEC instead of xcalloc.
112 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
113 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
114
85dedd01 1152005-05-10 Joseph S. Myers <joseph@codesourcery.com>
116
117 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
118 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
119 * fixincl.x: Regenerate.
120
9b20d84f 1212005-05-06 Bruce Korb <bkorb@gnu.org>
122 Joseph S. Myers <joseph@codesourcery.com>
123
124 * fixinc/inclhack.def: Correct backslashes
125 * fixinc/fixincl.x: regen
126
2224c90b 1272005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
128
129 * system.h (fopen, fdopen, freopen): Define these to the unlocked
130 libiberty functions.
131
077a3c99 1322005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
133
134 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
135 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
136 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
137 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
138 _unlocked function.
139 (fwrite_unlocked): Fix prototype.
1da60ab0 140
077a3c99 141 * configure, config.h.in: Regenerate.
142
5eb9abc6 1432005-03-21 Zack Weinberg <zack@codesourcery.com>
144
145 * Makefile.in: Set gcc_version directly, not via substitution.
146 (libsubdir): Use $(gcc_version), not $(version).
147 (mkheaders.almost): New rule.
148 (mkheaders): Generate from mkheaders.almost.
149 (clean): Also delete mkheaders.almost.
150 * aclocal.m4: Do not include ../config/gcc-version.m4.
151 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
152 mkheaders.almost from mkheaders.in.
153 * configure: Regenerate.
154
a11c2c4d 1552005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
156
157 PR target/20166
158 * inclhack.def: Add fix for array of incomplete structures
159 in function prototype in pthread.h.
160 * fixincl.x: Regenerate.
161 * tests/base/pthread.h: Adjust.
162
1589683c 1632005-03-15 Joseph S. Myers <joseph@codesourcery.com>
164
165 * inclhack.def (hpux_htonl): New fix.
166 * tests/base/netinet/in.h: New test.
167 * fixincl.x: Regenerate.
168
82598b81 1692005-02-23 James E Wilson <wilson@specifixinc.com>
170
171 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
172
4366be98 1732004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
174
175 PR 18458
176 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
177 fixincl.
178
14ac9144 1792004-12-02 Richard Sandiford <rsandifo@redhat.com>
180
181 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
182 * aclocal.m4: Include ../config/gcc-version.m4.
183 * configure: Regenerate.
184
09a31484 1852004-11-26 Mark Mitchell <mark@codesourcery.com>
186
187 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
188 (stdio_va_list): Likewise.
189 (stdio_stdarg.h): Likewise.
190 (solaris_stdio_tag): Add bypass.
191 * fixincl.x: Regenerated.
192
f4e16230 1932004-11-23 Geoffrey Keating <geoffk@apple.com>
194
195 * mkfixinc.sh: Check error code from 'cat'. Don't try running
196 built fixincl program.
197 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
198 up csh from user.
199
4964185a 2002004-11-20 Roger Sayle <roger@eyesopen.com>
201
202 * inclhack.def (alpha_pthread_init): Fix technical problems with
203 the last check-in caused by CVS variable substitution.
204 * fixincl.x: Likewise.
205 * tests/base/pthread.h: Likewise.
206
31e7bff5 2072004-11-20 Roger Sayle <roger@eyesopen.com>
208 Bruce Korb <bkorb@gnu.org>
209
210 * inclhack.def (alpha_pthread_init): New fix.
211 * fixincl.x: Regenerate.
212 * tests/base/pthread.h: Update for new test.
213
47168473 2142004-11-15 Bruce Korb <bkorb@gnu.org>
215
216 * fixincl.c(fix_with_system): correct misuse of variables and
217 incorrect application of "sizeof()".
218
3d396563 2192004-11-13 Joseph S. Myers <joseph@codesourcery.com>
220
221 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
222 svr4__p, undefine_null): Remove.
223 * fixincl.x: Regenerate.
224 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
225 * tests/base/sys/param.h: Remove.
226 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
227 tests/base/sys/limits.h: Update.
228
b98c35c6 2292004-11-12 Mike Stump <mrs@apple.com>
230
231 * Makefile.in (html): Add html generation support.
232
9119bca7 2332004-11-12 Joseph S. Myers <joseph@codesourcery.com>
234
235 * inclhack.def (sco_math): Bypass on __GNUG__.
236 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
237 * fixincl.x: Regenerate.
238
69c13546 2392004-11-09 Joseph S. Myers <joseph@codesourcery.com>
240
241 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
242 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
243 _CLASSIC_ANSI_TYPES.
244 (sun_auth_proto): Bypass on __cplusplus.
245 * fixincl.x: Regenerate.
246
997d335e 2472004-11-05 Geoffrey Keating <geoffk@apple.com>
248
249 * Makefile.in (mostlyclean): Add fixinc.sh.
250 (clean): Add mkheaders.
251 (distclean): New.
252 (dvi): New.
253 (info): New.
254 (installcheck): New.
255
bdcc5e0f 2562004-11-05 Paolo Bonzini <bonzini@gnu.org>
257
258 * Makefile.in (mostlyclean, distclean): New targets.
259
50e7e370 2602004-11-04 Geoffrey Keating <geoffk@apple.com>
261
262 * configure.ac: Add code to determine noncanonical_target,
263 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
264 * configure: Regenerate.
265 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
266 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
267 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
268 update for changes to fixinc.in.
269 * Makefile.in: Add many new macros.
270 (install): New target.
271 (mkheaders): New target.
272 (fixinc.sh): New target.
273 (all): Add mkheaders and fixinc.sh.
274 * README-fixinc: Move here from gcc/.
275
925b9291 2762004-11-01 Mike Stump <mrs@apple.com>
277
278 * inclhack.def (stdio_va_list): Break out clients from here...
279 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
5eb9abc6 280 included or ifdef va_start.
925b9291 281 * fixincl.x: Regenerate.
282
a6c73c6c 2832004-10-28 Mike Stump <mrs@apple.com>
284
285 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
286 systems.
df2b0bc4 287 * fixincl.x: Regenerate.
288
975d636c 2892004-10-27 Geoffrey Keating <geoffk@apple.com>
290
291 * inclhack.def (darwin_gcc4_breakage): New.
292 * fixincl.x: Regenerate.
293
8340bfc5 2942004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
295
296 PR bootstrap/17832
297
298 * fixfixes.c (main): Check for _PC_NAME_MAX.
299
998ae78e 3002004-10-27 Paolo Bonzini <bonzini@gnu.org>
301
302 PR other/17991
303
304 * configure.ac: Fix typo.
305 * configure: Regenerate.
306 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
307
b05d4aed 3082004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
309
310 PR bootstrap/17832
311
312 * fixincl.c (SIGCHLD): Remove definition.
313 (initialize): Remove SIGIOT and SIGPIPE checks.
314 (create_file): Fix mkdir() for Win32.
315 (internal_fix): Use dup2() instead of fcntl().
316
317 * fixlib.h (SIGQUIT): Define if undefined.
318 (SIGIOT): Same.
319 (SIGPIPE): Same.
320 (SIGALRM): Same.
321 (SIGKILL): Same.
322
323 * procopen.c (chain_open): Use dup2() instead of fcntl().
324
4f80d25b 3252004-08-14 Paolo Bonzini <bonzini@gnu.org>
326
327 PR other/17991
328
329 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
330 Update copyright year.
331 * fixfixes.c (main): Call initialize_opts from fixopts.c.
332 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
333 do not include code for parsing options (environment vars).
334 (fix_with_system): Use a search path for applyfix, so that you
335 can run the test suite with two-process fixincludes.
336 * fixopts.c: New file.
337 * configure.ac: Add --enable-twoprocess. Export ac_exeext
338 to config.h. Default to --enable-twoprocess for MinGW32.
339 * config.h.in: Regenerate.
340 * configure: Regenerate.
341
e0af05d7 3422004-10-04 Loren J. Rittle <ljrittle@acm.org>
343
344 * tests/base/sys/cdefs.h: Update from test area.
345
d92db5b6 3462004-09-17 Roger Sayle <roger@eyesopen.com>
347
348 * inclhack.def (linux_ia64_ucontext): New fix.
349 * fixincl.x: Regenerate.
350 * tests/base/sys/ucontext.h: New file.
351
72546848 3522004-09-15 Roger Sayle <roger@eyesopen.com>
353
354 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
355 * tests/base/stdlib.h: Likewise.
356
f9ac0b87 3572004-09-13 Loren J. Rittle <ljrittle@acm.org>
358
359 * inclhack.def (freebsd_gcc4_breakage): Add.
360 * fixincl.x: Regenerate.
7a641792 361 * tests/base/sys/cdefs.h: Update for new test.
f9ac0b87 362
435ea059 3632004-09-10 Adam Nemet <anemet@lnxw.com>
364
365 * inclhack.def (lynx_void_int): Remove.
366 (lynxos_fcntl_proto): Remove.
367 (lynxos_no_warning_in_sys_time_h): New fix.
368 (lynxos_missing_putenv): New fix.
369 * fixincl.x: Regenerate.
370 * tests/base/fcntl.h: Remove.
371 * tests/base/sys/time.h: Update from test area.
372 * tests/base/curses.h: Likewise.
373 * tests/base/stdlib.h: Likewise.
374
634f7a13 3752004-09-03 Jan Beulich <jbeulich@novell.com>
376
377 * inclhack.def: Suppress exception_structure and math_exception
378 for NetWare headers.
379 * fixincl.x: Regenerate.
380
2b59cb05 3812004-08-31 Paolo Bonzini <bonzini@gnu.org>
382
383 * .cvsignore: New.
384 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
385 autoconfiscated.
386 * configure.ac: New.
387 * config.h.in: Generate.
388 * configure: Generate.
389 * aclocal.m4: New.
390 * fixlib.h: Remove inclusions of gcc files.
391 * system.h: New.
392
393 Other files copied from gcc/fixinc.