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