Merge from mainline
[official-gcc.git] / fixincludes / ChangeLog
blobeb34e42383bdbe96fdcf26072b75bc67aa31f71b
1 2006-01-31  Marcin Dalecki  <martin@dalecki.de>
3         * configure.ac: Check for asprintf, basename, vasprintf.
4         * config.h.in: Regenerate.
5         * configure: Regenerate.
7 2006-01-19  Andrew Pinski  <pinskia@physics.uc.edu>
9         PR target/15642
10         * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
11         __APPLE_CC_ as 1345.
12         (broken_nan): New.
13         * fixincl.x: Regenerate.
15 2005-11-24  Bruce Korb  <bkorb@gnu.org>
17         * fixincl.c(write_replacement) "here strings" in AutoGen often/generally
18         don't have a terminating newline.  Check the last byte for '\n'.
20 2005-11-13  Andreas Jaeger  <aj@suse.de>
22         * check.tpl: Handle CVS additionally.
24 2005-11-05  Andreas Jaeger  <aj@suse.de>
26         * check.tpl: Adopt for move to subversion.
28 2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
30         PR c++/23139
31         * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
32         fixes.
33         * fixincl.x: Regenerate.
34         * tests/base/bits/huge_val.h: New file.
36 2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
38         * All files: Update with new FSF address.
40 2005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
42         * Makefile.in (WARN_CFLAGS): New.
43         (.c.o): Add $(WARN_CFLAGS).
44         * aclocal.m4: Include ../config/warnings.m4.
45         * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
46         ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
47         ACX_PROG_CC_WARNINGS_ARE_ERRORS.
48         * fixopts.c (initialize_opts): Fix old-style definintion.
50         * configure: Regenerate.
52 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
54         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
55         (AAB_darwin7_9_long_double_funcs_2): New.
56         * fixincl.x: Regenerate.
58 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
60         PR libfortran/15266
61         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
62         Use double quotes in select so \t matches tabs.
63         Add IRIX testcase.
64         * fixincl.x: Regenerate.
65         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
67 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
69         PR target/21683
70         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
72 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
73             Joseph S. Myers  <joseph@codesourcery.com>
75         PR target/19933
76         PR target/21315
77         * inclhack.def: New fixes solaris_math_[1-9].
78         * fixincl.x: Regenerate.
79         * tests/base/iso/math_c99.h: New.
81 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
83         * aclocal.m4: Remove superfluous reference to accross.m4.
85 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
87         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
88         * server.c (load_data): Likewise.
89         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
90         * fixincl.c: #include <sys/wait.h>
91         (run_compiles): Use XCNEWVEC instead of xcalloc.
92         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
93         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
95 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
97         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
98         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
99         * fixincl.x: Regenerate.
101 2005-05-06  Bruce Korb  <bkorb@gnu.org>
102         Joseph S. Myers <joseph@codesourcery.com>
104         * fixinc/inclhack.def: Correct backslashes
105         * fixinc/fixincl.x: regen
107 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
109         * system.h (fopen, fdopen, freopen): Define these to the unlocked
110         libiberty functions.
112 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
114         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
115         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
116         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
117         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
118         _unlocked function.
119         (fwrite_unlocked): Fix prototype.
121         * configure, config.h.in: Regenerate.
123 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
125         * Makefile.in: Set gcc_version directly, not via substitution.
126         (libsubdir): Use $(gcc_version), not $(version).
127         (mkheaders.almost): New rule.
128         (mkheaders): Generate from mkheaders.almost.
129         (clean): Also delete mkheaders.almost.
130         * aclocal.m4: Do not include ../config/gcc-version.m4.
131         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
132         mkheaders.almost from mkheaders.in.
133         * configure: Regenerate.
135 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
137         PR target/20166
138         * inclhack.def: Add fix for array of incomplete structures
139         in function prototype in pthread.h.
140         * fixincl.x: Regenerate.
141         * tests/base/pthread.h: Adjust.
143 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
145         * inclhack.def (hpux_htonl): New fix.
146         * tests/base/netinet/in.h: New test.
147         * fixincl.x: Regenerate.
149 2005-02-23  James E Wilson  <wilson@specifixinc.com>
151         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
153 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
155         PR 18458
156         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
157         fixincl.
159 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
161         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
162         * aclocal.m4: Include ../config/gcc-version.m4.
163         * configure: Regenerate.
165 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
167         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
168         (stdio_va_list): Likewise.
169         (stdio_stdarg.h): Likewise.
170         (solaris_stdio_tag): Add bypass.
171         * fixincl.x: Regenerated.
173 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
175         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
176         built fixincl program.
177         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
178         up csh from user.
180 2004-11-20  Roger Sayle  <roger@eyesopen.com>
182         * inclhack.def (alpha_pthread_init): Fix technical problems with
183         the last check-in caused by CVS variable substitution.
184         * fixincl.x: Likewise.
185         * tests/base/pthread.h: Likewise.
187 2004-11-20  Roger Sayle  <roger@eyesopen.com>
188             Bruce Korb  <bkorb@gnu.org>
190         * inclhack.def (alpha_pthread_init): New fix.
191         * fixincl.x: Regenerate.
192         * tests/base/pthread.h: Update for new test.
194 2004-11-15  Bruce Korb  <bkorb@gnu.org>
196         * fixincl.c(fix_with_system): correct misuse of variables and
197         incorrect application of "sizeof()".
199 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
201         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
202         svr4__p, undefine_null): Remove.
203         * fixincl.x: Regenerate.
204         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
205         * tests/base/sys/param.h: Remove.
206         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
207         tests/base/sys/limits.h: Update.
209 2004-11-12  Mike Stump  <mrs@apple.com>
211         * Makefile.in (html): Add html generation support.
213 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
215         * inclhack.def (sco_math): Bypass on __GNUG__.
216         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
217         * fixincl.x: Regenerate.
219 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
221         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
222         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
223         _CLASSIC_ANSI_TYPES.
224         (sun_auth_proto): Bypass on __cplusplus.
225         * fixincl.x: Regenerate.
227 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
229         * Makefile.in (mostlyclean): Add fixinc.sh.
230         (clean): Add mkheaders.
231         (distclean): New.
232         (dvi): New.
233         (info): New.
234         (installcheck): New.
236 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
238         * Makefile.in (mostlyclean, distclean): New targets.
240 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
242         * configure.ac: Add code to determine noncanonical_target,
243         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
244         * configure: Regenerate.
245         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
246         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
247         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
248         update for changes to fixinc.in.
249         * Makefile.in: Add many new macros.
250         (install): New target.
251         (mkheaders): New target.
252         (fixinc.sh): New target.
253         (all): Add mkheaders and fixinc.sh.
254         * README-fixinc: Move here from gcc/.
256 2004-11-01  Mike Stump  <mrs@apple.com>
258         * inclhack.def (stdio_va_list): Break out clients from here...
259         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
260         included or ifdef va_start.
261         * fixincl.x: Regenerate.
263 2004-10-28  Mike Stump  <mrs@apple.com>
265         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
266         systems.
267         * fixincl.x: Regenerate.
269 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
271         * inclhack.def (darwin_gcc4_breakage): New.
272         * fixincl.x: Regenerate.
274 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
276         PR bootstrap/17832
278         * fixfixes.c (main): Check for _PC_NAME_MAX.
280 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
282         PR other/17991
284         * configure.ac: Fix typo.
285         * configure: Regenerate.
286         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
288 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
290         PR bootstrap/17832
292         * fixincl.c (SIGCHLD): Remove definition.
293         (initialize): Remove SIGIOT and SIGPIPE checks.
294         (create_file): Fix mkdir() for Win32.
295         (internal_fix): Use dup2() instead of fcntl().
297         * fixlib.h (SIGQUIT): Define if undefined.
298         (SIGIOT): Same.
299         (SIGPIPE): Same.
300         (SIGALRM): Same.
301         (SIGKILL): Same.
303         * procopen.c (chain_open): Use dup2() instead of fcntl().
305 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
307         PR other/17991
309         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
310         Update copyright year.
311         * fixfixes.c (main): Call initialize_opts from fixopts.c.
312         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
313         do not include code for parsing options (environment vars).
314         (fix_with_system): Use a search path for applyfix, so that you
315         can run the test suite with two-process fixincludes.
316         * fixopts.c: New file.
317         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
318         to config.h.  Default to --enable-twoprocess for MinGW32.
319         * config.h.in: Regenerate.
320         * configure: Regenerate.
322 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
324         * tests/base/sys/cdefs.h: Update from test area.
326 2004-09-17  Roger Sayle  <roger@eyesopen.com>
328         * inclhack.def (linux_ia64_ucontext): New fix.
329         * fixincl.x: Regenerate.
330         * tests/base/sys/ucontext.h: New file.
332 2004-09-15  Roger Sayle  <roger@eyesopen.com>
334         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
335         * tests/base/stdlib.h: Likewise.
337 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
339         * inclhack.def (freebsd_gcc4_breakage): Add.
340         * fixincl.x: Regenerate.
341         * tests/base/sys/cdefs.h: Update for new test.
343 2004-09-10  Adam Nemet  <anemet@lnxw.com>
345         * inclhack.def (lynx_void_int): Remove.
346         (lynxos_fcntl_proto): Remove.
347         (lynxos_no_warning_in_sys_time_h): New fix.
348         (lynxos_missing_putenv): New fix.
349         * fixincl.x: Regenerate.
350         * tests/base/fcntl.h: Remove.
351         * tests/base/sys/time.h: Update from test area.
352         * tests/base/curses.h: Likewise.
353         * tests/base/stdlib.h: Likewise.
355 2004-09-03  Jan Beulich  <jbeulich@novell.com>
357         * inclhack.def: Suppress exception_structure and math_exception
358         for NetWare headers.
359         * fixincl.x: Regenerate.
361 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
363         * .cvsignore: New.
364         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
365         autoconfiscated.
366         * configure.ac: New.
367         * config.h.in: Generate.
368         * configure: Generate.
369         * aclocal.m4: New.
370         * fixlib.h: Remove inclusions of gcc files.
371         * system.h: New.
373         Other files copied from gcc/fixinc.