* inclhack.def (aix_complex): Redefine _Complex_I. Do not
[official-gcc.git] / fixincludes / ChangeLog
blob3933f28dfd83bc53f88cc635e2ccd3b0df0b7857
1 2009-08-17  David Edelsohn  <edelsohn@gnu.org>
3         * inclhack.def (aix_complex): Redefine _Complex_I.  Do not
4         redefine I.
5         * (aix_stdint_[12345]): New fixes.
6         * fixincl.x: Regenerate.
7         * tests/base/complex.h: Update check.
8         * tests/base/stdint.h: Add AIX stdint.h checks.
10 2009-08-14  Steve Ellcey  <sje@cup.hp.com>
12         * inclhack.def (hpux_imaginary_i): New fix.
13         * fixincl.x: Regenerate.
14         * tests/base/complex.h: New file.
16 2009-08-12  David Edelsohn  <edelsohn@gnu.org>
18         * inclhack.def (aix_complex): New fix.
19         * fixincl.x: Regenerate.
20         
21 2009-08-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
23         * inclhack.def (hpux_inttype_int_least8_t): Also apply on hpux10*.
24         (hpux_inttype_int8_t): Likewise.
25         * fixincl.x: Regenerate.
27 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
29         * Makefile.in (AUTOCONF, AUTOHEADER, ACLOCAL, ACLOCAL_AMFLAGS):
30         New variables.
31         ($(srcdir)/configure, $(srcdir)/config.h.in, $(srcdir)/aclocal.m4):
32         Use them.
34 2009-07-04  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
36         * inclhack.def (darwin_stdint_5, darwin_stdint_6,
37         darwin_stdint_7): New fixes.
38         * fixincl.x: Regenerate.
39         * tests/base/stdint.h: Adjust test for new fixes.
41 2009-07-03  Eric Botcazou  <ebotcazou@adacore.com>
43         * inclhack.def (solaris_int_types): New fix.
44         * fixincl.x: Regenerate.
45         * tests/base/sys/int_types.h: New file.
47 2009-06-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
49         * inclhack.def (darwin_stdint_1, darwin_stdint_2, darwin_stdint_3,
50         darwin_stdint_4): New fixes.
51         * tests/base/stdint.h: Adjust test results for new fixes.
52         * fixincl.x: Regenerate.
54 2009-05-29  Eric Botcazou  <ebotcazou@adacore.com>
56         * inclhack.def (solaris_int_const): New fix.
57         (solaris_int_limits_1): Likewise.
58         (solaris_int_limits_2): Likewise.
59         * fixincl.x: Regenerate.
60         * tests/base/sys/int_const.h: New file.
61         * tests/base/sys/int_limits.h: Likewise.
63 2009-05-15  Joseph Myers  <joseph@codesourcery.com>
65         * inclhack.def (glibc_tgmath): Correct bypass.
66         * fixincl.x: Regenerate.
68 2009-04-28  Steve Ellcey  <sje@cup.hp.com>
70         * inclhack.def (hpux11_uint32_c): Remove.
71         (hpux_long_double): Disable on hpux11.3*.
72         (hpux_long_double_2): New.
73         (hpux_c99_intptr): New.
74         (hpux_c99_inttypes): New.
75         (hpux_c99_inttypes2): New.
76         (hpux_stdint_least): New.
77         (hpux_stdint_fast): New.
78         (hpux_inttype_int_least8_t): New.
79         (hpux_inttype_int8_t): New.
80         * fixincl.x: Regenerate.
81         * tests/base/sys/_inttypes.h: New.
82         * tests/base/inttypes.h: Update.
83         * tests/base/stdlib.h: Update.
84         * tests/base/stdint.h: Update.
86 2009-04-28  Joseph Myers  <joseph@codesourcery.com>
88         * inclhack.def (glibc_stdint): New fix.
89         * fixincl.x: Regenerate.
90         * tests/base/stdint.h: Update.
92 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
94         * Makefile.in: Change copyright header to refer to version
95         3 of the GNU General Public License and to point readers at the
96         COPYING3 file and the FSF's license web page.
97         * fixfixes.c: Likewise.
98         * fixinc.in: Likewise.
99         * fixincl.c: Likewise.
100         * fixlib.c: Likewise.
101         * fixlib.h: Likewise.
102         * fixopts.c: Likewise.
103         * fixtests.c: Likewise.
104         * genfixes: Likewise.
105         * mkheaders.in: Likewise.
106         * system.h: Likewise.
108 2009-03-31  Joseph Myers  <joseph@codesourcery.com>
110         PR c/448
111         * inclhack.def (newlib_stdint_1, newlib_stdint_2): New fixes.
112         * fixincl.x: Regenerate.
113         * tests/base/stdint.h: Update.
115 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
117         * tests/base/math.h, tests/base/pthread.h, tests/base/sys/wait.h:
118         Update.
120 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
122         PR c/456
123         PR c/5675
124         PR c/19976
125         PR c/29116
126         PR c/31871
127         PR c/35198
128         * inclhack.def (glibc_tgmath): New fix.
129         * fixincl.x: Regenerate.
130         * tests/base/tgmath.h: New.
132 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
134         * inclhack.def (aix_syswait, exception_structure,
135         pthread_page_size): Remove.
136         (math_exception): Remove mention of fixproto in comment.
137         * fixincl.x: Regenerate.
138         * mkheaders.in: Do not handle STMP_FIXPROTO.
140 2009-03-27  Sandra Loosemore  <sandra@codesourcery.com>
142         * server.c (run_shell): Quote directory name passed to cd.
144 2009-03-01  Bruce Korb  <bkorb@gnu.org>
145         Apply a positively ancient patch:
147         2004-10-15  Giovanni Bajo  <giovannibajo@libero.it>
149         * inclhack.def (alpha_if_semicolon): new fix from long, long ago
150         * tests/base/net/if.h: Add new test.
152 2009-01-06  Andreas Tobler  <a.tobler@schweiz.org>
154         * tests/base/locale.h: Add new test.
155         * tests/base/stdarg.h: Likewise.
157 2009-01-05  Steve Ellcey  <sje@cup.hp.com>
159         * inclhack.def (hpux_spu_info):  Add files line.
160         * fixincl.x: Regenerate.
162 2009-01-01  Andreas Tobler  <a.tobler@schweiz.org>
164         * inclhack.def (openbsd_null_definition): Redefine NULL to (void *)0
165         in case of C.
166         * fixincl.x: Regenerate.
168 2008-12-31  Andreas Tobler  <a.tobler@schweiz.org>
170         PR target/35460
171         * inclhack.def (openbsd_va_start): Use __builtin_va_start
172         for OpenBSD.
173         * fixincl.x: Regenerate.
175 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
177         * configure: Regenerate.
179 2008-12-15  Steve Ellcey  <sje@cup.hp.com>
181         * inclhack.def (hpux_spu_info): Match PA as well as IA64.
182         * fixincl.x: Regenerate.
184 2008-09-06  H.J. Lu  <hongjiu.lu@intel.com>
186         * configure.ac: Fix a typo.
187         * configured: Regenerate.
189 2008-09-06  Bruce Korb  <bkorb@gnu.org>
191         * fixincl.tpl (sed): make the program executable configurable.
192         Some platforms have some rather oddball defaults.
193         * config.h.in (SED_PROGRAM): define the default sed.
194         * fixincl.x: regenerated
195         * tests/base/internal/wchar_core.h: fix bad sample text
196         * tests/base/math.h: fix bad sample text
197         * configure.ac: search for working sed
198         * inclhack.def (glibc_mutex_init): fix non-portable construct
199         and re-order a few misordered entries.
201 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
203         * configure: Regenerate.
205 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
207         * inclhack.def (AAB_svr4_replace_byteorder,
208         AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
209         libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
210         ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
211         solaris_mutex_init_1, solaris_socket, solaris_unistd,
212         solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
213         ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
214         ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
215         ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
216         ultrix_strings2, ultrix_sys_time, ultrix_unistd,
217         unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
218         windiss_math2, windiss_valist): Remove.
219         * fixincl.x: Regenerate.
220         * mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
221         i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
222         powerpc-*-eabiaix*): Remove.
223         * tests/base/math.h: Update.
224         * tests/base/pthread.h: Update.
225         * tests/base/stdio.h: Update.
226         * tests/base/stdlib.h: Update.
227         * tests/base/string.h: Update.
228         * tests/base/strings.h: Update.
229         * tests/base/sys/file.h: Update.
230         * tests/base/sys/limits.h: Update.
231         * tests/base/sys/socket.h: Update.
232         * tests/base/sys/stat.h: Update.
233         * tests/base/sys/time.h: Update.
234         * tests/base/testing.h: Update.
235         * tests/base/unistd.h: Update.
236         * tests/base/_G_config.h: Remove.
237         * tests/base/arpa: Remove directory.
238         * tests/base/fs: Remove directory.
239         * tests/base/locale.h: Remove.
240         * tests/base/machine: Remove directory.
241         * tests/base/rpc/svc.h: Remove.
242         * tests/base/sys/ioctl.h: Remove.
243         * tests/base/sys/regset.h: Remove.
244         * tests/base/sys/times.h: Remove.
245         * tests/base/sys/utsname.h: Remove.
246         * tests/base/widec.h: Remove.
248 2008-05-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
250         * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
251         * tests/base/iso/math_c99.h: Update.
252         * fixincl.x: Regenerate.
254 2008-05-14  Joseph Myers  <joseph@codesourcery.com>
256         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
257         posix_types_64.
258         * fixincl.x: Regenerate.
260 2008-04-25  Kai Tietz  <kai.tietz@onvision.com>
262         * fixincl.c (fix_with_system): Cast pointer difference to long.
263         * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
265 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
267         PR bootstrap/35457
268         * Makefile.in: Rewrite aclocal.m4 rule.
269         * aclocal.m4: Regenerate.
270         * configure: Regenerate.
272 2008-03-07  Peter O'Gorman  <pogma@thewrittenword.com>
274         PR c++/20366
275         * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
276         * fixincl.x: Regenerate.
277         * tests/base/stdio.h: Add test.
279 2008-02-25  Ben Elliston  <bje@au.ibm.com>
281         PR other/32948
282         * fixincl.c (fix_applies): Remove unused variable `name_len'.
284 2008-02-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
286         * inclhack.def (solaris_math_10): New.
287         * tests/base/iso/math_c99.h: Update.
289         * fixincl.x: Regenerate.
291 2008-02-04  Ismail Dönmez  <ismail@pardus.org.tr>
293         * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
294         freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
295         netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon):  Add
296         quotes around mach entries.
297         * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
298         to GPLv3.
300 2008-02-04  Hans-Peter Nilsson  <hp@axis.com>
302         PR other/31405
303         * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
304         (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
305         __extern_inline|__GNU_STDC_INLINE__.
306         (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
307         <bypass>: Change from __STDC_VERSION__ to
308         __extern_inline|__GNU_STDC_INLINE__.
309         <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
310         appending attribute-gnu_inline.
311         <second c_fix_arg>: Remove.
312         <test_text>: Remove __extern_inline line.
313         * tests/base/features.h: Re-add.
314         * tests/base/sys/sysmacros.h: Adjust.
315         * fixincl.x: Regenerate.
317 2008-01-06  Hans-Peter Nilsson  <hp@axis.com>
319         Revert last change.
321 2007-12-18  Hans-Peter Nilsson  <hp@axis.com>
323         * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
324         * fixincl.x: Regenerate.
325         * tests/base/wchar.h: Update.
326         * tests/base/features.h: New.
328 2007-10-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
330         PR target/33700
331         * inclhack.def (hpux11_pthread_const): New.
332         * fixincl.x: Regenerate.
333         * tests/base/sys/pthread.h: Update.
335 2007-10-12  Kai Tietz  <kai.tietz@onevision.com>
337         * configure.ac: x86_64 mingw target uses twoprocess.
338         * mkfixinc.sh: Add x86_64 mingw target.
339         * configure: Regenerate.
341 2007-10-09  Geoffrey Keating  <geoffk@apple.com>
343         * inclhack.def (darwin_externc): New.
344         * fixincl.x: Regenerate.
345         * tests/base/mach-o/swap.h: New.
347 2007-08-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
349         * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
350         Delete fixes.
351         * tests/base/iso/math_c99.h: Delete associated test baselines.
352         * fixincl.x: Regenerate.
354 2007-07-24  Krister Walfridsson  <cato@df.lth.se>
356         PR target/30058
357         * inclhack.def (netbsd_c99_inline_2): New.
358         * fixincl.x: Regenerate.
359         * tests/base/signal.h: Update.
361 2007-07-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
363         PR target/32641
365         * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
366         solaris_math_7): Constify and make FP exception-safe.
367         * tests/base/iso/math_c99.h: Update.
369         * fixincl.x: Regenerate.
371 2007-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
373         PR libgcj/28190
374         * inclhack.def (irix_stdint_c99): New fix.
375         * fixincl.x: Regenerate.
376         * tests/base/stdint.h: New test.
378 2007-06-06  Steve Ellcey  <sje@cup.hp.com>
380         PR testsuite/31828
381         * inclhack.def (hppa_hpux_fp_macros): New.
382         * fixincl.x: Regenerate.
383         * tests/base/math.h: Update.
385 2007-03-26  Jakub Jelinek  <jakub@redhat.com>
387         * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
388         if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
389         __STDC_VERSION__ < 199901L.
390         (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
391         with #ifdef __GNUC_GNU_INLINE__.
392         (glibc_c99_inline_3): Add select.  Replace __STDC_VERSION__ >= 199901L
393         with defined(__GNUC_STDC_INLINE__).
394         (glibc_c99_inline_4): Change select, add second c_fix_arg.
395         Replace #if __STDC_VERSION__ < 199901L with
396         #ifdef __GNUC_GNU_INLINE__.
397         * fixincl.x: Regenerated.
398         * tests/base/bits/string2.h: Update.
399         * tests/base/sys/sysmacros.h: Update.
400         * tests/base/sys/stat.h: Update.
402 2007-03-18  Krister Walfridsson  <cato@df.lth.se>
404         PR target/30058
405         * inclhack.def (netbsd_c99_inline_1): New.
406         * fixincl.x: Regenerate.
407         * tests/base/signal.h: New.
409 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
411         * Makefile.in: Add dummy "install-info" target.
413 2007-03-06  Joseph Myers  <joseph@codesourcery.com>
415         * mkheaders.in: Fix headers for each multilib required.
417 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
419         * Makefile.in: Add dummy install-pdf target.
421 2007-02-27  Joseph Myers  <joseph@codesourcery.com>
423         * mkheaders.in (incdir): Use include-fixed not include.
425 2007-02-15  Brooks Moses  <brooks.moses@codesourcery.com>
427         * Makefile.in: Added "pdf" target to .PHONY.
429 2007-02-05  Richard Guenther  <rguenther@suse.de>
431         * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
432         with older glibc.  Adjust version number for C99.
433         * fixincl.x: Regenerated.
435 2007-02-04  Mike Stump  <mrs@apple.com>
437         * mkheaders.in: Allow optional isysroot parameter.
439 2007-02-03  Bruce Korb <bkorb@gnu.org>
441         * inclhack.def (glibc_c99_inline_4): replace "extern" only if
442         surrounded by space characters.
444 2007-01-25  Daniel Franke <franke.daniel@gmail.com>
446         PR target/30272
447         * inclhack.def(broken_cabs): Also remove definition of cabsl.
448         * fixincl.x: Regenerate.
449         * tests/base/math.h: Update.
451 2007-01-05  Bruce Korb <bkorb@gnu.org>, 
452             Daniel Franke <franke.daniel@gmail.com>
454         PR target/30008
455         * fixincl.tpl (List): separate file name patterns with a NUL byte instead
456         of a vertical bar ("|").
457         * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
458         matching.  Set SKIP_TEST flag if we are not to run a test.
459         * fixincl.x: Regenerate.
460         * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
461         kandr_concat, sco_math): Replace lists of specfic file names by search
462         patterns.
464 2006-12-12  Olivier Hainque  <hainque@adacore.com>
466         * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
467         targets for which a no-op fixer is appropriate.
468         
469 2006-11-07  Richard Guenther  <rguenther@suse.de>
471         * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
472         systems.
473         * fixincl.x: Regenerate.
475 2006-11-02  Geoffrey Keating  <geoffk@apple.com>
477         * inclhack.def (glibc_c99_inline_1): New.
478         * inclhack.def (glibc_c99_inline_2): New.
479         * inclhack.def (glibc_c99_inline_3): New.
480         * inclhack.def (glibc_c99_inline_4): New.
481         * fixincl.x: Regenerate.
482         * tests/base/bits/string2.h: New.
483         * tests/base/sys/sysmacros.h: New.
484         * tests/base/sys/stat.h: Update.
486 2006-11-01  Steve Ellcey  <sje@cup.hp.com>
488         * tests/base/sys/socket.h: Update.
490 2006-10-31  Steve Ellcey  <sje@cup.hp.com>
492         * inclhack.def (hpux11_extern_sendfile): New.
493         (hpux11_extern_sendpath): New.
494         * fixincl.x: Regenerate.
496 2006-10-29  Joseph Myers  <joseph@codesourcery.com>
498         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
499         * fixincl.x: Regenerate.
501 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
503         * Makefile.in: Added empty "pdf" target.
505 2006-10-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
507         PR target/29300
508         * inclhack.def (hpux_pthread_initializers): New hack.
509         * tests/base/sys/pthread.h: New file.
511         * fixincl.x: Regenerate.
513 2006-10-03  Uros Bizjak <uros@kss-loka.si>
515         * inclhack.def (glibc_mutex_init): Also fix
516         PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
517         PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
518         * tests/base/pthread.h: Update.
520         * fixincl.x: Regenerate.
522 2006-10-01  Uros Bizjak <uros@kss-loka.si>
524         * inclhack.def (glibc_mutex_init): New fix.
525         * tests/base/pthread.h: Update.
527         * fixincl.x: Regenerate.
529 2006-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
531         * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
532         Prevent it from running on solaris10 or later.
533         (solaris_once_init_2): Fix comment.
534         * tests/base/pthread.h: Update.
536         * fixincl.x: Regenerate.
538 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
540         * inclhack.def (solaris_once_init_2): New fix.
541         * tests/base/pthread.h: Update.
543         * fixincl.x: Regenerate.
545 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
547         * inclhack.def (solaris_mutex_init_2): Remove test for
548         PTHREAD_RWLOCK_INITIALIZER.
549         (solaris_rwlock_init_1): New.
550         * tests/base/pthread.h: Update.
552         * inclhack.def (solaris_once_init_1): New.
553         * tests/base/pthread.h: Adjust for new fix.
554         
555         * fixincl.x: Regenerate.
557 2006-07-17  Roger Sayle  <roger@eyesopen.com>
559         * tests/base/errno.h: New file.
560         * tests/base/architecture/ppc/math.h: Likewise.
561         * tests/base/ia64/sys/getppdp.h: Likewise.
563 2006-07-10  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
565         PR bootstrap/20437
566         * Makefile.in (configure, config.h.in): Change into $(srcdir)
567         before autoconf or autoheader call.
569 2006-06-23  Steve Ellcey  <sje@cup.hp.com>
571         PR target/28084
572         * inclhack.def (hpux_extern_errno): New.
573         * fixincl.x: Regenerate.
575 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
577         * Makefile.in: Add dvi info html and install-html to .PHONY
578         Add install-html target.
580 2006-05-16  Mike Stump  <mrs@apple.com>
582         * configure.ac: Add -Wno-overlength-strings.
583         * configure: Regenerate.
585 2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>
587         * README: Fix typo.
589 2006-02-18  Steve Ellcey  <sje@cup.hp.com>
591         PR target/26189
592         * inclhack.def (hpux_spu_info): New.
593         * fixincl.x: Regenerate
595 2006-01-31  Marcin Dalecki  <martin@dalecki.de>
597         * configure.ac: Check for asprintf, basename, vasprintf.
598         * config.h.in: Regenerate.
599         * configure: Regenerate.
601 2006-01-19  Andrew Pinski  <pinskia@physics.uc.edu>
603         PR target/15642
604         * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
605         __APPLE_CC_ as 1345.
606         (broken_nan): New.
607         * fixincl.x: Regenerate.
609 2005-11-24  Bruce Korb  <bkorb@gnu.org>
611         * fixincl.c (write_replacement): "here strings" in AutoGen
612         often/generally don't have a terminating newline.  Check the
613         last byte for '\n'.
615 2005-11-13  Andreas Jaeger  <aj@suse.de>
617         * check.tpl: Handle CVS additionally.
619 2005-11-05  Andreas Jaeger  <aj@suse.de>
621         * check.tpl: Adopt for move to subversion.
623 2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
625         PR c++/23139
626         * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
627         fixes.
628         * fixincl.x: Regenerate.
629         * tests/base/bits/huge_val.h: New file.
631 2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
633         * All files: Update with new FSF address.
635 2005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
637         * Makefile.in (WARN_CFLAGS): New.
638         (.c.o): Add $(WARN_CFLAGS).
639         * aclocal.m4: Include ../config/warnings.m4.
640         * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
641         ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
642         ACX_PROG_CC_WARNINGS_ARE_ERRORS.
643         * fixopts.c (initialize_opts): Fix old-style definintion.
645         * configure: Regenerate.
647 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
649         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
650         (AAB_darwin7_9_long_double_funcs_2): New.
651         * fixincl.x: Regenerate.
653 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
655         PR libfortran/15266
656         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
657         Use double quotes in select so \t matches tabs.
658         Add IRIX testcase.
659         * fixincl.x: Regenerate.
660         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
662 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
664         PR target/21683
665         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
667 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
668             Joseph S. Myers  <joseph@codesourcery.com>
670         PR target/19933
671         PR target/21315
672         * inclhack.def: New fixes solaris_math_[1-9].
673         * fixincl.x: Regenerate.
674         * tests/base/iso/math_c99.h: New.
676 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
678         * aclocal.m4: Remove superfluous reference to accross.m4.
680 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
682         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
683         * server.c (load_data): Likewise.
684         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
685         * fixincl.c: #include <sys/wait.h>
686         (run_compiles): Use XCNEWVEC instead of xcalloc.
687         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
688         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
690 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
692         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
693         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
694         * fixincl.x: Regenerate.
696 2005-05-06  Bruce Korb  <bkorb@gnu.org>
697         Joseph S. Myers <joseph@codesourcery.com>
699         * fixinc/inclhack.def: Correct backslashes
700         * fixinc/fixincl.x: regen
702 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
704         * system.h (fopen, fdopen, freopen): Define these to the unlocked
705         libiberty functions.
707 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
709         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
710         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
711         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
712         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
713         _unlocked function.
714         (fwrite_unlocked): Fix prototype.
716         * configure, config.h.in: Regenerate.
718 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
720         * Makefile.in: Set gcc_version directly, not via substitution.
721         (libsubdir): Use $(gcc_version), not $(version).
722         (mkheaders.almost): New rule.
723         (mkheaders): Generate from mkheaders.almost.
724         (clean): Also delete mkheaders.almost.
725         * aclocal.m4: Do not include ../config/gcc-version.m4.
726         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
727         mkheaders.almost from mkheaders.in.
728         * configure: Regenerate.
730 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
732         PR target/20166
733         * inclhack.def: Add fix for array of incomplete structures
734         in function prototype in pthread.h.
735         * fixincl.x: Regenerate.
736         * tests/base/pthread.h: Adjust.
738 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
740         * inclhack.def (hpux_htonl): New fix.
741         * tests/base/netinet/in.h: New test.
742         * fixincl.x: Regenerate.
744 2005-02-23  James E Wilson  <wilson@specifixinc.com>
746         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
748 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
750         PR 18458
751         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
752         fixincl.
754 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
756         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
757         * aclocal.m4: Include ../config/gcc-version.m4.
758         * configure: Regenerate.
760 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
762         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
763         (stdio_va_list): Likewise.
764         (stdio_stdarg.h): Likewise.
765         (solaris_stdio_tag): Add bypass.
766         * fixincl.x: Regenerated.
768 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
770         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
771         built fixincl program.
772         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
773         up csh from user.
775 2004-11-20  Roger Sayle  <roger@eyesopen.com>
777         * inclhack.def (alpha_pthread_init): Fix technical problems with
778         the last check-in caused by CVS variable substitution.
779         * fixincl.x: Likewise.
780         * tests/base/pthread.h: Likewise.
782 2004-11-20  Roger Sayle  <roger@eyesopen.com>
783             Bruce Korb  <bkorb@gnu.org>
785         * inclhack.def (alpha_pthread_init): New fix.
786         * fixincl.x: Regenerate.
787         * tests/base/pthread.h: Update for new test.
789 2004-11-15  Bruce Korb  <bkorb@gnu.org>
791         * fixincl.c(fix_with_system): correct misuse of variables and
792         incorrect application of "sizeof()".
794 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
796         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
797         svr4__p, undefine_null): Remove.
798         * fixincl.x: Regenerate.
799         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
800         * tests/base/sys/param.h: Remove.
801         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
802         tests/base/sys/limits.h: Update.
804 2004-11-12  Mike Stump  <mrs@apple.com>
806         * Makefile.in (html): Add html generation support.
808 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
810         * inclhack.def (sco_math): Bypass on __GNUG__.
811         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
812         * fixincl.x: Regenerate.
814 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
816         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
817         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
818         _CLASSIC_ANSI_TYPES.
819         (sun_auth_proto): Bypass on __cplusplus.
820         * fixincl.x: Regenerate.
822 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
824         * Makefile.in (mostlyclean): Add fixinc.sh.
825         (clean): Add mkheaders.
826         (distclean): New.
827         (dvi): New.
828         (info): New.
829         (installcheck): New.
831 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
833         * Makefile.in (mostlyclean, distclean): New targets.
835 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
837         * configure.ac: Add code to determine noncanonical_target,
838         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
839         * configure: Regenerate.
840         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
841         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
842         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
843         update for changes to fixinc.in.
844         * Makefile.in: Add many new macros.
845         (install): New target.
846         (mkheaders): New target.
847         (fixinc.sh): New target.
848         (all): Add mkheaders and fixinc.sh.
849         * README-fixinc: Move here from gcc/.
851 2004-11-01  Mike Stump  <mrs@apple.com>
853         * inclhack.def (stdio_va_list): Break out clients from here...
854         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
855         included or ifdef va_start.
856         * fixincl.x: Regenerate.
858 2004-10-28  Mike Stump  <mrs@apple.com>
860         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
861         systems.
862         * fixincl.x: Regenerate.
864 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
866         * inclhack.def (darwin_gcc4_breakage): New.
867         * fixincl.x: Regenerate.
869 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
871         PR bootstrap/17832
873         * fixfixes.c (main): Check for _PC_NAME_MAX.
875 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
877         PR other/17991
879         * configure.ac: Fix typo.
880         * configure: Regenerate.
881         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
883 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
885         PR bootstrap/17832
887         * fixincl.c (SIGCHLD): Remove definition.
888         (initialize): Remove SIGIOT and SIGPIPE checks.
889         (create_file): Fix mkdir() for Win32.
890         (internal_fix): Use dup2() instead of fcntl().
892         * fixlib.h (SIGQUIT): Define if undefined.
893         (SIGIOT): Same.
894         (SIGPIPE): Same.
895         (SIGALRM): Same.
896         (SIGKILL): Same.
898         * procopen.c (chain_open): Use dup2() instead of fcntl().
900 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
902         PR other/17991
904         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
905         Update copyright year.
906         * fixfixes.c (main): Call initialize_opts from fixopts.c.
907         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
908         do not include code for parsing options (environment vars).
909         (fix_with_system): Use a search path for applyfix, so that you
910         can run the test suite with two-process fixincludes.
911         * fixopts.c: New file.
912         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
913         to config.h.  Default to --enable-twoprocess for MinGW32.
914         * config.h.in: Regenerate.
915         * configure: Regenerate.
917 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
919         * tests/base/sys/cdefs.h: Update from test area.
921 2004-09-17  Roger Sayle  <roger@eyesopen.com>
923         * inclhack.def (linux_ia64_ucontext): New fix.
924         * fixincl.x: Regenerate.
925         * tests/base/sys/ucontext.h: New file.
927 2004-09-15  Roger Sayle  <roger@eyesopen.com>
929         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
930         * tests/base/stdlib.h: Likewise.
932 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
934         * inclhack.def (freebsd_gcc4_breakage): Add.
935         * fixincl.x: Regenerate.
936         * tests/base/sys/cdefs.h: Update for new test.
938 2004-09-10  Adam Nemet  <anemet@lnxw.com>
940         * inclhack.def (lynx_void_int): Remove.
941         (lynxos_fcntl_proto): Remove.
942         (lynxos_no_warning_in_sys_time_h): New fix.
943         (lynxos_missing_putenv): New fix.
944         * fixincl.x: Regenerate.
945         * tests/base/fcntl.h: Remove.
946         * tests/base/sys/time.h: Update from test area.
947         * tests/base/curses.h: Likewise.
948         * tests/base/stdlib.h: Likewise.
950 2004-09-03  Jan Beulich  <jbeulich@novell.com>
952         * inclhack.def: Suppress exception_structure and math_exception
953         for NetWare headers.
954         * fixincl.x: Regenerate.
956 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
958         * .cvsignore: New.
959         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
960         autoconfiscated.
961         * configure.ac: New.
962         * config.h.in: Generate.
963         * configure: Generate.
964         * aclocal.m4: New.
965         * fixlib.h: Remove inclusions of gcc files.
966         * system.h: New.
968         Other files copied from gcc/fixinc.