* inclhack.def (darwin_stdint_5, darwin_stdint_6,
[official-gcc.git] / fixincludes / ChangeLog
blob35260caca66ad730426142258330feae3c7a6b4b
1 2009-07-04  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
3         * inclhack.def (darwin_stdint_5, darwin_stdint_6,
4         darwin_stdint_7): New fixes.
5         * fixincl.x: Regenerate.
6         * tests/base/stdint.h: Adjust test for new fixes.
8 2009-07-03  Eric Botcazou  <ebotcazou@adacore.com>
10         * inclhack.def (solaris_int_types): New fix.
11         * fixincl.x: Regenerate.
12         * tests/base/sys/int_types.h: New file.
14 2009-06-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
16         * inclhack.def (darwin_stdint_1, darwin_stdint_2, darwin_stdint_3,
17         darwin_stdint_4): New fixes.
18         * tests/base/stdint.h: Adjust test results for new fixes.
19         * fixincl.x: Regenerate.
21 2009-05-29  Eric Botcazou  <ebotcazou@adacore.com>
23         * inclhack.def (solaris_int_const): New fix.
24         (solaris_int_limits_1): Likewise.
25         (solaris_int_limits_2): Likewise.
26         * fixincl.x: Regenerate.
27         * tests/base/sys/int_const.h: New file.
28         * tests/base/sys/int_limits.h: Likewise.
30 2009-05-15  Joseph Myers  <joseph@codesourcery.com>
32         * inclhack.def (glibc_tgmath): Correct bypass.
33         * fixincl.x: Regenerate.
35 2009-04-28  Steve Ellcey  <sje@cup.hp.com>
37         * inclhack.def (hpux11_uint32_c): Remove.
38         (hpux_long_double): Disable on hpux11.3*.
39         (hpux_long_double_2): New.
40         (hpux_c99_intptr): New.
41         (hpux_c99_inttypes): New.
42         (hpux_c99_inttypes2): New.
43         (hpux_stdint_least): New.
44         (hpux_stdint_fast): New.
45         (hpux_inttype_int_least8_t): New.
46         (hpux_inttype_int8_t): New.
47         * fixincl.x: Regenerate.
48         * tests/base/sys/_inttypes.h: New.
49         * tests/base/inttypes.h: Update.
50         * tests/base/stdlib.h: Update.
51         * tests/base/stdint.h: Update.
53 2009-04-28  Joseph Myers  <joseph@codesourcery.com>
55         * inclhack.def (glibc_stdint): New fix.
56         * fixincl.x: Regenerate.
57         * tests/base/stdint.h: Update.
59 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
61         * Makefile.in: Change copyright header to refer to version
62         3 of the GNU General Public License and to point readers at the
63         COPYING3 file and the FSF's license web page.
64         * fixfixes.c: Likewise.
65         * fixinc.in: Likewise.
66         * fixincl.c: Likewise.
67         * fixlib.c: Likewise.
68         * fixlib.h: Likewise.
69         * fixopts.c: Likewise.
70         * fixtests.c: Likewise.
71         * genfixes: Likewise.
72         * mkheaders.in: Likewise.
73         * system.h: Likewise.
75 2009-03-31  Joseph Myers  <joseph@codesourcery.com>
77         PR c/448
78         * inclhack.def (newlib_stdint_1, newlib_stdint_2): New fixes.
79         * fixincl.x: Regenerate.
80         * tests/base/stdint.h: Update.
82 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
84         * tests/base/math.h, tests/base/pthread.h, tests/base/sys/wait.h:
85         Update.
87 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
89         PR c/456
90         PR c/5675
91         PR c/19976
92         PR c/29116
93         PR c/31871
94         PR c/35198
95         * inclhack.def (glibc_tgmath): New fix.
96         * fixincl.x: Regenerate.
97         * tests/base/tgmath.h: New.
99 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
101         * inclhack.def (aix_syswait, exception_structure,
102         pthread_page_size): Remove.
103         (math_exception): Remove mention of fixproto in comment.
104         * fixincl.x: Regenerate.
105         * mkheaders.in: Do not handle STMP_FIXPROTO.
107 2009-03-27  Sandra Loosemore  <sandra@codesourcery.com>
109         * server.c (run_shell): Quote directory name passed to cd.
111 2009-03-01  Bruce Korb  <bkorb@gnu.org>
112         Apply a positively ancient patch:
114         2004-10-15  Giovanni Bajo  <giovannibajo@libero.it>
116         * inclhack.def (alpha_if_semicolon): new fix from long, long ago
117         * tests/base/net/if.h: Add new test.
119 2009-01-06  Andreas Tobler  <a.tobler@schweiz.org>
121         * tests/base/locale.h: Add new test.
122         * tests/base/stdarg.h: Likewise.
124 2009-01-05  Steve Ellcey  <sje@cup.hp.com>
126         * inclhack.def (hpux_spu_info):  Add files line.
127         * fixincl.x: Regenerate.
129 2009-01-01  Andreas Tobler  <a.tobler@schweiz.org>
131         * inclhack.def (openbsd_null_definition): Redefine NULL to (void *)0
132         in case of C.
133         * fixincl.x: Regenerate.
135 2008-12-31  Andreas Tobler  <a.tobler@schweiz.org>
137         PR target/35460
138         * inclhack.def (openbsd_va_start): Use __builtin_va_start
139         for OpenBSD.
140         * fixincl.x: Regenerate.
142 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
144         * configure: Regenerate.
146 2008-12-15  Steve Ellcey  <sje@cup.hp.com>
148         * inclhack.def (hpux_spu_info): Match PA as well as IA64.
149         * fixincl.x: Regenerate.
151 2008-09-06  H.J. Lu  <hongjiu.lu@intel.com>
153         * configure.ac: Fix a typo.
154         * configured: Regenerate.
156 2008-09-06  Bruce Korb  <bkorb@gnu.org>
158         * fixincl.tpl (sed): make the program executable configurable.
159         Some platforms have some rather oddball defaults.
160         * config.h.in (SED_PROGRAM): define the default sed.
161         * fixincl.x: regenerated
162         * tests/base/internal/wchar_core.h: fix bad sample text
163         * tests/base/math.h: fix bad sample text
164         * configure.ac: search for working sed
165         * inclhack.def (glibc_mutex_init): fix non-portable construct
166         and re-order a few misordered entries.
168 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
170         * configure: Regenerate.
172 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
174         * inclhack.def (AAB_svr4_replace_byteorder,
175         AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
176         libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
177         ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
178         solaris_mutex_init_1, solaris_socket, solaris_unistd,
179         solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
180         ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
181         ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
182         ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
183         ultrix_strings2, ultrix_sys_time, ultrix_unistd,
184         unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
185         windiss_math2, windiss_valist): Remove.
186         * fixincl.x: Regenerate.
187         * mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
188         i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
189         powerpc-*-eabiaix*): Remove.
190         * tests/base/math.h: Update.
191         * tests/base/pthread.h: Update.
192         * tests/base/stdio.h: Update.
193         * tests/base/stdlib.h: Update.
194         * tests/base/string.h: Update.
195         * tests/base/strings.h: Update.
196         * tests/base/sys/file.h: Update.
197         * tests/base/sys/limits.h: Update.
198         * tests/base/sys/socket.h: Update.
199         * tests/base/sys/stat.h: Update.
200         * tests/base/sys/time.h: Update.
201         * tests/base/testing.h: Update.
202         * tests/base/unistd.h: Update.
203         * tests/base/_G_config.h: Remove.
204         * tests/base/arpa: Remove directory.
205         * tests/base/fs: Remove directory.
206         * tests/base/locale.h: Remove.
207         * tests/base/machine: Remove directory.
208         * tests/base/rpc/svc.h: Remove.
209         * tests/base/sys/ioctl.h: Remove.
210         * tests/base/sys/regset.h: Remove.
211         * tests/base/sys/times.h: Remove.
212         * tests/base/sys/utsname.h: Remove.
213         * tests/base/widec.h: Remove.
215 2008-05-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
217         * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
218         * tests/base/iso/math_c99.h: Update.
219         * fixincl.x: Regenerate.
221 2008-05-14  Joseph Myers  <joseph@codesourcery.com>
223         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
224         posix_types_64.
225         * fixincl.x: Regenerate.
227 2008-04-25  Kai Tietz  <kai.tietz@onvision.com>
229         * fixincl.c (fix_with_system): Cast pointer difference to long.
230         * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
232 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
234         PR bootstrap/35457
235         * Makefile.in: Rewrite aclocal.m4 rule.
236         * aclocal.m4: Regenerate.
237         * configure: Regenerate.
239 2008-03-07  Peter O'Gorman  <pogma@thewrittenword.com>
241         PR c++/20366
242         * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
243         * fixincl.x: Regenerate.
244         * tests/base/stdio.h: Add test.
246 2008-02-25  Ben Elliston  <bje@au.ibm.com>
248         PR other/32948
249         * fixincl.c (fix_applies): Remove unused variable `name_len'.
251 2008-02-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
253         * inclhack.def (solaris_math_10): New.
254         * tests/base/iso/math_c99.h: Update.
256         * fixincl.x: Regenerate.
258 2008-02-04  Ismail Dönmez  <ismail@pardus.org.tr>
260         * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
261         freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
262         netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon):  Add
263         quotes around mach entries.
264         * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
265         to GPLv3.
267 2008-02-04  Hans-Peter Nilsson  <hp@axis.com>
269         PR other/31405
270         * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
271         (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
272         __extern_inline|__GNU_STDC_INLINE__.
273         (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
274         <bypass>: Change from __STDC_VERSION__ to
275         __extern_inline|__GNU_STDC_INLINE__.
276         <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
277         appending attribute-gnu_inline.
278         <second c_fix_arg>: Remove.
279         <test_text>: Remove __extern_inline line.
280         * tests/base/features.h: Re-add.
281         * tests/base/sys/sysmacros.h: Adjust.
282         * fixincl.x: Regenerate.
284 2008-01-06  Hans-Peter Nilsson  <hp@axis.com>
286         Revert last change.
288 2007-12-18  Hans-Peter Nilsson  <hp@axis.com>
290         * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
291         * fixincl.x: Regenerate.
292         * tests/base/wchar.h: Update.
293         * tests/base/features.h: New.
295 2007-10-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
297         PR target/33700
298         * inclhack.def (hpux11_pthread_const): New.
299         * fixincl.x: Regenerate.
300         * tests/base/sys/pthread.h: Update.
302 2007-10-12  Kai Tietz  <kai.tietz@onevision.com>
304         * configure.ac: x86_64 mingw target uses twoprocess.
305         * mkfixinc.sh: Add x86_64 mingw target.
306         * configure: Regenerate.
308 2007-10-09  Geoffrey Keating  <geoffk@apple.com>
310         * inclhack.def (darwin_externc): New.
311         * fixincl.x: Regenerate.
312         * tests/base/mach-o/swap.h: New.
314 2007-08-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
316         * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
317         Delete fixes.
318         * tests/base/iso/math_c99.h: Delete associated test baselines.
319         * fixincl.x: Regenerate.
321 2007-07-24  Krister Walfridsson  <cato@df.lth.se>
323         PR target/30058
324         * inclhack.def (netbsd_c99_inline_2): New.
325         * fixincl.x: Regenerate.
326         * tests/base/signal.h: Update.
328 2007-07-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
330         PR target/32641
332         * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
333         solaris_math_7): Constify and make FP exception-safe.
334         * tests/base/iso/math_c99.h: Update.
336         * fixincl.x: Regenerate.
338 2007-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
340         PR libgcj/28190
341         * inclhack.def (irix_stdint_c99): New fix.
342         * fixincl.x: Regenerate.
343         * tests/base/stdint.h: New test.
345 2007-06-06  Steve Ellcey  <sje@cup.hp.com>
347         PR testsuite/31828
348         * inclhack.def (hppa_hpux_fp_macros): New.
349         * fixincl.x: Regenerate.
350         * tests/base/math.h: Update.
352 2007-03-26  Jakub Jelinek  <jakub@redhat.com>
354         * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
355         if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
356         __STDC_VERSION__ < 199901L.
357         (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
358         with #ifdef __GNUC_GNU_INLINE__.
359         (glibc_c99_inline_3): Add select.  Replace __STDC_VERSION__ >= 199901L
360         with defined(__GNUC_STDC_INLINE__).
361         (glibc_c99_inline_4): Change select, add second c_fix_arg.
362         Replace #if __STDC_VERSION__ < 199901L with
363         #ifdef __GNUC_GNU_INLINE__.
364         * fixincl.x: Regenerated.
365         * tests/base/bits/string2.h: Update.
366         * tests/base/sys/sysmacros.h: Update.
367         * tests/base/sys/stat.h: Update.
369 2007-03-18  Krister Walfridsson  <cato@df.lth.se>
371         PR target/30058
372         * inclhack.def (netbsd_c99_inline_1): New.
373         * fixincl.x: Regenerate.
374         * tests/base/signal.h: New.
376 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
378         * Makefile.in: Add dummy "install-info" target.
380 2007-03-06  Joseph Myers  <joseph@codesourcery.com>
382         * mkheaders.in: Fix headers for each multilib required.
384 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
386         * Makefile.in: Add dummy install-pdf target.
388 2007-02-27  Joseph Myers  <joseph@codesourcery.com>
390         * mkheaders.in (incdir): Use include-fixed not include.
392 2007-02-15  Brooks Moses  <brooks.moses@codesourcery.com>
394         * Makefile.in: Added "pdf" target to .PHONY.
396 2007-02-05  Richard Guenther  <rguenther@suse.de>
398         * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
399         with older glibc.  Adjust version number for C99.
400         * fixincl.x: Regenerated.
402 2007-02-04  Mike Stump  <mrs@apple.com>
404         * mkheaders.in: Allow optional isysroot parameter.
406 2007-02-03  Bruce Korb <bkorb@gnu.org>
408         * inclhack.def (glibc_c99_inline_4): replace "extern" only if
409         surrounded by space characters.
411 2007-01-25  Daniel Franke <franke.daniel@gmail.com>
413         PR target/30272
414         * inclhack.def(broken_cabs): Also remove definition of cabsl.
415         * fixincl.x: Regenerate.
416         * tests/base/math.h: Update.
418 2007-01-05  Bruce Korb <bkorb@gnu.org>, 
419             Daniel Franke <franke.daniel@gmail.com>
421         PR target/30008
422         * fixincl.tpl (List): separate file name patterns with a NUL byte instead
423         of a vertical bar ("|").
424         * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
425         matching.  Set SKIP_TEST flag if we are not to run a test.
426         * fixincl.x: Regenerate.
427         * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
428         kandr_concat, sco_math): Replace lists of specfic file names by search
429         patterns.
431 2006-12-12  Olivier Hainque  <hainque@adacore.com>
433         * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
434         targets for which a no-op fixer is appropriate.
435         
436 2006-11-07  Richard Guenther  <rguenther@suse.de>
438         * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
439         systems.
440         * fixincl.x: Regenerate.
442 2006-11-02  Geoffrey Keating  <geoffk@apple.com>
444         * inclhack.def (glibc_c99_inline_1): New.
445         * inclhack.def (glibc_c99_inline_2): New.
446         * inclhack.def (glibc_c99_inline_3): New.
447         * inclhack.def (glibc_c99_inline_4): New.
448         * fixincl.x: Regenerate.
449         * tests/base/bits/string2.h: New.
450         * tests/base/sys/sysmacros.h: New.
451         * tests/base/sys/stat.h: Update.
453 2006-11-01  Steve Ellcey  <sje@cup.hp.com>
455         * tests/base/sys/socket.h: Update.
457 2006-10-31  Steve Ellcey  <sje@cup.hp.com>
459         * inclhack.def (hpux11_extern_sendfile): New.
460         (hpux11_extern_sendpath): New.
461         * fixincl.x: Regenerate.
463 2006-10-29  Joseph Myers  <joseph@codesourcery.com>
465         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
466         * fixincl.x: Regenerate.
468 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
470         * Makefile.in: Added empty "pdf" target.
472 2006-10-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
474         PR target/29300
475         * inclhack.def (hpux_pthread_initializers): New hack.
476         * tests/base/sys/pthread.h: New file.
478         * fixincl.x: Regenerate.
480 2006-10-03  Uros Bizjak <uros@kss-loka.si>
482         * inclhack.def (glibc_mutex_init): Also fix
483         PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
484         PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
485         * tests/base/pthread.h: Update.
487         * fixincl.x: Regenerate.
489 2006-10-01  Uros Bizjak <uros@kss-loka.si>
491         * inclhack.def (glibc_mutex_init): New fix.
492         * tests/base/pthread.h: Update.
494         * fixincl.x: Regenerate.
496 2006-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
498         * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
499         Prevent it from running on solaris10 or later.
500         (solaris_once_init_2): Fix comment.
501         * tests/base/pthread.h: Update.
503         * fixincl.x: Regenerate.
505 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
507         * inclhack.def (solaris_once_init_2): New fix.
508         * tests/base/pthread.h: Update.
510         * fixincl.x: Regenerate.
512 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
514         * inclhack.def (solaris_mutex_init_2): Remove test for
515         PTHREAD_RWLOCK_INITIALIZER.
516         (solaris_rwlock_init_1): New.
517         * tests/base/pthread.h: Update.
519         * inclhack.def (solaris_once_init_1): New.
520         * tests/base/pthread.h: Adjust for new fix.
521         
522         * fixincl.x: Regenerate.
524 2006-07-17  Roger Sayle  <roger@eyesopen.com>
526         * tests/base/errno.h: New file.
527         * tests/base/architecture/ppc/math.h: Likewise.
528         * tests/base/ia64/sys/getppdp.h: Likewise.
530 2006-07-10  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
532         PR bootstrap/20437
533         * Makefile.in (configure, config.h.in): Change into $(srcdir)
534         before autoconf or autoheader call.
536 2006-06-23  Steve Ellcey  <sje@cup.hp.com>
538         PR target/28084
539         * inclhack.def (hpux_extern_errno): New.
540         * fixincl.x: Regenerate.
542 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
544         * Makefile.in: Add dvi info html and install-html to .PHONY
545         Add install-html target.
547 2006-05-16  Mike Stump  <mrs@apple.com>
549         * configure.ac: Add -Wno-overlength-strings.
550         * configure: Regenerate.
552 2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>
554         * README: Fix typo.
556 2006-02-18  Steve Ellcey  <sje@cup.hp.com>
558         PR target/26189
559         * inclhack.def (hpux_spu_info): New.
560         * fixincl.x: Regenerate
562 2006-01-31  Marcin Dalecki  <martin@dalecki.de>
564         * configure.ac: Check for asprintf, basename, vasprintf.
565         * config.h.in: Regenerate.
566         * configure: Regenerate.
568 2006-01-19  Andrew Pinski  <pinskia@physics.uc.edu>
570         PR target/15642
571         * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
572         __APPLE_CC_ as 1345.
573         (broken_nan): New.
574         * fixincl.x: Regenerate.
576 2005-11-24  Bruce Korb  <bkorb@gnu.org>
578         * fixincl.c (write_replacement): "here strings" in AutoGen
579         often/generally don't have a terminating newline.  Check the
580         last byte for '\n'.
582 2005-11-13  Andreas Jaeger  <aj@suse.de>
584         * check.tpl: Handle CVS additionally.
586 2005-11-05  Andreas Jaeger  <aj@suse.de>
588         * check.tpl: Adopt for move to subversion.
590 2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
592         PR c++/23139
593         * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
594         fixes.
595         * fixincl.x: Regenerate.
596         * tests/base/bits/huge_val.h: New file.
598 2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
600         * All files: Update with new FSF address.
602 2005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
604         * Makefile.in (WARN_CFLAGS): New.
605         (.c.o): Add $(WARN_CFLAGS).
606         * aclocal.m4: Include ../config/warnings.m4.
607         * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
608         ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
609         ACX_PROG_CC_WARNINGS_ARE_ERRORS.
610         * fixopts.c (initialize_opts): Fix old-style definintion.
612         * configure: Regenerate.
614 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
616         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
617         (AAB_darwin7_9_long_double_funcs_2): New.
618         * fixincl.x: Regenerate.
620 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
622         PR libfortran/15266
623         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
624         Use double quotes in select so \t matches tabs.
625         Add IRIX testcase.
626         * fixincl.x: Regenerate.
627         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
629 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
631         PR target/21683
632         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
634 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
635             Joseph S. Myers  <joseph@codesourcery.com>
637         PR target/19933
638         PR target/21315
639         * inclhack.def: New fixes solaris_math_[1-9].
640         * fixincl.x: Regenerate.
641         * tests/base/iso/math_c99.h: New.
643 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
645         * aclocal.m4: Remove superfluous reference to accross.m4.
647 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
649         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
650         * server.c (load_data): Likewise.
651         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
652         * fixincl.c: #include <sys/wait.h>
653         (run_compiles): Use XCNEWVEC instead of xcalloc.
654         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
655         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
657 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
659         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
660         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
661         * fixincl.x: Regenerate.
663 2005-05-06  Bruce Korb  <bkorb@gnu.org>
664         Joseph S. Myers <joseph@codesourcery.com>
666         * fixinc/inclhack.def: Correct backslashes
667         * fixinc/fixincl.x: regen
669 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
671         * system.h (fopen, fdopen, freopen): Define these to the unlocked
672         libiberty functions.
674 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
676         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
677         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
678         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
679         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
680         _unlocked function.
681         (fwrite_unlocked): Fix prototype.
683         * configure, config.h.in: Regenerate.
685 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
687         * Makefile.in: Set gcc_version directly, not via substitution.
688         (libsubdir): Use $(gcc_version), not $(version).
689         (mkheaders.almost): New rule.
690         (mkheaders): Generate from mkheaders.almost.
691         (clean): Also delete mkheaders.almost.
692         * aclocal.m4: Do not include ../config/gcc-version.m4.
693         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
694         mkheaders.almost from mkheaders.in.
695         * configure: Regenerate.
697 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
699         PR target/20166
700         * inclhack.def: Add fix for array of incomplete structures
701         in function prototype in pthread.h.
702         * fixincl.x: Regenerate.
703         * tests/base/pthread.h: Adjust.
705 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
707         * inclhack.def (hpux_htonl): New fix.
708         * tests/base/netinet/in.h: New test.
709         * fixincl.x: Regenerate.
711 2005-02-23  James E Wilson  <wilson@specifixinc.com>
713         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
715 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
717         PR 18458
718         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
719         fixincl.
721 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
723         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
724         * aclocal.m4: Include ../config/gcc-version.m4.
725         * configure: Regenerate.
727 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
729         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
730         (stdio_va_list): Likewise.
731         (stdio_stdarg.h): Likewise.
732         (solaris_stdio_tag): Add bypass.
733         * fixincl.x: Regenerated.
735 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
737         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
738         built fixincl program.
739         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
740         up csh from user.
742 2004-11-20  Roger Sayle  <roger@eyesopen.com>
744         * inclhack.def (alpha_pthread_init): Fix technical problems with
745         the last check-in caused by CVS variable substitution.
746         * fixincl.x: Likewise.
747         * tests/base/pthread.h: Likewise.
749 2004-11-20  Roger Sayle  <roger@eyesopen.com>
750             Bruce Korb  <bkorb@gnu.org>
752         * inclhack.def (alpha_pthread_init): New fix.
753         * fixincl.x: Regenerate.
754         * tests/base/pthread.h: Update for new test.
756 2004-11-15  Bruce Korb  <bkorb@gnu.org>
758         * fixincl.c(fix_with_system): correct misuse of variables and
759         incorrect application of "sizeof()".
761 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
763         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
764         svr4__p, undefine_null): Remove.
765         * fixincl.x: Regenerate.
766         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
767         * tests/base/sys/param.h: Remove.
768         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
769         tests/base/sys/limits.h: Update.
771 2004-11-12  Mike Stump  <mrs@apple.com>
773         * Makefile.in (html): Add html generation support.
775 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
777         * inclhack.def (sco_math): Bypass on __GNUG__.
778         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
779         * fixincl.x: Regenerate.
781 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
783         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
784         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
785         _CLASSIC_ANSI_TYPES.
786         (sun_auth_proto): Bypass on __cplusplus.
787         * fixincl.x: Regenerate.
789 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
791         * Makefile.in (mostlyclean): Add fixinc.sh.
792         (clean): Add mkheaders.
793         (distclean): New.
794         (dvi): New.
795         (info): New.
796         (installcheck): New.
798 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
800         * Makefile.in (mostlyclean, distclean): New targets.
802 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
804         * configure.ac: Add code to determine noncanonical_target,
805         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
806         * configure: Regenerate.
807         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
808         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
809         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
810         update for changes to fixinc.in.
811         * Makefile.in: Add many new macros.
812         (install): New target.
813         (mkheaders): New target.
814         (fixinc.sh): New target.
815         (all): Add mkheaders and fixinc.sh.
816         * README-fixinc: Move here from gcc/.
818 2004-11-01  Mike Stump  <mrs@apple.com>
820         * inclhack.def (stdio_va_list): Break out clients from here...
821         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
822         included or ifdef va_start.
823         * fixincl.x: Regenerate.
825 2004-10-28  Mike Stump  <mrs@apple.com>
827         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
828         systems.
829         * fixincl.x: Regenerate.
831 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
833         * inclhack.def (darwin_gcc4_breakage): New.
834         * fixincl.x: Regenerate.
836 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
838         PR bootstrap/17832
840         * fixfixes.c (main): Check for _PC_NAME_MAX.
842 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
844         PR other/17991
846         * configure.ac: Fix typo.
847         * configure: Regenerate.
848         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
850 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
852         PR bootstrap/17832
854         * fixincl.c (SIGCHLD): Remove definition.
855         (initialize): Remove SIGIOT and SIGPIPE checks.
856         (create_file): Fix mkdir() for Win32.
857         (internal_fix): Use dup2() instead of fcntl().
859         * fixlib.h (SIGQUIT): Define if undefined.
860         (SIGIOT): Same.
861         (SIGPIPE): Same.
862         (SIGALRM): Same.
863         (SIGKILL): Same.
865         * procopen.c (chain_open): Use dup2() instead of fcntl().
867 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
869         PR other/17991
871         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
872         Update copyright year.
873         * fixfixes.c (main): Call initialize_opts from fixopts.c.
874         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
875         do not include code for parsing options (environment vars).
876         (fix_with_system): Use a search path for applyfix, so that you
877         can run the test suite with two-process fixincludes.
878         * fixopts.c: New file.
879         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
880         to config.h.  Default to --enable-twoprocess for MinGW32.
881         * config.h.in: Regenerate.
882         * configure: Regenerate.
884 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
886         * tests/base/sys/cdefs.h: Update from test area.
888 2004-09-17  Roger Sayle  <roger@eyesopen.com>
890         * inclhack.def (linux_ia64_ucontext): New fix.
891         * fixincl.x: Regenerate.
892         * tests/base/sys/ucontext.h: New file.
894 2004-09-15  Roger Sayle  <roger@eyesopen.com>
896         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
897         * tests/base/stdlib.h: Likewise.
899 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
901         * inclhack.def (freebsd_gcc4_breakage): Add.
902         * fixincl.x: Regenerate.
903         * tests/base/sys/cdefs.h: Update for new test.
905 2004-09-10  Adam Nemet  <anemet@lnxw.com>
907         * inclhack.def (lynx_void_int): Remove.
908         (lynxos_fcntl_proto): Remove.
909         (lynxos_no_warning_in_sys_time_h): New fix.
910         (lynxos_missing_putenv): New fix.
911         * fixincl.x: Regenerate.
912         * tests/base/fcntl.h: Remove.
913         * tests/base/sys/time.h: Update from test area.
914         * tests/base/curses.h: Likewise.
915         * tests/base/stdlib.h: Likewise.
917 2004-09-03  Jan Beulich  <jbeulich@novell.com>
919         * inclhack.def: Suppress exception_structure and math_exception
920         for NetWare headers.
921         * fixincl.x: Regenerate.
923 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
925         * .cvsignore: New.
926         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
927         autoconfiscated.
928         * configure.ac: New.
929         * config.h.in: Generate.
930         * configure: Generate.
931         * aclocal.m4: New.
932         * fixlib.h: Remove inclusions of gcc files.
933         * system.h: New.
935         Other files copied from gcc/fixinc.