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