dojump.c (do_compare_rtx_and_jump): Try swapping the condition for floating point...
[official-gcc.git] / fixincludes / ChangeLog
blob9bdd28d36416145c78afb91e31a42119cd57da4c
1 2009-06-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
3         * inclhack.def (darwin_stdint_1, darwin_stdint_2, darwin_stdint_3,
4         darwin_stdint_4): New fixes.
5         * tests/base/stdint.h: Adjust test results for new fixes.
6         * fixincl.x: Regenerate.
8 2009-05-29  Eric Botcazou  <ebotcazou@adacore.com>
10         * inclhack.def (solaris_int_const): New fix.
11         (solaris_int_limits_1): Likewise.
12         (solaris_int_limits_2): Likewise.
13         * fixincl.x: Regenerate.
14         * tests/base/sys/int_const.h: New file.
15         * tests/base/sys/int_limits.h: Likewise.
17 2009-05-15  Joseph Myers  <joseph@codesourcery.com>
19         * inclhack.def (glibc_tgmath): Correct bypass.
20         * fixincl.x: Regenerate.
22 2009-04-28  Steve Ellcey  <sje@cup.hp.com>
24         * inclhack.def (hpux11_uint32_c): Remove.
25         (hpux_long_double): Disable on hpux11.3*.
26         (hpux_long_double_2): New.
27         (hpux_c99_intptr): New.
28         (hpux_c99_inttypes): New.
29         (hpux_c99_inttypes2): New.
30         (hpux_stdint_least): New.
31         (hpux_stdint_fast): New.
32         (hpux_inttype_int_least8_t): New.
33         (hpux_inttype_int8_t): New.
34         * fixincl.x: Regenerate.
35         * tests/base/sys/_inttypes.h: New.
36         * tests/base/inttypes.h: Update.
37         * tests/base/stdlib.h: Update.
38         * tests/base/stdint.h: Update.
40 2009-04-28  Joseph Myers  <joseph@codesourcery.com>
42         * inclhack.def (glibc_stdint): New fix.
43         * fixincl.x: Regenerate.
44         * tests/base/stdint.h: Update.
46 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
48         * Makefile.in: Change copyright header to refer to version
49         3 of the GNU General Public License and to point readers at the
50         COPYING3 file and the FSF's license web page.
51         * fixfixes.c: Likewise.
52         * fixinc.in: Likewise.
53         * fixincl.c: Likewise.
54         * fixlib.c: Likewise.
55         * fixlib.h: Likewise.
56         * fixopts.c: Likewise.
57         * fixtests.c: Likewise.
58         * genfixes: Likewise.
59         * mkheaders.in: Likewise.
60         * system.h: Likewise.
62 2009-03-31  Joseph Myers  <joseph@codesourcery.com>
64         PR c/448
65         * inclhack.def (newlib_stdint_1, newlib_stdint_2): New fixes.
66         * fixincl.x: Regenerate.
67         * tests/base/stdint.h: Update.
69 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
71         * tests/base/math.h, tests/base/pthread.h, tests/base/sys/wait.h:
72         Update.
74 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
76         PR c/456
77         PR c/5675
78         PR c/19976
79         PR c/29116
80         PR c/31871
81         PR c/35198
82         * inclhack.def (glibc_tgmath): New fix.
83         * fixincl.x: Regenerate.
84         * tests/base/tgmath.h: New.
86 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
88         * inclhack.def (aix_syswait, exception_structure,
89         pthread_page_size): Remove.
90         (math_exception): Remove mention of fixproto in comment.
91         * fixincl.x: Regenerate.
92         * mkheaders.in: Do not handle STMP_FIXPROTO.
94 2009-03-27  Sandra Loosemore  <sandra@codesourcery.com>
96         * server.c (run_shell): Quote directory name passed to cd.
98 2009-03-01  Bruce Korb  <bkorb@gnu.org>
99         Apply a positively ancient patch:
101         2004-10-15  Giovanni Bajo  <giovannibajo@libero.it>
103         * inclhack.def (alpha_if_semicolon): new fix from long, long ago
104         * tests/base/net/if.h: Add new test.
106 2009-01-06  Andreas Tobler  <a.tobler@schweiz.org>
108         * tests/base/locale.h: Add new test.
109         * tests/base/stdarg.h: Likewise.
111 2009-01-05  Steve Ellcey  <sje@cup.hp.com>
113         * inclhack.def (hpux_spu_info):  Add files line.
114         * fixincl.x: Regenerate.
116 2009-01-01  Andreas Tobler  <a.tobler@schweiz.org>
118         * inclhack.def (openbsd_null_definition): Redefine NULL to (void *)0
119         in case of C.
120         * fixincl.x: Regenerate.
122 2008-12-31  Andreas Tobler  <a.tobler@schweiz.org>
124         PR target/35460
125         * inclhack.def (openbsd_va_start): Use __builtin_va_start
126         for OpenBSD.
127         * fixincl.x: Regenerate.
129 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
131         * configure: Regenerate.
133 2008-12-15  Steve Ellcey  <sje@cup.hp.com>
135         * inclhack.def (hpux_spu_info): Match PA as well as IA64.
136         * fixincl.x: Regenerate.
138 2008-09-06  H.J. Lu  <hongjiu.lu@intel.com>
140         * configure.ac: Fix a typo.
141         * configured: Regenerate.
143 2008-09-06  Bruce Korb  <bkorb@gnu.org>
145         * fixincl.tpl (sed): make the program executable configurable.
146         Some platforms have some rather oddball defaults.
147         * config.h.in (SED_PROGRAM): define the default sed.
148         * fixincl.x: regenerated
149         * tests/base/internal/wchar_core.h: fix bad sample text
150         * tests/base/math.h: fix bad sample text
151         * configure.ac: search for working sed
152         * inclhack.def (glibc_mutex_init): fix non-portable construct
153         and re-order a few misordered entries.
155 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
157         * configure: Regenerate.
159 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
161         * inclhack.def (AAB_svr4_replace_byteorder,
162         AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
163         libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
164         ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
165         solaris_mutex_init_1, solaris_socket, solaris_unistd,
166         solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
167         ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
168         ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
169         ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
170         ultrix_strings2, ultrix_sys_time, ultrix_unistd,
171         unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
172         windiss_math2, windiss_valist): Remove.
173         * fixincl.x: Regenerate.
174         * mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
175         i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
176         powerpc-*-eabiaix*): Remove.
177         * tests/base/math.h: Update.
178         * tests/base/pthread.h: Update.
179         * tests/base/stdio.h: Update.
180         * tests/base/stdlib.h: Update.
181         * tests/base/string.h: Update.
182         * tests/base/strings.h: Update.
183         * tests/base/sys/file.h: Update.
184         * tests/base/sys/limits.h: Update.
185         * tests/base/sys/socket.h: Update.
186         * tests/base/sys/stat.h: Update.
187         * tests/base/sys/time.h: Update.
188         * tests/base/testing.h: Update.
189         * tests/base/unistd.h: Update.
190         * tests/base/_G_config.h: Remove.
191         * tests/base/arpa: Remove directory.
192         * tests/base/fs: Remove directory.
193         * tests/base/locale.h: Remove.
194         * tests/base/machine: Remove directory.
195         * tests/base/rpc/svc.h: Remove.
196         * tests/base/sys/ioctl.h: Remove.
197         * tests/base/sys/regset.h: Remove.
198         * tests/base/sys/times.h: Remove.
199         * tests/base/sys/utsname.h: Remove.
200         * tests/base/widec.h: Remove.
202 2008-05-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
204         * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
205         * tests/base/iso/math_c99.h: Update.
206         * fixincl.x: Regenerate.
208 2008-05-14  Joseph Myers  <joseph@codesourcery.com>
210         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
211         posix_types_64.
212         * fixincl.x: Regenerate.
214 2008-04-25  Kai Tietz  <kai.tietz@onvision.com>
216         * fixincl.c (fix_with_system): Cast pointer difference to long.
217         * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
219 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
221         PR bootstrap/35457
222         * Makefile.in: Rewrite aclocal.m4 rule.
223         * aclocal.m4: Regenerate.
224         * configure: Regenerate.
226 2008-03-07  Peter O'Gorman  <pogma@thewrittenword.com>
228         PR c++/20366
229         * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
230         * fixincl.x: Regenerate.
231         * tests/base/stdio.h: Add test.
233 2008-02-25  Ben Elliston  <bje@au.ibm.com>
235         PR other/32948
236         * fixincl.c (fix_applies): Remove unused variable `name_len'.
238 2008-02-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
240         * inclhack.def (solaris_math_10): New.
241         * tests/base/iso/math_c99.h: Update.
243         * fixincl.x: Regenerate.
245 2008-02-04  Ismail Dönmez  <ismail@pardus.org.tr>
247         * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
248         freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
249         netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon):  Add
250         quotes around mach entries.
251         * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
252         to GPLv3.
254 2008-02-04  Hans-Peter Nilsson  <hp@axis.com>
256         PR other/31405
257         * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
258         (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
259         __extern_inline|__GNU_STDC_INLINE__.
260         (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
261         <bypass>: Change from __STDC_VERSION__ to
262         __extern_inline|__GNU_STDC_INLINE__.
263         <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
264         appending attribute-gnu_inline.
265         <second c_fix_arg>: Remove.
266         <test_text>: Remove __extern_inline line.
267         * tests/base/features.h: Re-add.
268         * tests/base/sys/sysmacros.h: Adjust.
269         * fixincl.x: Regenerate.
271 2008-01-06  Hans-Peter Nilsson  <hp@axis.com>
273         Revert last change.
275 2007-12-18  Hans-Peter Nilsson  <hp@axis.com>
277         * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
278         * fixincl.x: Regenerate.
279         * tests/base/wchar.h: Update.
280         * tests/base/features.h: New.
282 2007-10-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
284         PR target/33700
285         * inclhack.def (hpux11_pthread_const): New.
286         * fixincl.x: Regenerate.
287         * tests/base/sys/pthread.h: Update.
289 2007-10-12  Kai Tietz  <kai.tietz@onevision.com>
291         * configure.ac: x86_64 mingw target uses twoprocess.
292         * mkfixinc.sh: Add x86_64 mingw target.
293         * configure: Regenerate.
295 2007-10-09  Geoffrey Keating  <geoffk@apple.com>
297         * inclhack.def (darwin_externc): New.
298         * fixincl.x: Regenerate.
299         * tests/base/mach-o/swap.h: New.
301 2007-08-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
303         * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
304         Delete fixes.
305         * tests/base/iso/math_c99.h: Delete associated test baselines.
306         * fixincl.x: Regenerate.
308 2007-07-24  Krister Walfridsson  <cato@df.lth.se>
310         PR target/30058
311         * inclhack.def (netbsd_c99_inline_2): New.
312         * fixincl.x: Regenerate.
313         * tests/base/signal.h: Update.
315 2007-07-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
317         PR target/32641
319         * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
320         solaris_math_7): Constify and make FP exception-safe.
321         * tests/base/iso/math_c99.h: Update.
323         * fixincl.x: Regenerate.
325 2007-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
327         PR libgcj/28190
328         * inclhack.def (irix_stdint_c99): New fix.
329         * fixincl.x: Regenerate.
330         * tests/base/stdint.h: New test.
332 2007-06-06  Steve Ellcey  <sje@cup.hp.com>
334         PR testsuite/31828
335         * inclhack.def (hppa_hpux_fp_macros): New.
336         * fixincl.x: Regenerate.
337         * tests/base/math.h: Update.
339 2007-03-26  Jakub Jelinek  <jakub@redhat.com>
341         * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
342         if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
343         __STDC_VERSION__ < 199901L.
344         (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
345         with #ifdef __GNUC_GNU_INLINE__.
346         (glibc_c99_inline_3): Add select.  Replace __STDC_VERSION__ >= 199901L
347         with defined(__GNUC_STDC_INLINE__).
348         (glibc_c99_inline_4): Change select, add second c_fix_arg.
349         Replace #if __STDC_VERSION__ < 199901L with
350         #ifdef __GNUC_GNU_INLINE__.
351         * fixincl.x: Regenerated.
352         * tests/base/bits/string2.h: Update.
353         * tests/base/sys/sysmacros.h: Update.
354         * tests/base/sys/stat.h: Update.
356 2007-03-18  Krister Walfridsson  <cato@df.lth.se>
358         PR target/30058
359         * inclhack.def (netbsd_c99_inline_1): New.
360         * fixincl.x: Regenerate.
361         * tests/base/signal.h: New.
363 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
365         * Makefile.in: Add dummy "install-info" target.
367 2007-03-06  Joseph Myers  <joseph@codesourcery.com>
369         * mkheaders.in: Fix headers for each multilib required.
371 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
373         * Makefile.in: Add dummy install-pdf target.
375 2007-02-27  Joseph Myers  <joseph@codesourcery.com>
377         * mkheaders.in (incdir): Use include-fixed not include.
379 2007-02-15  Brooks Moses  <brooks.moses@codesourcery.com>
381         * Makefile.in: Added "pdf" target to .PHONY.
383 2007-02-05  Richard Guenther  <rguenther@suse.de>
385         * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
386         with older glibc.  Adjust version number for C99.
387         * fixincl.x: Regenerated.
389 2007-02-04  Mike Stump  <mrs@apple.com>
391         * mkheaders.in: Allow optional isysroot parameter.
393 2007-02-03  Bruce Korb <bkorb@gnu.org>
395         * inclhack.def (glibc_c99_inline_4): replace "extern" only if
396         surrounded by space characters.
398 2007-01-25  Daniel Franke <franke.daniel@gmail.com>
400         PR target/30272
401         * inclhack.def(broken_cabs): Also remove definition of cabsl.
402         * fixincl.x: Regenerate.
403         * tests/base/math.h: Update.
405 2007-01-05  Bruce Korb <bkorb@gnu.org>, 
406             Daniel Franke <franke.daniel@gmail.com>
408         PR target/30008
409         * fixincl.tpl (List): separate file name patterns with a NUL byte instead
410         of a vertical bar ("|").
411         * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
412         matching.  Set SKIP_TEST flag if we are not to run a test.
413         * fixincl.x: Regenerate.
414         * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
415         kandr_concat, sco_math): Replace lists of specfic file names by search
416         patterns.
418 2006-12-12  Olivier Hainque  <hainque@adacore.com>
420         * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
421         targets for which a no-op fixer is appropriate.
422         
423 2006-11-07  Richard Guenther  <rguenther@suse.de>
425         * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
426         systems.
427         * fixincl.x: Regenerate.
429 2006-11-02  Geoffrey Keating  <geoffk@apple.com>
431         * inclhack.def (glibc_c99_inline_1): New.
432         * inclhack.def (glibc_c99_inline_2): New.
433         * inclhack.def (glibc_c99_inline_3): New.
434         * inclhack.def (glibc_c99_inline_4): New.
435         * fixincl.x: Regenerate.
436         * tests/base/bits/string2.h: New.
437         * tests/base/sys/sysmacros.h: New.
438         * tests/base/sys/stat.h: Update.
440 2006-11-01  Steve Ellcey  <sje@cup.hp.com>
442         * tests/base/sys/socket.h: Update.
444 2006-10-31  Steve Ellcey  <sje@cup.hp.com>
446         * inclhack.def (hpux11_extern_sendfile): New.
447         (hpux11_extern_sendpath): New.
448         * fixincl.x: Regenerate.
450 2006-10-29  Joseph Myers  <joseph@codesourcery.com>
452         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
453         * fixincl.x: Regenerate.
455 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
457         * Makefile.in: Added empty "pdf" target.
459 2006-10-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
461         PR target/29300
462         * inclhack.def (hpux_pthread_initializers): New hack.
463         * tests/base/sys/pthread.h: New file.
465         * fixincl.x: Regenerate.
467 2006-10-03  Uros Bizjak <uros@kss-loka.si>
469         * inclhack.def (glibc_mutex_init): Also fix
470         PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
471         PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
472         * tests/base/pthread.h: Update.
474         * fixincl.x: Regenerate.
476 2006-10-01  Uros Bizjak <uros@kss-loka.si>
478         * inclhack.def (glibc_mutex_init): New fix.
479         * tests/base/pthread.h: Update.
481         * fixincl.x: Regenerate.
483 2006-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
485         * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
486         Prevent it from running on solaris10 or later.
487         (solaris_once_init_2): Fix comment.
488         * tests/base/pthread.h: Update.
490         * fixincl.x: Regenerate.
492 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
494         * inclhack.def (solaris_once_init_2): New fix.
495         * tests/base/pthread.h: Update.
497         * fixincl.x: Regenerate.
499 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
501         * inclhack.def (solaris_mutex_init_2): Remove test for
502         PTHREAD_RWLOCK_INITIALIZER.
503         (solaris_rwlock_init_1): New.
504         * tests/base/pthread.h: Update.
506         * inclhack.def (solaris_once_init_1): New.
507         * tests/base/pthread.h: Adjust for new fix.
508         
509         * fixincl.x: Regenerate.
511 2006-07-17  Roger Sayle  <roger@eyesopen.com>
513         * tests/base/errno.h: New file.
514         * tests/base/architecture/ppc/math.h: Likewise.
515         * tests/base/ia64/sys/getppdp.h: Likewise.
517 2006-07-10  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
519         PR bootstrap/20437
520         * Makefile.in (configure, config.h.in): Change into $(srcdir)
521         before autoconf or autoheader call.
523 2006-06-23  Steve Ellcey  <sje@cup.hp.com>
525         PR target/28084
526         * inclhack.def (hpux_extern_errno): New.
527         * fixincl.x: Regenerate.
529 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
531         * Makefile.in: Add dvi info html and install-html to .PHONY
532         Add install-html target.
534 2006-05-16  Mike Stump  <mrs@apple.com>
536         * configure.ac: Add -Wno-overlength-strings.
537         * configure: Regenerate.
539 2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>
541         * README: Fix typo.
543 2006-02-18  Steve Ellcey  <sje@cup.hp.com>
545         PR target/26189
546         * inclhack.def (hpux_spu_info): New.
547         * fixincl.x: Regenerate
549 2006-01-31  Marcin Dalecki  <martin@dalecki.de>
551         * configure.ac: Check for asprintf, basename, vasprintf.
552         * config.h.in: Regenerate.
553         * configure: Regenerate.
555 2006-01-19  Andrew Pinski  <pinskia@physics.uc.edu>
557         PR target/15642
558         * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
559         __APPLE_CC_ as 1345.
560         (broken_nan): New.
561         * fixincl.x: Regenerate.
563 2005-11-24  Bruce Korb  <bkorb@gnu.org>
565         * fixincl.c (write_replacement): "here strings" in AutoGen
566         often/generally don't have a terminating newline.  Check the
567         last byte for '\n'.
569 2005-11-13  Andreas Jaeger  <aj@suse.de>
571         * check.tpl: Handle CVS additionally.
573 2005-11-05  Andreas Jaeger  <aj@suse.de>
575         * check.tpl: Adopt for move to subversion.
577 2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
579         PR c++/23139
580         * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
581         fixes.
582         * fixincl.x: Regenerate.
583         * tests/base/bits/huge_val.h: New file.
585 2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
587         * All files: Update with new FSF address.
589 2005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
591         * Makefile.in (WARN_CFLAGS): New.
592         (.c.o): Add $(WARN_CFLAGS).
593         * aclocal.m4: Include ../config/warnings.m4.
594         * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
595         ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
596         ACX_PROG_CC_WARNINGS_ARE_ERRORS.
597         * fixopts.c (initialize_opts): Fix old-style definintion.
599         * configure: Regenerate.
601 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
603         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
604         (AAB_darwin7_9_long_double_funcs_2): New.
605         * fixincl.x: Regenerate.
607 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
609         PR libfortran/15266
610         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
611         Use double quotes in select so \t matches tabs.
612         Add IRIX testcase.
613         * fixincl.x: Regenerate.
614         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
616 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
618         PR target/21683
619         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
621 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
622             Joseph S. Myers  <joseph@codesourcery.com>
624         PR target/19933
625         PR target/21315
626         * inclhack.def: New fixes solaris_math_[1-9].
627         * fixincl.x: Regenerate.
628         * tests/base/iso/math_c99.h: New.
630 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
632         * aclocal.m4: Remove superfluous reference to accross.m4.
634 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
636         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
637         * server.c (load_data): Likewise.
638         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
639         * fixincl.c: #include <sys/wait.h>
640         (run_compiles): Use XCNEWVEC instead of xcalloc.
641         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
642         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
644 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
646         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
647         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
648         * fixincl.x: Regenerate.
650 2005-05-06  Bruce Korb  <bkorb@gnu.org>
651         Joseph S. Myers <joseph@codesourcery.com>
653         * fixinc/inclhack.def: Correct backslashes
654         * fixinc/fixincl.x: regen
656 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
658         * system.h (fopen, fdopen, freopen): Define these to the unlocked
659         libiberty functions.
661 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
663         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
664         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
665         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
666         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
667         _unlocked function.
668         (fwrite_unlocked): Fix prototype.
670         * configure, config.h.in: Regenerate.
672 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
674         * Makefile.in: Set gcc_version directly, not via substitution.
675         (libsubdir): Use $(gcc_version), not $(version).
676         (mkheaders.almost): New rule.
677         (mkheaders): Generate from mkheaders.almost.
678         (clean): Also delete mkheaders.almost.
679         * aclocal.m4: Do not include ../config/gcc-version.m4.
680         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
681         mkheaders.almost from mkheaders.in.
682         * configure: Regenerate.
684 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
686         PR target/20166
687         * inclhack.def: Add fix for array of incomplete structures
688         in function prototype in pthread.h.
689         * fixincl.x: Regenerate.
690         * tests/base/pthread.h: Adjust.
692 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
694         * inclhack.def (hpux_htonl): New fix.
695         * tests/base/netinet/in.h: New test.
696         * fixincl.x: Regenerate.
698 2005-02-23  James E Wilson  <wilson@specifixinc.com>
700         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
702 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
704         PR 18458
705         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
706         fixincl.
708 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
710         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
711         * aclocal.m4: Include ../config/gcc-version.m4.
712         * configure: Regenerate.
714 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
716         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
717         (stdio_va_list): Likewise.
718         (stdio_stdarg.h): Likewise.
719         (solaris_stdio_tag): Add bypass.
720         * fixincl.x: Regenerated.
722 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
724         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
725         built fixincl program.
726         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
727         up csh from user.
729 2004-11-20  Roger Sayle  <roger@eyesopen.com>
731         * inclhack.def (alpha_pthread_init): Fix technical problems with
732         the last check-in caused by CVS variable substitution.
733         * fixincl.x: Likewise.
734         * tests/base/pthread.h: Likewise.
736 2004-11-20  Roger Sayle  <roger@eyesopen.com>
737             Bruce Korb  <bkorb@gnu.org>
739         * inclhack.def (alpha_pthread_init): New fix.
740         * fixincl.x: Regenerate.
741         * tests/base/pthread.h: Update for new test.
743 2004-11-15  Bruce Korb  <bkorb@gnu.org>
745         * fixincl.c(fix_with_system): correct misuse of variables and
746         incorrect application of "sizeof()".
748 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
750         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
751         svr4__p, undefine_null): Remove.
752         * fixincl.x: Regenerate.
753         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
754         * tests/base/sys/param.h: Remove.
755         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
756         tests/base/sys/limits.h: Update.
758 2004-11-12  Mike Stump  <mrs@apple.com>
760         * Makefile.in (html): Add html generation support.
762 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
764         * inclhack.def (sco_math): Bypass on __GNUG__.
765         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
766         * fixincl.x: Regenerate.
768 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
770         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
771         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
772         _CLASSIC_ANSI_TYPES.
773         (sun_auth_proto): Bypass on __cplusplus.
774         * fixincl.x: Regenerate.
776 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
778         * Makefile.in (mostlyclean): Add fixinc.sh.
779         (clean): Add mkheaders.
780         (distclean): New.
781         (dvi): New.
782         (info): New.
783         (installcheck): New.
785 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
787         * Makefile.in (mostlyclean, distclean): New targets.
789 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
791         * configure.ac: Add code to determine noncanonical_target,
792         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
793         * configure: Regenerate.
794         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
795         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
796         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
797         update for changes to fixinc.in.
798         * Makefile.in: Add many new macros.
799         (install): New target.
800         (mkheaders): New target.
801         (fixinc.sh): New target.
802         (all): Add mkheaders and fixinc.sh.
803         * README-fixinc: Move here from gcc/.
805 2004-11-01  Mike Stump  <mrs@apple.com>
807         * inclhack.def (stdio_va_list): Break out clients from here...
808         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
809         included or ifdef va_start.
810         * fixincl.x: Regenerate.
812 2004-10-28  Mike Stump  <mrs@apple.com>
814         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
815         systems.
816         * fixincl.x: Regenerate.
818 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
820         * inclhack.def (darwin_gcc4_breakage): New.
821         * fixincl.x: Regenerate.
823 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
825         PR bootstrap/17832
827         * fixfixes.c (main): Check for _PC_NAME_MAX.
829 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
831         PR other/17991
833         * configure.ac: Fix typo.
834         * configure: Regenerate.
835         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
837 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
839         PR bootstrap/17832
841         * fixincl.c (SIGCHLD): Remove definition.
842         (initialize): Remove SIGIOT and SIGPIPE checks.
843         (create_file): Fix mkdir() for Win32.
844         (internal_fix): Use dup2() instead of fcntl().
846         * fixlib.h (SIGQUIT): Define if undefined.
847         (SIGIOT): Same.
848         (SIGPIPE): Same.
849         (SIGALRM): Same.
850         (SIGKILL): Same.
852         * procopen.c (chain_open): Use dup2() instead of fcntl().
854 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
856         PR other/17991
858         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
859         Update copyright year.
860         * fixfixes.c (main): Call initialize_opts from fixopts.c.
861         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
862         do not include code for parsing options (environment vars).
863         (fix_with_system): Use a search path for applyfix, so that you
864         can run the test suite with two-process fixincludes.
865         * fixopts.c: New file.
866         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
867         to config.h.  Default to --enable-twoprocess for MinGW32.
868         * config.h.in: Regenerate.
869         * configure: Regenerate.
871 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
873         * tests/base/sys/cdefs.h: Update from test area.
875 2004-09-17  Roger Sayle  <roger@eyesopen.com>
877         * inclhack.def (linux_ia64_ucontext): New fix.
878         * fixincl.x: Regenerate.
879         * tests/base/sys/ucontext.h: New file.
881 2004-09-15  Roger Sayle  <roger@eyesopen.com>
883         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
884         * tests/base/stdlib.h: Likewise.
886 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
888         * inclhack.def (freebsd_gcc4_breakage): Add.
889         * fixincl.x: Regenerate.
890         * tests/base/sys/cdefs.h: Update for new test.
892 2004-09-10  Adam Nemet  <anemet@lnxw.com>
894         * inclhack.def (lynx_void_int): Remove.
895         (lynxos_fcntl_proto): Remove.
896         (lynxos_no_warning_in_sys_time_h): New fix.
897         (lynxos_missing_putenv): New fix.
898         * fixincl.x: Regenerate.
899         * tests/base/fcntl.h: Remove.
900         * tests/base/sys/time.h: Update from test area.
901         * tests/base/curses.h: Likewise.
902         * tests/base/stdlib.h: Likewise.
904 2004-09-03  Jan Beulich  <jbeulich@novell.com>
906         * inclhack.def: Suppress exception_structure and math_exception
907         for NetWare headers.
908         * fixincl.x: Regenerate.
910 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
912         * .cvsignore: New.
913         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
914         autoconfiscated.
915         * configure.ac: New.
916         * config.h.in: Generate.
917         * configure: Generate.
918         * aclocal.m4: New.
919         * fixlib.h: Remove inclusions of gcc files.
920         * system.h: New.
922         Other files copied from gcc/fixinc.