1 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3 * Makefile.in (WARN_CFLAGS): New.
4 (.c.o): Add $(WARN_CFLAGS).
5 * aclocal.m4: Include ../config/warnings.m4.
6 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
7 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
8 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
9 * fixopts.c (initialize_opts): Fix old-style definintion.
11 * configure: Regenerate.
13 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
15 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
16 (AAB_darwin7_9_long_double_funcs_2): New.
17 * fixincl.x: Regenerate.
19 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
22 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
23 Use double quotes in select so \t matches tabs.
25 * fixincl.x: Regenerate.
26 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
28 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
31 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
33 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
34 Joseph S. Myers <joseph@codesourcery.com>
38 * inclhack.def: New fixes solaris_math_[1-9].
39 * fixincl.x: Regenerate.
40 * tests/base/iso/math_c99.h: New.
42 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
44 * aclocal.m4: Remove superfluous reference to accross.m4.
46 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
48 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
49 * server.c (load_data): Likewise.
50 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
51 * fixincl.c: #include <sys/wait.h>
52 (run_compiles): Use XCNEWVEC instead of xcalloc.
53 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
54 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
56 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
58 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
59 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
60 * fixincl.x: Regenerate.
62 2005-05-06 Bruce Korb <bkorb@gnu.org>
63 Joseph S. Myers <joseph@codesourcery.com>
65 * fixinc/inclhack.def: Correct backslashes
66 * fixinc/fixincl.x: regen
68 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
70 * system.h (fopen, fdopen, freopen): Define these to the unlocked
73 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
75 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
76 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
77 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
78 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
80 (fwrite_unlocked): Fix prototype.
82 * configure, config.h.in: Regenerate.
84 2005-03-21 Zack Weinberg <zack@codesourcery.com>
86 * Makefile.in: Set gcc_version directly, not via substitution.
87 (libsubdir): Use $(gcc_version), not $(version).
88 (mkheaders.almost): New rule.
89 (mkheaders): Generate from mkheaders.almost.
90 (clean): Also delete mkheaders.almost.
91 * aclocal.m4: Do not include ../config/gcc-version.m4.
92 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
93 mkheaders.almost from mkheaders.in.
94 * configure: Regenerate.
96 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
99 * inclhack.def: Add fix for array of incomplete structures
100 in function prototype in pthread.h.
101 * fixincl.x: Regenerate.
102 * tests/base/pthread.h: Adjust.
104 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
106 * inclhack.def (hpux_htonl): New fix.
107 * tests/base/netinet/in.h: New test.
108 * fixincl.x: Regenerate.
110 2005-02-23 James E Wilson <wilson@specifixinc.com>
112 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
114 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
117 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
120 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
122 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
123 * aclocal.m4: Include ../config/gcc-version.m4.
124 * configure: Regenerate.
126 2004-11-26 Mark Mitchell <mark@codesourcery.com>
128 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
129 (stdio_va_list): Likewise.
130 (stdio_stdarg.h): Likewise.
131 (solaris_stdio_tag): Add bypass.
132 * fixincl.x: Regenerated.
134 2004-11-23 Geoffrey Keating <geoffk@apple.com>
136 * mkfixinc.sh: Check error code from 'cat'. Don't try running
137 built fixincl program.
138 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
141 2004-11-20 Roger Sayle <roger@eyesopen.com>
143 * inclhack.def (alpha_pthread_init): Fix technical problems with
144 the last check-in caused by CVS variable substitution.
145 * fixincl.x: Likewise.
146 * tests/base/pthread.h: Likewise.
148 2004-11-20 Roger Sayle <roger@eyesopen.com>
149 Bruce Korb <bkorb@gnu.org>
151 * inclhack.def (alpha_pthread_init): New fix.
152 * fixincl.x: Regenerate.
153 * tests/base/pthread.h: Update for new test.
155 2004-11-15 Bruce Korb <bkorb@gnu.org>
157 * fixincl.c(fix_with_system): correct misuse of variables and
158 incorrect application of "sizeof()".
160 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
162 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
163 svr4__p, undefine_null): Remove.
164 * fixincl.x: Regenerate.
165 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
166 * tests/base/sys/param.h: Remove.
167 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
168 tests/base/sys/limits.h: Update.
170 2004-11-12 Mike Stump <mrs@apple.com>
172 * Makefile.in (html): Add html generation support.
174 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
176 * inclhack.def (sco_math): Bypass on __GNUG__.
177 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
178 * fixincl.x: Regenerate.
180 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
182 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
183 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
185 (sun_auth_proto): Bypass on __cplusplus.
186 * fixincl.x: Regenerate.
188 2004-11-05 Geoffrey Keating <geoffk@apple.com>
190 * Makefile.in (mostlyclean): Add fixinc.sh.
191 (clean): Add mkheaders.
197 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
199 * Makefile.in (mostlyclean, distclean): New targets.
201 2004-11-04 Geoffrey Keating <geoffk@apple.com>
203 * configure.ac: Add code to determine noncanonical_target,
204 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
205 * configure: Regenerate.
206 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
207 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
208 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
209 update for changes to fixinc.in.
210 * Makefile.in: Add many new macros.
211 (install): New target.
212 (mkheaders): New target.
213 (fixinc.sh): New target.
214 (all): Add mkheaders and fixinc.sh.
215 * README-fixinc: Move here from gcc/.
217 2004-11-01 Mike Stump <mrs@apple.com>
219 * inclhack.def (stdio_va_list): Break out clients from here...
220 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
221 included or ifdef va_start.
222 * fixincl.x: Regenerate.
224 2004-10-28 Mike Stump <mrs@apple.com>
226 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
228 * fixincl.x: Regenerate.
230 2004-10-27 Geoffrey Keating <geoffk@apple.com>
232 * inclhack.def (darwin_gcc4_breakage): New.
233 * fixincl.x: Regenerate.
235 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
239 * fixfixes.c (main): Check for _PC_NAME_MAX.
241 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
245 * configure.ac: Fix typo.
246 * configure: Regenerate.
247 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
249 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
253 * fixincl.c (SIGCHLD): Remove definition.
254 (initialize): Remove SIGIOT and SIGPIPE checks.
255 (create_file): Fix mkdir() for Win32.
256 (internal_fix): Use dup2() instead of fcntl().
258 * fixlib.h (SIGQUIT): Define if undefined.
264 * procopen.c (chain_open): Use dup2() instead of fcntl().
266 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
270 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
271 Update copyright year.
272 * fixfixes.c (main): Call initialize_opts from fixopts.c.
273 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
274 do not include code for parsing options (environment vars).
275 (fix_with_system): Use a search path for applyfix, so that you
276 can run the test suite with two-process fixincludes.
277 * fixopts.c: New file.
278 * configure.ac: Add --enable-twoprocess. Export ac_exeext
279 to config.h. Default to --enable-twoprocess for MinGW32.
280 * config.h.in: Regenerate.
281 * configure: Regenerate.
283 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
285 * tests/base/sys/cdefs.h: Update from test area.
287 2004-09-17 Roger Sayle <roger@eyesopen.com>
289 * inclhack.def (linux_ia64_ucontext): New fix.
290 * fixincl.x: Regenerate.
291 * tests/base/sys/ucontext.h: New file.
293 2004-09-15 Roger Sayle <roger@eyesopen.com>
295 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
296 * tests/base/stdlib.h: Likewise.
298 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
300 * inclhack.def (freebsd_gcc4_breakage): Add.
301 * fixincl.x: Regenerate.
302 * tests/base/sys/cdefs.h: Update for new test.
304 2004-09-10 Adam Nemet <anemet@lnxw.com>
306 * inclhack.def (lynx_void_int): Remove.
307 (lynxos_fcntl_proto): Remove.
308 (lynxos_no_warning_in_sys_time_h): New fix.
309 (lynxos_missing_putenv): New fix.
310 * fixincl.x: Regenerate.
311 * tests/base/fcntl.h: Remove.
312 * tests/base/sys/time.h: Update from test area.
313 * tests/base/curses.h: Likewise.
314 * tests/base/stdlib.h: Likewise.
316 2004-09-03 Jan Beulich <jbeulich@novell.com>
318 * inclhack.def: Suppress exception_structure and math_exception
320 * fixincl.x: Regenerate.
322 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
325 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
328 * config.h.in: Generate.
329 * configure: Generate.
331 * fixlib.h: Remove inclusions of gcc files.
334 Other files copied from gcc/fixinc.