2013-09-03 Richard Biener <rguenther@suse.de>
[official-gcc.git] / fixincludes / ChangeLog
blobf75064e1def3bb99e61cd167ae5144c0eca4fbee
1 2013-05-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3         Backport from mainline:
4         2013-05-17  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6         * inclhack.def (solaris_pow_int_overload): Update comment.
7         Change guard to match <cmath>.
8         * fixincl.x: Regenerate.
9         * tests/base/iso/math_iso.h [SOLARIS_POW_INT_OVERLOAD_CHECK]:
10         Matching change.
12 2013-05-31  Release Manager
14         * GCC 4.8.1 released.
16 2013-03-22  Release Manager
18         * GCC 4.8.0 released.
20 2013-01-16  Alexandre Oliva <aoliva@redhat.com>
22         * inclhack.def (feraiseexcept_nosse_invalid): New.
23         (feraiseexcept_nosse_divbyzero): Likewise.
24         * fixincl.x: Rebuilt.
25         * tests/base/bits/fenv.h: New.
27 2013-01-14  Richard Biener  <rguenther@suse.de>
29         * fixlib.h (verbose_level, fixinc_mode): Mark extern.
31 2012-10-29  Bruce Korb  <bkorb@gnu.org>
33         * README: testing wrap and replacement fixes is pointless.
34         * fixincl.c: export verbosity enumerations to fixlib.h
35         (run_compiles): mark replacement fixes to be skipped when
36         in testing mode
37         * fixlib.h: add a test mode and enumerations from fixincl.c
38         * check.tpl: set TEST_MODE in environment
39         * fixopts.c (initialize_opts): check for TEST_MODE in environment
40         * inclhack.def: move AAB_darwin7_9_long_double_funcs to
41         darwin_9_long_double_funcs_2.  It is not a replacement fix.
42         * fixincl.x: regenerate
43         * tests/base/ioLib.h: the need for this is now exposed, so add it.
44         * tests/base/architecture/ppc/math.h: the correct result is now needed.
46 2012-10-29  Robert Mason  <rbmj@verizon.net>
48         * fixinc.in: Omit machine name checks for vxworks
49         * fixincludes/inclhack.def (AAB_vxworks_assert) new replacement fix
50         (AAB_vxworks_regs_vxtypes): another
51         (AAB_vxworks_stdint): yet another
52         (AAB_vxworks_unistd): and another
53         (vxworks_ioctl_macro): reformatting fix
54         (vxworks_mkdir_macro): again
55         (vxworks_regs): and again
56         (vxworks_write_const): and again
57         * tests/base/ioLib.h: new test result
58         * tests/base/math.h: likewise
59         * tests/base/sys/stat.h: likewise
60         * tests/base/testing.h: and again
62 2012-09-29  David Edelsohn  <dje.gcc@gmail.com>
64         * inclhack.def (AAB_aix_fcntl): New fix.
65         * fixincl.x: Regenerate.
67 2012-06-19  David Edelsohn  <dje.gcc@gmail.com>
69         * inclhack.def (aix_mutex_initializer_1): New fix.
70         (aix_cond_initializer_1): New fix.
71         (aix_rwlock_initializer): New fix.
72         * fixincl.x: Regenerate.
73         * tests/base/pthread.h [AIX_MUTEX_INITIALIZER_1_CHECK]: New.
74         [AIX_COND_INITIALIZER_1_CHECK]: New.
75         [AIX_RWLOCK_INITIALIZER_1_CHECK]: New.
77 2012-05-29  Thomas Schwinge  <thomas@codesourcery.com>
79         * configure.ac: Use GCC_AC_FUNC_MMAP_BLACKLIST instead of
80         gcc_AC_FUNC_MMAP_BLACKLIST.
81         * Makefile.in (ACLOCAL_AMFLAGS): Don't include ../gcc.
82         * aclocal.m4: Regenerate.
83         * configure: Regenerate.
85 2012-04-24  Tristan Gingold  <gingold@adacore.com>
87         * fixincl.c (fix_with_system): Add missing specifier.
88         * configure.ac: Default to twoprocess on vms.
89         * configure: Regenerate.
91 2012-03-23  David Edelsohn  <dje.gcc@gmail.com>
93         * inclhack.def (aix_malloc): New.
94         * fixincl.x: Regenerate.
95         * tests/base/malloc.h [AIX_MALLOC_CHECK]: New.
97 2012-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
99         PR other/52626
100         * tests/base/pthread.h [SOLARIS_MUTEX_INIT_2_CHECK]
101         (PTHREAD_COND_INITIALIZER): Adapt for solaris_cond_init removal.
103 2012-03-15  Tristan Gingold  <gingold@adacore.com>
105         * README (EXAMPLES OF FIXES): Update.
107 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
109         * inclhack.def (math_exception): Remove duplicate.
110         (solaris_cond_init): Remove.
111         (solaris_sys_va_list): Remove Solaris 8 support.
112         * fixincl.x: Regenerate.
113         * tests/base/pthread.h [SOLARIS_COND_INIT_CHECK]: Remove.
115 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
117         * inclhack.def (broken_cabs): Remove IRIX and SunOS 4 support.
118         (irix___restrict): Remove.
119         (irix___generic1): Remove.
120         (irix___generic2): Remove.
121         (irix_asm_apostrophe): Remove.
122         (irix_complex): Remove.
123         (irix_pthread_init): Remove.
124         (irix_socklen_t): Remove.
125         (irix_stdint_c99_mode): Remove.
126         (irix_stdint_c99_types): Remove.
127         (irix_stdint_c99_macros): Remove.
128         (irix_stdio_va_list): Remove IRIX 6.5 support.
129         (irix_wcsftime): Remove.
130         (stdio_va_list): Remove IRIX 6.5 support.
131         (svr4_profil): Remove IRIX bypass.
132         * fixincl.x: Regenerate.
134         * tests/base/complex.h [IRIX_COMPLEX_CHECK]: Remove.
135         * tests/base/internal/math_core.h: Remove.
136         * tests/base/internal/sgimacros.h: Remove.
137         * tests/base/internal/wchar_core.h: Remove.
138         * tests/base/math.h [BROKEN_CABS_CHECK]: Remove IRIX and SunOS 4
139         support.
140         * tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: Remove.
141         * tests/base/stdint-irix65.h: Remove.
142         * tests/base/stdint.h [IRIX_STDINT_C99_MODE_CHECK]: Remove.
143         * tests/base/sys/asm.h: Remove.
144         * tests/base/sys/socket.h [IRIX_SOCKLEN_T_CHECK]: Remove.
146 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
148         * inclhack.def (alpha___extern_prefix): Remove.
149         (alpha___extern_prefix_standards): Remove.
150         (alpha___extern_prefix_sys_stat): Remove.
151         (alpha_bad_lval): Remove.
152         (alpha_pthread): Remove.
153         (alpha_pthread_gcc): Remove.
154         (alpha_pthread_init): Remove.
155         * fixincl.x: Regenerate.
156         * tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: Remove.
157         [ALPHA_PTHREAD_GCC_CHECK]: Remove.
158         [ALPHA_PTHREAD_INIT_CHECK]: Remove.
159         * tests/base/standards.h: Remove.
160         * tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_SYS_STAT_CHECK]:
161         Remove.
162         * tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: Remove.
163         [ALPHA_BAD_LVAL_CHECK]: Remove.
165 2012-03-12  Tristan Gingold  <gingold@adacore.com>
167         * inclhack.def (vms_use_quoted_include,vms_add_missing_braces)
168         (vms_do_not_redeclare_hostalias, vms_decc_builtin)
169         (vms_no_64bit_getopt, vms_forward_declare_struct)
170         (vms_use_fast_setjmp): New fixes.
171         * fixincl.x: Regenerate.
172         * tests/base/rtldef/string.h: Update.
173         * tests/base/rtldef/if.h, tests/base/rtldef/resolv.h,
174         * tests/base/rtldef/setjmp.h, tests/base/rtldef/signal.h,
175         * tests/base/rtldef/stdio.h, tests/base/rtldef/wait.h: New files.
177 2012-01-11  Bruce Korb <bkorb@gnu.org>
178             Steven G. Kargl  <kargl@gcc.gnu.org>
179             Andreas Tobler  <andreast@fgznet.ch>
181         PR bootstrap/51705
182         PR preprocessor/51776
183         * inclhack.def (cdef_cplusplus): Add a replacement for [[noreturn]].
184         * fixincl.x: Regenerate.
185         * tests/base/sys/cdefs.h: Update.
187         * genfixes: Remove the 'Ver.' from the version check.
189 2011-12-20  Andreas Schwab  <schwab@linux-m68k.org>
191         * configure: Regenerate.
193 2011-12-19  Andreas Schwab  <schwab@linux-m68k.org>
195         * configure: Regenerate.
197 2011-11-16  David Edelsohn  <dje.gcc@gmail.com>
199         * inclhack.def (aix_once_init_[12]): New fixes.
200         * fixincl.x: Regenerate.
201         * tests/base/pthread.h: Update.
203 2011-10-25  Mike Stump  <mikestump@comcast.net>
205         PR target/48851
206         * inclhack.def (void_null): New bypass.
207         * fixincl.x: Regenerate.
209 2011-09-26  Tristan Gingold  <gingold@adacore.com>
211         * inclhack.def (ms_define_can_use_extern_prefix):
212         (vms_use_pragma_extern_model, vms_disable_decc_string_builtins):
213         New fixes.
214         * fixincl.x: Regenerate.
215         * tests/base/rtldef/string.h: New test.
216         * tests/base/rtldef/decc$types.h: Likewise.
217         * tests/base/testing.h: Update
219 2011-09-22  Tristan Gingold  <gingold@adacore.com>
221         * mkfixinc.sh (target): Remove alpha-vms from particular targets.
223 2011-08-23  Steve Ellcey  <sje@cup.hp.com>
225         PR libstdc++/50153
226         * inclhack.def (hpux11_abs): Extend to all hpux machines.
227         * fixincl.x: Regenerate.
229 2011-08-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
230             Marc Glisse  <marc.glisse@normalesup.org>
232         PR libstdc++-v3/1773
233         * inclhack.def (solaris_cxx_linkage, solaris_getc_strict_stdc)
234         (solaris_longjmp_noreturn, solaris_pow_int_overload)
235         (solaris_std___filbuf): New fixes.
236         * tests/base/iso/math_iso.h, tests/base/iso/setjmp_iso.h,
237         tests/base/iso/stdio_iso.h, tests/base/iso/stdlib_iso.h: New tests.
238         * tests/base/stdio.h [SOLARIS_STD___FILBUF_CHECK]: New test.
240 2011-07-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
242         PR c++/49347
243         * inclhack.def (solaris_posix_spawn_restrict): New fix.
244         * fixincl.x: Regenerate.
245         * tests/base/spawn.h: New test.
247 2011-06-08  Douglas B Rupp  <rupp@gnat.com>
249         * configure.ac (AC_USE_SYSTEM_EXTENSIONS): Add.
250         * configure: Regenerate.
251         * config.h.in: Regenerate.
253 2011-06-06  Peter O'Gorman  <pogma@thewrittenword.com>
255         * inclhack.def (aix_net_if_arp): New fix.
256         * fixincl.x: Regenerate.
257         * tests/base/net/if_arp.h [AIX_NET_IF_ARP_CHECK]: New test.
259 2011-05-17  Tristan Gingold  <gingold@adacore.com>
261         * inclhack.def (solaris_complex_cxx): Fix syntax.
262         * fixincl.x: Regenerate.
264 2011-05-17  Tristan Gingold  <gingold@adacore.com>
266         * check.tpl: Shell-quote testing file.
268 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
270         * mkfixinc.sh: Don't handle i?86-moss-msdos* or i?86-*-pe.
272 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
274         PR other/46202
275         * Makefile.in (install-strip): New phony target.
276         (all, check, install): Also mark as phony.
278 2010-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
280         * inclhack.def (irix_pthread_init): New fix.
281         * fixincl.x: Regenerate.
282         * tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: New test.
284 2010-10-20  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
286         PR c++/46024
287         * inclhack.def (solaris_sys_va_list): New fix.
288         * fixincl.x: Regenerate.
289         * tests/base/sys/va_list.h: New test.
291 2010-09-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
293         * inclhack.def (hpux_htonl): Allow trailing whitespace in select.
294         * fixincl.x: Regenerate.
296 2010-07-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
298         * inclhack.def (solaris_cond_init): New fix.
299         * fixincl.x: Regenerate.
300         * tests/base/pthread.h [SOLARIS_COND_INIT_CHECK]: New test.
301         [SOLARIS_MUTEX_INIT_2_CHECK]: Adapt.
303 2010-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
305         * inclhack.def (solaris__restrict, solaris_complex_cxx): New fixes
306         * fixincl.x: Regenerate.
307         * tests/base/complex.h [SOLARIS_COMPLEX_CXX_CHECK]: New test.
308         * tests/base/sys/feature_tests.h: New file.
310 2010-06-03  Joern Rennecke <joern.rennecke@embecosm.com>
311             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
313         PR bootstrap/42798
314         * configure.ac: Check for declaration of 'basename(char *)'.
315         * configure: Regenerate.
317 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
319         * inclhack.def (alpha_wchar): Remove.
320         * fixincl.x: Regenerate.
321         * tests/base/wchar.h: Remove.
323 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
325         * aclocal.m4: Regenerate.
327 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
329         * inclhack.def (alpha_assert): Allow for more whitespace in
330         select.
331         * fixincl.x: Regenerate.
333 2010-03-28  H.J. Lu  <hongjiu.lu@intel.com>
335         PR target/40722
336         * mkfixinc.sh: Revert the last change for mingw.
338 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
340         * inclhack.def (glibc_strncpy): New fix.
341         * fixincl.x: Regenerate.
342         * tests/base/bits/string2.h: Update.
344 2010-03-23  H.J. Lu  <hongjiu.lu@intel.com>
346         PR target/40722
347         * mkfixinc.sh: Fix stdlib.h for mingw.
349 2010-02-19  Bruce Korb  <bkorb@gnu.org>
351         * inclhack.def: remove vestiges of inadvertently committed changes
353 2010-02-10  Bruce Korb  <bkorb@gnu.org>
355         * README: fix up references to old gcc/fixinc directory
357 2010-01-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
359         * inclhack.def (solaris_int_limits_3): New fix.
360         * fixincl.x: Regenerate.
361         * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_3_CHECK]: New
362         test.
364         * inclhack.def (solaris_int_const, solaris_int_limits_1,
365         solaris_int_limits_2 ): Applies to Solaris 2 in general.
366         Remove select.
367         Add mach for *-*-solaris2*.
368         Change second c_fix_arg to select.
369         Remove #pragma ident from test_text.
370         * fixincl.x: Regenerate.
371         * tests/base/sys/int_const.h [SOLARIS_INT_CONST_CHECK]: Remove
372         #pragma trigger text.
373         * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_1_CHECK,
374         SOLARIS_INT_LIMITS_2_CHECK]: Likewise.
376 2010-01-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
378         * inclhack.def (aix_stdint_1): Add stdint-aix.h to files.
379         (aix_stdint_2): Likewise.
380         (aix_stdint_3): Likewise.
381         (aix_stdint_4): Likewise.
382         (aix_stdint_5): Likewise.
383         (darwin_stdint_1): Add stdint-darwin.h to files.
384         (darwin_stdint_2): Likewise.
385         (darwin_stdint_3): Likewise.
386         (darwin_stdint_4): Likewise.
387         (darwin_stdint_5): Likewise.
388         (darwin_stdint_6): Likewise.
389         (darwin_stdint_7): Likewise.
390         (hpux_c99_intptr): Add stdint-hpux11.h to files.
391         (hpux_c99_inttypes): Likewise.
392         (hpux_c99_inttypes2): Likewise.
393         (hpux_stdint_least_fast): Likewise.
394         (irix_stdint_c99): Renamed to irix_stdint_c99_mode.
395         (irix_stdint_c99_types): New fix.
396         (irix_stdint_c99_macros): New fix.
397         (newlib_stdint_1): Add stdint-newlib.h to files.
398         (newlib_stdint_2): Likewise.
399         fixincl.x: Regenerate.
400         tests/base/stdint-aix.h: New file.
401         tests/base/stdint.h [AIX_STDINT_1_CHECK, AIX_STDINT_2_CHECK,
402         AIX_STDINT_3_CHECK, AIX_STDINT_4_CHECK, AIX_STDINT_5_CHECK]: Moved ...
403         tests/base/stdint-aix.h: ... here.
404         [AIX_STDINT_3_CHECK]: Updated to match aix_stdint_3 fix.
405         [AIX_STDINT_4_CHECK]: Updated to match aix_stdint_4 fix.
406         [AIX_STDINT_5_CHECK]: Updated to match aix_stdint_5 fix.
407         tests/base/stdint-darwin.h: New file.
408         tests/base/stdint.h [DARWIN_STDINT_1_CHECK, DARWIN_STDINT_2_CHECK,
409         DARWIN_STDINT_3_CHECK, DARWIN_STDINT_4_CHECK,
410         DARWIN_STDINT_5_CHECK, DARWIN_STDINT_6_CHECK]: Moved ...
411         tests/base/stdint-darwin.h: ... here.
412         [DARWIN_STDINT_1_CHECK]: Updated to match darwin_stdint_1 fix.
413         [DARWIN_STDINT_4_CHECK]: Updated to match darwin_stdint_4 fix.
414         [DARWIN_STDINT_6_CHECK]: Updated to match darwin_stdint_6 fix.
415         tests/base/stdint-hpux11.h: New file.
416         tests/base/stdint.h [HPUX_C99_INTPTR_CHECK,
417         HPUX_C99_INTTYPES2_CHECK, HPUX_STDINT_LEAST_FAST_CHECK]: Moved ...
418         tests/base/stdint-hpux11.h: ... here.
419         [HPUX_C99_INTPTR_CHECK]: Updated to match hpux_c99_intptr fix.
420         [HPUX_C99_INTTYPES2_CHECK]: Updated to match hpux_c99_inttypes2 fix.
421         tests/base/stdint.h [IRIX_STDINT_C99_CHECK]: Renamed guard to
422         IRIX_STDINT_C99_MODE_CHECK.
423         tests/base/stdint-irix65.h: New file.
424         tests/base/stdint-newlib.h: New file.
425         tests/base/stdint.h [NEWLIB_STDINT_1_CHECK,
426         NEWLIB_STDINT_2_CHECK]: Moved ...
427         tests/base/stdint-newlib.h: ... here.
429 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
431         * configure: Regenerate.
433 2009-10-21  Steve Ellcey  <sje@cup.hp.com>
435         * inclhack.def (hpux_stdint_least_fast): Simplify.
436         * fixincl.x: Regenerate.
437         * tests/base/stdint.h: Update.
439 2009-09-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
441         * inclhack.def (isc_fmod, isc_omits_with_stdc)
442         (nested_sys_limits, sco_math): Remove.
443         * tests/base/math.h (ISC_FMOD_CHECK, SCO_MATH_CHECK): Remove.
444         * tests/base/stdio.h (ISC_OMITS_WITH_STDC_CHECK): Remove.
445         * tests/base/sys/limits.h: Remove.
446         * fixincl.x: Regenerate.
448 2009-09-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
450         PR testsuite/29737
451         PR bootstrap/35938
452         PR testsuite/39655
453         * check.tpl: Fix typos.
454         * README: Likewise.  Also, document that 'select' uses ERE.
455         * mkheaders.in: Update copyright years in --version output.
456         * inclhack.def (sco_math): Add missing final newline in sed
457         script 'a', 'c', or 'i' commands, for BSD sed.
458         (sco_math): In the text of 'a', 'c', or 'i' sed
459         commands, prepend leading white space with a backslash to avoid
460         the whitespace to be removed by BSD sed.
461         (sco_math): Match plain 'C++' instead of 'C\+\+' in sed regex.
462         (x11_new): Fix sed expression, for BSD sed.
463         (glibc_mutex_init): Fix newlines in sed 's' command replacement
464         part, for GNU sed 3.02 and Solaris sed.
465         (glibc_mutex_init): Replace unportable \+ sed regex operator
466         with \{1,\}.
467         (glibc_c99_inline_2, glibc_mutex_init): Avoid unportable sed
468         alternation \| regex operator.
469         (solaris_complex): Remove superfluous backslashes from
470         replacement string.  Replace \+ operator with \{1,\}.
471         * tests/base/Xm/Traversal.h: This is fixed for BSD sed now.
472         * fixincl.x: Regenerate.
474 2009-09-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
476         PR libfortran/41169
477         * inclhack.def (irix_complex): New fix.
478         (solaris_complex): Likewise.
479         * fixincl.x: Regenerate.
480         * tests/base/complex.h [IRIX_COMPLEX_CHECK, SOLARIS_COMPLEX_CHECK]:
481         New tests.
483 2009-08-28   Bruce Korb <bkorb@gnu.org>
484              Steve Ellcey  <sje@cup.hp.com>
486         * README (files): Describe files entry.
487         * inclhack.def (hpux_stdint_least): Remove.
488         (hpux_stdint_fast): Remove.
489         (hpux_stdint_fast): Remove.
490         (hpux_stdint_least_fast): New.
491         (hpux_inttype_int_least8_t): Remove.
492         (hpux_inttype_int8_t): Modify.
493         * fixincl.x: Regenerate.
494         * tests/base/stdint.h: Update.
495         * tests/base/sys/_inttypes.h: Update.
497 2009-08-28  Steve Ellcey  <sje@cup.hp.com>
499         * inclhack.def (hpux_imaginary_i): Remove spaces.
500         * fixincl.x: Regenerate.
501         * tests/base/stdint.h: Update AIX fixes. 
502         * tests/base/complex.h: Change HPUX_IMAGINARY_I_CHECK fix.
504 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
506         * configure.ac (AC_PREREQ): Bump to 2.64.
508 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
510         * aclocal.m4: Regenerate.
511         * configure: Regenerate.
512         * config.h.in: Regenerate.
514 2009-08-17  David Edelsohn  <edelsohn@gnu.org>
516         * inclhack.def (aix_complex): Redefine _Complex_I.  Do not
517         redefine I.
518         * (aix_stdint_[12345]): New fixes.
519         * fixincl.x: Regenerate.
520         * tests/base/complex.h: Update check.
521         * tests/base/stdint.h: Add AIX stdint.h checks.
523 2009-08-14  Steve Ellcey  <sje@cup.hp.com>
525         * inclhack.def (hpux_imaginary_i): New fix.
526         * fixincl.x: Regenerate.
527         * tests/base/complex.h: New file.
529 2009-08-12  David Edelsohn  <edelsohn@gnu.org>
531         * inclhack.def (aix_complex): New fix.
532         * fixincl.x: Regenerate.
534 2009-08-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
536         * inclhack.def (hpux_inttype_int_least8_t): Also apply on hpux10*.
537         (hpux_inttype_int8_t): Likewise.
538         * fixincl.x: Regenerate.
540 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
542         * Makefile.in (AUTOCONF, AUTOHEADER, ACLOCAL, ACLOCAL_AMFLAGS):
543         New variables.
544         ($(srcdir)/configure, $(srcdir)/config.h.in, $(srcdir)/aclocal.m4):
545         Use them.
547 2009-07-04  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
549         * inclhack.def (darwin_stdint_5, darwin_stdint_6,
550         darwin_stdint_7): New fixes.
551         * fixincl.x: Regenerate.
552         * tests/base/stdint.h: Adjust test for new fixes.
554 2009-07-03  Eric Botcazou  <ebotcazou@adacore.com>
556         * inclhack.def (solaris_int_types): New fix.
557         * fixincl.x: Regenerate.
558         * tests/base/sys/int_types.h: New file.
560 2009-06-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
562         * inclhack.def (darwin_stdint_1, darwin_stdint_2, darwin_stdint_3,
563         darwin_stdint_4): New fixes.
564         * tests/base/stdint.h: Adjust test results for new fixes.
565         * fixincl.x: Regenerate.
567 2009-05-29  Eric Botcazou  <ebotcazou@adacore.com>
569         * inclhack.def (solaris_int_const): New fix.
570         (solaris_int_limits_1): Likewise.
571         (solaris_int_limits_2): Likewise.
572         * fixincl.x: Regenerate.
573         * tests/base/sys/int_const.h: New file.
574         * tests/base/sys/int_limits.h: Likewise.
576 2009-05-15  Joseph Myers  <joseph@codesourcery.com>
578         * inclhack.def (glibc_tgmath): Correct bypass.
579         * fixincl.x: Regenerate.
581 2009-04-28  Steve Ellcey  <sje@cup.hp.com>
583         * inclhack.def (hpux11_uint32_c): Remove.
584         (hpux_long_double): Disable on hpux11.3*.
585         (hpux_long_double_2): New.
586         (hpux_c99_intptr): New.
587         (hpux_c99_inttypes): New.
588         (hpux_c99_inttypes2): New.
589         (hpux_stdint_least): New.
590         (hpux_stdint_fast): New.
591         (hpux_inttype_int_least8_t): New.
592         (hpux_inttype_int8_t): New.
593         * fixincl.x: Regenerate.
594         * tests/base/sys/_inttypes.h: New.
595         * tests/base/inttypes.h: Update.
596         * tests/base/stdlib.h: Update.
597         * tests/base/stdint.h: Update.
599 2009-04-28  Joseph Myers  <joseph@codesourcery.com>
601         * inclhack.def (glibc_stdint): New fix.
602         * fixincl.x: Regenerate.
603         * tests/base/stdint.h: Update.
605 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
607         * Makefile.in: Change copyright header to refer to version
608         3 of the GNU General Public License and to point readers at the
609         COPYING3 file and the FSF's license web page.
610         * fixfixes.c: Likewise.
611         * fixinc.in: Likewise.
612         * fixincl.c: Likewise.
613         * fixlib.c: Likewise.
614         * fixlib.h: Likewise.
615         * fixopts.c: Likewise.
616         * fixtests.c: Likewise.
617         * genfixes: Likewise.
618         * mkheaders.in: Likewise.
619         * system.h: Likewise.
621 2009-03-31  Joseph Myers  <joseph@codesourcery.com>
623         PR c/448
624         * inclhack.def (newlib_stdint_1, newlib_stdint_2): New fixes.
625         * fixincl.x: Regenerate.
626         * tests/base/stdint.h: Update.
628 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
630         * tests/base/math.h, tests/base/pthread.h, tests/base/sys/wait.h:
631         Update.
633 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
635         PR c/456
636         PR c/5675
637         PR c/19976
638         PR c/29116
639         PR c/31871
640         PR c/35198
641         * inclhack.def (glibc_tgmath): New fix.
642         * fixincl.x: Regenerate.
643         * tests/base/tgmath.h: New.
645 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
647         * inclhack.def (aix_syswait, exception_structure,
648         pthread_page_size): Remove.
649         (math_exception): Remove mention of fixproto in comment.
650         * fixincl.x: Regenerate.
651         * mkheaders.in: Do not handle STMP_FIXPROTO.
653 2009-03-27  Sandra Loosemore  <sandra@codesourcery.com>
655         * server.c (run_shell): Quote directory name passed to cd.
657 2009-03-01  Bruce Korb  <bkorb@gnu.org>
658         Apply a positively ancient patch:
660         2004-10-15  Giovanni Bajo  <giovannibajo@libero.it>
662         * inclhack.def (alpha_if_semicolon): new fix from long, long ago
663         * tests/base/net/if.h: Add new test.
665 2009-01-06  Andreas Tobler  <a.tobler@schweiz.org>
667         * tests/base/locale.h: Add new test.
668         * tests/base/stdarg.h: Likewise.
670 2009-01-05  Steve Ellcey  <sje@cup.hp.com>
672         * inclhack.def (hpux_spu_info):  Add files line.
673         * fixincl.x: Regenerate.
675 2009-01-01  Andreas Tobler  <a.tobler@schweiz.org>
677         * inclhack.def (openbsd_null_definition): Redefine NULL to (void *)0
678         in case of C.
679         * fixincl.x: Regenerate.
681 2008-12-31  Andreas Tobler  <a.tobler@schweiz.org>
683         PR target/35460
684         * inclhack.def (openbsd_va_start): Use __builtin_va_start
685         for OpenBSD.
686         * fixincl.x: Regenerate.
688 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
690         * configure: Regenerate.
692 2008-12-15  Steve Ellcey  <sje@cup.hp.com>
694         * inclhack.def (hpux_spu_info): Match PA as well as IA64.
695         * fixincl.x: Regenerate.
697 2008-09-06  H.J. Lu  <hongjiu.lu@intel.com>
699         * configure.ac: Fix a typo.
700         * configured: Regenerate.
702 2008-09-06  Bruce Korb  <bkorb@gnu.org>
704         * fixincl.tpl (sed): make the program executable configurable.
705         Some platforms have some rather oddball defaults.
706         * config.h.in (SED_PROGRAM): define the default sed.
707         * fixincl.x: regenerated
708         * tests/base/internal/wchar_core.h: fix bad sample text
709         * tests/base/math.h: fix bad sample text
710         * configure.ac: search for working sed
711         * inclhack.def (glibc_mutex_init): fix non-portable construct
712         and re-order a few misordered entries.
714 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
716         * configure: Regenerate.
718 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
720         * inclhack.def (AAB_svr4_replace_byteorder,
721         AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
722         libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
723         ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
724         solaris_mutex_init_1, solaris_socket, solaris_unistd,
725         solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
726         ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
727         ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
728         ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
729         ultrix_strings2, ultrix_sys_time, ultrix_unistd,
730         unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
731         windiss_math2, windiss_valist): Remove.
732         * fixincl.x: Regenerate.
733         * mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
734         i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
735         powerpc-*-eabiaix*): Remove.
736         * tests/base/math.h: Update.
737         * tests/base/pthread.h: Update.
738         * tests/base/stdio.h: Update.
739         * tests/base/stdlib.h: Update.
740         * tests/base/string.h: Update.
741         * tests/base/strings.h: Update.
742         * tests/base/sys/file.h: Update.
743         * tests/base/sys/limits.h: Update.
744         * tests/base/sys/socket.h: Update.
745         * tests/base/sys/stat.h: Update.
746         * tests/base/sys/time.h: Update.
747         * tests/base/testing.h: Update.
748         * tests/base/unistd.h: Update.
749         * tests/base/_G_config.h: Remove.
750         * tests/base/arpa: Remove directory.
751         * tests/base/fs: Remove directory.
752         * tests/base/locale.h: Remove.
753         * tests/base/machine: Remove directory.
754         * tests/base/rpc/svc.h: Remove.
755         * tests/base/sys/ioctl.h: Remove.
756         * tests/base/sys/regset.h: Remove.
757         * tests/base/sys/times.h: Remove.
758         * tests/base/sys/utsname.h: Remove.
759         * tests/base/widec.h: Remove.
761 2008-05-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
763         * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
764         * tests/base/iso/math_c99.h: Update.
765         * fixincl.x: Regenerate.
767 2008-05-14  Joseph Myers  <joseph@codesourcery.com>
769         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
770         posix_types_64.
771         * fixincl.x: Regenerate.
773 2008-04-25  Kai Tietz  <kai.tietz@onvision.com>
775         * fixincl.c (fix_with_system): Cast pointer difference to long.
776         * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
778 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
780         PR bootstrap/35457
781         * Makefile.in: Rewrite aclocal.m4 rule.
782         * aclocal.m4: Regenerate.
783         * configure: Regenerate.
785 2008-03-07  Peter O'Gorman  <pogma@thewrittenword.com>
787         PR c++/20366
788         * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
789         * fixincl.x: Regenerate.
790         * tests/base/stdio.h: Add test.
792 2008-02-25  Ben Elliston  <bje@au.ibm.com>
794         PR other/32948
795         * fixincl.c (fix_applies): Remove unused variable `name_len'.
797 2008-02-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
799         * inclhack.def (solaris_math_10): New.
800         * tests/base/iso/math_c99.h: Update.
802         * fixincl.x: Regenerate.
804 2008-02-04  Ismail Dönmez  <ismail@pardus.org.tr>
806         * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
807         freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
808         netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon):  Add
809         quotes around mach entries.
810         * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
811         to GPLv3.
813 2008-02-04  Hans-Peter Nilsson  <hp@axis.com>
815         PR other/31405
816         * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
817         (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
818         __extern_inline|__GNU_STDC_INLINE__.
819         (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
820         <bypass>: Change from __STDC_VERSION__ to
821         __extern_inline|__GNU_STDC_INLINE__.
822         <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
823         appending attribute-gnu_inline.
824         <second c_fix_arg>: Remove.
825         <test_text>: Remove __extern_inline line.
826         * tests/base/features.h: Re-add.
827         * tests/base/sys/sysmacros.h: Adjust.
828         * fixincl.x: Regenerate.
830 2008-01-06  Hans-Peter Nilsson  <hp@axis.com>
832         Revert last change.
834 2007-12-18  Hans-Peter Nilsson  <hp@axis.com>
836         * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
837         * fixincl.x: Regenerate.
838         * tests/base/wchar.h: Update.
839         * tests/base/features.h: New.
841 2007-10-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
843         PR target/33700
844         * inclhack.def (hpux11_pthread_const): New.
845         * fixincl.x: Regenerate.
846         * tests/base/sys/pthread.h: Update.
848 2007-10-12  Kai Tietz  <kai.tietz@onevision.com>
850         * configure.ac: x86_64 mingw target uses twoprocess.
851         * mkfixinc.sh: Add x86_64 mingw target.
852         * configure: Regenerate.
854 2007-10-09  Geoffrey Keating  <geoffk@apple.com>
856         * inclhack.def (darwin_externc): New.
857         * fixincl.x: Regenerate.
858         * tests/base/mach-o/swap.h: New.
860 2007-08-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
862         * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
863         Delete fixes.
864         * tests/base/iso/math_c99.h: Delete associated test baselines.
865         * fixincl.x: Regenerate.
867 2007-07-24  Krister Walfridsson  <cato@df.lth.se>
869         PR target/30058
870         * inclhack.def (netbsd_c99_inline_2): New.
871         * fixincl.x: Regenerate.
872         * tests/base/signal.h: Update.
874 2007-07-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
876         PR target/32641
878         * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
879         solaris_math_7): Constify and make FP exception-safe.
880         * tests/base/iso/math_c99.h: Update.
882         * fixincl.x: Regenerate.
884 2007-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
886         PR libgcj/28190
887         * inclhack.def (irix_stdint_c99): New fix.
888         * fixincl.x: Regenerate.
889         * tests/base/stdint.h: New test.
891 2007-06-06  Steve Ellcey  <sje@cup.hp.com>
893         PR testsuite/31828
894         * inclhack.def (hppa_hpux_fp_macros): New.
895         * fixincl.x: Regenerate.
896         * tests/base/math.h: Update.
898 2007-03-26  Jakub Jelinek  <jakub@redhat.com>
900         * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
901         if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
902         __STDC_VERSION__ < 199901L.
903         (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
904         with #ifdef __GNUC_GNU_INLINE__.
905         (glibc_c99_inline_3): Add select.  Replace __STDC_VERSION__ >= 199901L
906         with defined(__GNUC_STDC_INLINE__).
907         (glibc_c99_inline_4): Change select, add second c_fix_arg.
908         Replace #if __STDC_VERSION__ < 199901L with
909         #ifdef __GNUC_GNU_INLINE__.
910         * fixincl.x: Regenerated.
911         * tests/base/bits/string2.h: Update.
912         * tests/base/sys/sysmacros.h: Update.
913         * tests/base/sys/stat.h: Update.
915 2007-03-18  Krister Walfridsson  <cato@df.lth.se>
917         PR target/30058
918         * inclhack.def (netbsd_c99_inline_1): New.
919         * fixincl.x: Regenerate.
920         * tests/base/signal.h: New.
922 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
924         * Makefile.in: Add dummy "install-info" target.
926 2007-03-06  Joseph Myers  <joseph@codesourcery.com>
928         * mkheaders.in: Fix headers for each multilib required.
930 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
932         * Makefile.in: Add dummy install-pdf target.
934 2007-02-27  Joseph Myers  <joseph@codesourcery.com>
936         * mkheaders.in (incdir): Use include-fixed not include.
938 2007-02-15  Brooks Moses  <brooks.moses@codesourcery.com>
940         * Makefile.in: Added "pdf" target to .PHONY.
942 2007-02-05  Richard Guenther  <rguenther@suse.de>
944         * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
945         with older glibc.  Adjust version number for C99.
946         * fixincl.x: Regenerated.
948 2007-02-04  Mike Stump  <mrs@apple.com>
950         * mkheaders.in: Allow optional isysroot parameter.
952 2007-02-03  Bruce Korb <bkorb@gnu.org>
954         * inclhack.def (glibc_c99_inline_4): replace "extern" only if
955         surrounded by space characters.
957 2007-01-25  Daniel Franke <franke.daniel@gmail.com>
959         PR target/30272
960         * inclhack.def(broken_cabs): Also remove definition of cabsl.
961         * fixincl.x: Regenerate.
962         * tests/base/math.h: Update.
964 2007-01-05  Bruce Korb <bkorb@gnu.org>, 
965             Daniel Franke <franke.daniel@gmail.com>
967         PR target/30008
968         * fixincl.tpl (List): separate file name patterns with a NUL byte instead
969         of a vertical bar ("|").
970         * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
971         matching.  Set SKIP_TEST flag if we are not to run a test.
972         * fixincl.x: Regenerate.
973         * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
974         kandr_concat, sco_math): Replace lists of specfic file names by search
975         patterns.
977 2006-12-12  Olivier Hainque  <hainque@adacore.com>
979         * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
980         targets for which a no-op fixer is appropriate.
982 2006-11-07  Richard Guenther  <rguenther@suse.de>
984         * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
985         systems.
986         * fixincl.x: Regenerate.
988 2006-11-02  Geoffrey Keating  <geoffk@apple.com>
990         * inclhack.def (glibc_c99_inline_1): New.
991         * inclhack.def (glibc_c99_inline_2): New.
992         * inclhack.def (glibc_c99_inline_3): New.
993         * inclhack.def (glibc_c99_inline_4): New.
994         * fixincl.x: Regenerate.
995         * tests/base/bits/string2.h: New.
996         * tests/base/sys/sysmacros.h: New.
997         * tests/base/sys/stat.h: Update.
999 2006-11-01  Steve Ellcey  <sje@cup.hp.com>
1001         * tests/base/sys/socket.h: Update.
1003 2006-10-31  Steve Ellcey  <sje@cup.hp.com>
1005         * inclhack.def (hpux11_extern_sendfile): New.
1006         (hpux11_extern_sendpath): New.
1007         * fixincl.x: Regenerate.
1009 2006-10-29  Joseph Myers  <joseph@codesourcery.com>
1011         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
1012         * fixincl.x: Regenerate.
1014 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
1016         * Makefile.in: Added empty "pdf" target.
1018 2006-10-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1020         PR target/29300
1021         * inclhack.def (hpux_pthread_initializers): New hack.
1022         * tests/base/sys/pthread.h: New file.
1024         * fixincl.x: Regenerate.
1026 2006-10-03  Uros Bizjak <uros@kss-loka.si>
1028         * inclhack.def (glibc_mutex_init): Also fix
1029         PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
1030         PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
1031         * tests/base/pthread.h: Update.
1033         * fixincl.x: Regenerate.
1035 2006-10-01  Uros Bizjak <uros@kss-loka.si>
1037         * inclhack.def (glibc_mutex_init): New fix.
1038         * tests/base/pthread.h: Update.
1040         * fixincl.x: Regenerate.
1042 2006-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1044         * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
1045         Prevent it from running on solaris10 or later.
1046         (solaris_once_init_2): Fix comment.
1047         * tests/base/pthread.h: Update.
1049         * fixincl.x: Regenerate.
1051 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1053         * inclhack.def (solaris_once_init_2): New fix.
1054         * tests/base/pthread.h: Update.
1056         * fixincl.x: Regenerate.
1058 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1060         * inclhack.def (solaris_mutex_init_2): Remove test for
1061         PTHREAD_RWLOCK_INITIALIZER.
1062         (solaris_rwlock_init_1): New.
1063         * tests/base/pthread.h: Update.
1065         * inclhack.def (solaris_once_init_1): New.
1066         * tests/base/pthread.h: Adjust for new fix.
1068         * fixincl.x: Regenerate.
1070 2006-07-17  Roger Sayle  <roger@eyesopen.com>
1072         * tests/base/errno.h: New file.
1073         * tests/base/architecture/ppc/math.h: Likewise.
1074         * tests/base/ia64/sys/getppdp.h: Likewise.
1076 2006-07-10  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
1078         PR bootstrap/20437
1079         * Makefile.in (configure, config.h.in): Change into $(srcdir)
1080         before autoconf or autoheader call.
1082 2006-06-23  Steve Ellcey  <sje@cup.hp.com>
1084         PR target/28084
1085         * inclhack.def (hpux_extern_errno): New.
1086         * fixincl.x: Regenerate.
1088 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
1090         * Makefile.in: Add dvi info html and install-html to .PHONY
1091         Add install-html target.
1093 2006-05-16  Mike Stump  <mrs@apple.com>
1095         * configure.ac: Add -Wno-overlength-strings.
1096         * configure: Regenerate.
1098 2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>
1100         * README: Fix typo.
1102 2006-02-18  Steve Ellcey  <sje@cup.hp.com>
1104         PR target/26189
1105         * inclhack.def (hpux_spu_info): New.
1106         * fixincl.x: Regenerate
1108 2006-01-31  Marcin Dalecki  <martin@dalecki.de>
1110         * configure.ac: Check for asprintf, basename, vasprintf.
1111         * config.h.in: Regenerate.
1112         * configure: Regenerate.
1114 2006-01-19  Andrew Pinski  <pinskia@physics.uc.edu>
1116         PR target/15642
1117         * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
1118         __APPLE_CC_ as 1345.
1119         (broken_nan): New.
1120         * fixincl.x: Regenerate.
1122 2005-11-24  Bruce Korb  <bkorb@gnu.org>
1124         * fixincl.c (write_replacement): "here strings" in AutoGen
1125         often/generally don't have a terminating newline.  Check the
1126         last byte for '\n'.
1128 2005-11-13  Andreas Jaeger  <aj@suse.de>
1130         * check.tpl: Handle CVS additionally.
1132 2005-11-05  Andreas Jaeger  <aj@suse.de>
1134         * check.tpl: Adopt for move to subversion.
1136 2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
1138         PR c++/23139
1139         * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
1140         fixes.
1141         * fixincl.x: Regenerate.
1142         * tests/base/bits/huge_val.h: New file.
1144 2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
1146         * All files: Update with new FSF address.
1148 2005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1150         * Makefile.in (WARN_CFLAGS): New.
1151         (.c.o): Add $(WARN_CFLAGS).
1152         * aclocal.m4: Include ../config/warnings.m4.
1153         * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
1154         ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
1155         ACX_PROG_CC_WARNINGS_ARE_ERRORS.
1156         * fixopts.c (initialize_opts): Fix old-style definintion.
1158         * configure: Regenerate.
1160 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
1162         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
1163         (AAB_darwin7_9_long_double_funcs_2): New.
1164         * fixincl.x: Regenerate.
1166 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1168         PR libfortran/15266
1169         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
1170         Use double quotes in select so \t matches tabs.
1171         Add IRIX testcase.
1172         * fixincl.x: Regenerate.
1173         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
1175 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
1177         PR target/21683
1178         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
1180 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
1181             Joseph S. Myers  <joseph@codesourcery.com>
1183         PR target/19933
1184         PR target/21315
1185         * inclhack.def: New fixes solaris_math_[1-9].
1186         * fixincl.x: Regenerate.
1187         * tests/base/iso/math_c99.h: New.
1189 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
1191         * aclocal.m4: Remove superfluous reference to accross.m4.
1193 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
1195         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
1196         * server.c (load_data): Likewise.
1197         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
1198         * fixincl.c: #include <sys/wait.h>
1199         (run_compiles): Use XCNEWVEC instead of xcalloc.
1200         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
1201         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
1203 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
1205         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
1206         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
1207         * fixincl.x: Regenerate.
1209 2005-05-06  Bruce Korb  <bkorb@gnu.org>
1210         Joseph S. Myers <joseph@codesourcery.com>
1212         * fixinc/inclhack.def: Correct backslashes
1213         * fixinc/fixincl.x: regen
1215 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1217         * system.h (fopen, fdopen, freopen): Define these to the unlocked
1218         libiberty functions.
1220 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1222         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
1223         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
1224         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
1225         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
1226         _unlocked function.
1227         (fwrite_unlocked): Fix prototype.
1229         * configure, config.h.in: Regenerate.
1231 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
1233         * Makefile.in: Set gcc_version directly, not via substitution.
1234         (libsubdir): Use $(gcc_version), not $(version).
1235         (mkheaders.almost): New rule.
1236         (mkheaders): Generate from mkheaders.almost.
1237         (clean): Also delete mkheaders.almost.
1238         * aclocal.m4: Do not include ../config/gcc-version.m4.
1239         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
1240         mkheaders.almost from mkheaders.in.
1241         * configure: Regenerate.
1243 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
1245         PR target/20166
1246         * inclhack.def: Add fix for array of incomplete structures
1247         in function prototype in pthread.h.
1248         * fixincl.x: Regenerate.
1249         * tests/base/pthread.h: Adjust.
1251 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
1253         * inclhack.def (hpux_htonl): New fix.
1254         * tests/base/netinet/in.h: New test.
1255         * fixincl.x: Regenerate.
1257 2005-02-23  James E Wilson  <wilson@specifixinc.com>
1259         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
1261 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
1263         PR 18458
1264         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
1265         fixincl.
1267 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
1269         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
1270         * aclocal.m4: Include ../config/gcc-version.m4.
1271         * configure: Regenerate.
1273 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
1275         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
1276         (stdio_va_list): Likewise.
1277         (stdio_stdarg.h): Likewise.
1278         (solaris_stdio_tag): Add bypass.
1279         * fixincl.x: Regenerated.
1281 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
1283         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
1284         built fixincl program.
1285         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
1286         up csh from user.
1288 2004-11-20  Roger Sayle  <roger@eyesopen.com>
1290         * inclhack.def (alpha_pthread_init): Fix technical problems with
1291         the last check-in caused by CVS variable substitution.
1292         * fixincl.x: Likewise.
1293         * tests/base/pthread.h: Likewise.
1295 2004-11-20  Roger Sayle  <roger@eyesopen.com>
1296             Bruce Korb  <bkorb@gnu.org>
1298         * inclhack.def (alpha_pthread_init): New fix.
1299         * fixincl.x: Regenerate.
1300         * tests/base/pthread.h: Update for new test.
1302 2004-11-15  Bruce Korb  <bkorb@gnu.org>
1304         * fixincl.c(fix_with_system): correct misuse of variables and
1305         incorrect application of "sizeof()".
1307 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
1309         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
1310         svr4__p, undefine_null): Remove.
1311         * fixincl.x: Regenerate.
1312         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
1313         * tests/base/sys/param.h: Remove.
1314         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
1315         tests/base/sys/limits.h: Update.
1317 2004-11-12  Mike Stump  <mrs@apple.com>
1319         * Makefile.in (html): Add html generation support.
1321 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
1323         * inclhack.def (sco_math): Bypass on __GNUG__.
1324         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
1325         * fixincl.x: Regenerate.
1327 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
1329         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
1330         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
1331         _CLASSIC_ANSI_TYPES.
1332         (sun_auth_proto): Bypass on __cplusplus.
1333         * fixincl.x: Regenerate.
1335 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
1337         * Makefile.in (mostlyclean): Add fixinc.sh.
1338         (clean): Add mkheaders.
1339         (distclean): New.
1340         (dvi): New.
1341         (info): New.
1342         (installcheck): New.
1344 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
1346         * Makefile.in (mostlyclean, distclean): New targets.
1348 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
1350         * configure.ac: Add code to determine noncanonical_target,
1351         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
1352         * configure: Regenerate.
1353         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
1354         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
1355         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
1356         update for changes to fixinc.in.
1357         * Makefile.in: Add many new macros.
1358         (install): New target.
1359         (mkheaders): New target.
1360         (fixinc.sh): New target.
1361         (all): Add mkheaders and fixinc.sh.
1362         * README-fixinc: Move here from gcc/.
1364 2004-11-01  Mike Stump  <mrs@apple.com>
1366         * inclhack.def (stdio_va_list): Break out clients from here...
1367         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
1368         included or ifdef va_start.
1369         * fixincl.x: Regenerate.
1371 2004-10-28  Mike Stump  <mrs@apple.com>
1373         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
1374         systems.
1375         * fixincl.x: Regenerate.
1377 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
1379         * inclhack.def (darwin_gcc4_breakage): New.
1380         * fixincl.x: Regenerate.
1382 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1384         PR bootstrap/17832
1386         * fixfixes.c (main): Check for _PC_NAME_MAX.
1388 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
1390         PR other/17991
1392         * configure.ac: Fix typo.
1393         * configure: Regenerate.
1394         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
1396 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1398         PR bootstrap/17832
1400         * fixincl.c (SIGCHLD): Remove definition.
1401         (initialize): Remove SIGIOT and SIGPIPE checks.
1402         (create_file): Fix mkdir() for Win32.
1403         (internal_fix): Use dup2() instead of fcntl().
1405         * fixlib.h (SIGQUIT): Define if undefined.
1406         (SIGIOT): Same.
1407         (SIGPIPE): Same.
1408         (SIGALRM): Same.
1409         (SIGKILL): Same.
1411         * procopen.c (chain_open): Use dup2() instead of fcntl().
1413 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
1415         PR other/17991
1417         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
1418         Update copyright year.
1419         * fixfixes.c (main): Call initialize_opts from fixopts.c.
1420         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
1421         do not include code for parsing options (environment vars).
1422         (fix_with_system): Use a search path for applyfix, so that you
1423         can run the test suite with two-process fixincludes.
1424         * fixopts.c: New file.
1425         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
1426         to config.h.  Default to --enable-twoprocess for MinGW32.
1427         * config.h.in: Regenerate.
1428         * configure: Regenerate.
1430 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1432         * tests/base/sys/cdefs.h: Update from test area.
1434 2004-09-17  Roger Sayle  <roger@eyesopen.com>
1436         * inclhack.def (linux_ia64_ucontext): New fix.
1437         * fixincl.x: Regenerate.
1438         * tests/base/sys/ucontext.h: New file.
1440 2004-09-15  Roger Sayle  <roger@eyesopen.com>
1442         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
1443         * tests/base/stdlib.h: Likewise.
1445 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
1447         * inclhack.def (freebsd_gcc4_breakage): Add.
1448         * fixincl.x: Regenerate.
1449         * tests/base/sys/cdefs.h: Update for new test.
1451 2004-09-10  Adam Nemet  <anemet@lnxw.com>
1453         * inclhack.def (lynx_void_int): Remove.
1454         (lynxos_fcntl_proto): Remove.
1455         (lynxos_no_warning_in_sys_time_h): New fix.
1456         (lynxos_missing_putenv): New fix.
1457         * fixincl.x: Regenerate.
1458         * tests/base/fcntl.h: Remove.
1459         * tests/base/sys/time.h: Update from test area.
1460         * tests/base/curses.h: Likewise.
1461         * tests/base/stdlib.h: Likewise.
1463 2004-09-03  Jan Beulich  <jbeulich@novell.com>
1465         * inclhack.def: Suppress exception_structure and math_exception
1466         for NetWare headers.
1467         * fixincl.x: Regenerate.
1469 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
1471         * .cvsignore: New.
1472         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
1473         autoconfiscated.
1474         * configure.ac: New.
1475         * config.h.in: Generate.
1476         * configure: Generate.
1477         * aclocal.m4: New.
1478         * fixlib.h: Remove inclusions of gcc files.
1479         * system.h: New.
1481         Other files copied from gcc/fixinc.