aboutsummaryrefslogtreecommitdiff
path: root/fixincludes
AgeCommit message (Collapse)AuthorFilesLines
2006-06-23re PR target/28084 (/usr/include/errno.h:28: error: previous declaration of ↵Steve Ellcey3-5/+72
'int errno' with 'C++' linkage) PR target/28084 * inclhack.def (hpux_extern_errno): New. * fixincl.x: Regenerate. From-SVN: r114939
2006-05-24Makefile.in: Add dvi info html and install-html to .PHONY Add install-html ↵Carlos O'Donell2-0/+8
target. 2006-05-23 Carlos O'Donell <carlos@codesourcery.com> * Makefile.in: Add dvi info html and install-html to .PHONY Add install-html target. From-SVN: r114040
2006-05-17configure.ac: Add -Wno-overlength-strings.Mike Stump3-2/+7
* configure.ac: Add -Wno-overlength-strings. * configure: Regenerate. From-SVN: r113836
2006-05-14README: Fix typo.Bernhard Fischer2-1/+5
2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org> * README: Fix typo. From-SVN: r113757
2006-02-18re PR target/26189 (Bug in vendor /usr/include/net/if.h needs fixincluding ↵Steve Ellcey3-5/+73
on HPUX) PR target/26189 * inclhack.def (hpux_spu_info): New. * fixincl.x: Regenerate From-SVN: r111237
2006-01-31configure.ac: Check for asprintf, basename, vasprintf.Marcin Dalecki4-1/+229
2006-01-31 Marcin Dalecki <martin@dalecki.de> * configure.ac: Check for asprintf, basename, vasprintf. * config.h.in: Regenerate. * configure: Regenerate. From-SVN: r110448
2006-01-19re PR target/15642 (NAN Is Not a Constant Because __APPLE_CC__ is Not ↵Andrew Pinski3-11/+90
Defined (OK in Apple 3.3.0)) 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu> PR target/15642 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define __APPLE_CC_ as 1345. (broken_nan): New. * fixincl.x: Regenerate. From-SVN: r109973
2005-11-25Check the last byte for '\n'Bruce Korb2-1/+9
From-SVN: r107492
2005-11-25Regenerate fixincl.x from current templateBruce Korb1-7/+8
From-SVN: r107491
2005-11-13check.tpl: Handle CVS additionally.Andreas Jaeger2-0/+5
* check.tpl: Handle CVS additionally. From-SVN: r106855
2005-11-05check.tpl: Adopt for move to subversion.Andreas Jaeger2-3/+7
* check.tpl: Adopt for move to subversion. From-SVN: r106527
2005-10-31.cvsignore are not needed for subversion, remove them.Andreas Jaeger1-1/+0
From-SVN: r106279
2005-09-15re PR target/23139 (-pedantic -ffast-math breaks working code)Joseph Myers4-7/+234
fixincludes: PR c++/23139 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New fixes. * fixincl.x: Regenerate. * tests/base/bits/huge_val.h: New file. gcc/testsuite: * g++.dg/warn/huge-val1.C: New test. From-SVN: r104315
2005-08-15All files: Update with new FSF address.Kelley Cook17-31/+35
2005-08-14 Kelley Cook <kcook@gcc.gnu.org> * All files: Update with new FSF address. From-SVN: r103096
2005-08-07Finish checkin of date: 2005/06/14 23:59:47; author: ro;Bruce Korb1-0/+5
for rev 1.23 of inclhack.def: adjust tests/base/math.h for new content for AAB_darwin7_9_long_double_funcs_2 fix. From-SVN: r102833
2005-07-16Makefile.in (WARN_CFLAGS): New.Kaveh R. Ghazi6-4/+189
* Makefile.in (WARN_CFLAGS): New. (.c.o): Add $(WARN_CFLAGS). * aclocal.m4: Include ../config/warnings.m4. * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS, ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and ACX_PROG_CC_WARNINGS_ARE_ERRORS. * fixopts.c (initialize_opts): Fix old-style definintion. * configure: Regenerate. From-SVN: r102088
2005-06-24inclhack.def (AAB_darwin7_9_long_double_funcs): New.Geoffrey Keating3-5/+278
* inclhack.def (AAB_darwin7_9_long_double_funcs): New. (AAB_darwin7_9_long_double_funcs_2): New. * fixincl.x: Regenerate. From-SVN: r101305
2005-06-14re PR target/15266 (libgfortran doesn't compile on IRIX 5.3)Rainer Orth4-5/+18
PR libfortran/15266 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem. Use double quotes in select so \t matches tabs. Add IRIX testcase. * fixincl.x: Regenerate. * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase. From-SVN: r100960
2005-05-22re PR bootstrap/21683 (build failure on i386-mingw (sys/wait.h header))Danny Smith2-0/+7
PR target/21683 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC. From-SVN: r100066
2005-05-19re PR target/19933 (Problem with define of HUGE_VAL in math_c99.)Eric Botcazou4-5/+763
fixincludes/ PR target/19933 PR target/21315 * inclhack.def: New fixes solaris_math_[1-9]. * fixincl.x: Regenerate. * tests/base/iso/math_c99.h: New. gcc/testsuite/ * gcc.dg/c99-math.h: New * gcc.dg/c99-math-float-1.c: New test. * gcc.dg/c99-math-double-1.c: Likewise. * gcc.dg/c99-math-long-double-1.c: Likewise. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r99953
2005-05-19aclocal.m4: Remove superfluous reference to accross.m4.Kelley Cook2-1/+4
2005-05-19 Kelley Cook <kcook@gcc.gnu.org> * aclocal.m4: Remove superfluous reference to accross.m4. From-SVN: r99945
2005-05-15fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.Gabriel Dos Reis5-14/+25
* fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc. * server.c (load_data): Likewise. (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1). * fixincl.c: #include <sys/wait.h> (run_compiles): Use XCNEWVEC instead of xcalloc. (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc. * fixfixes.c (FIX_PROC_HEAD, main): Likewise. From-SVN: r99740
2005-05-10inclhack.def (stdio_stdarg_h, [...]): Bypass on *-*-solaris2.1[0-9]*, not ↵Joseph Myers3-6/+12
just *-*-solaris2.1[0-9]. * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9]. * fixincl.x: Regenerate. From-SVN: r99487
2005-05-06Fix backslash expression in here stringBruce Korb3-16/+22
[[Split portion of a mixed commit.]] Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r99322.2
2005-04-19system.h (fopen, [...]): Define these to the unlocked libiberty functions.Kaveh R. Ghazi2-0/+10
fixincludes: * system.h (fopen, fdopen, freopen): Define these to the unlocked libiberty functions. gcc: * system.h (fopen, fdopen, freopen): Define these to the unlocked libiberty functions. libcpp: * system.h (fopen, fdopen, freopen): Define these to the unlocked libiberty functions. From-SVN: r98407
2005-04-11configure.ac (fixincludes_UNLOCKED_FUNCS): New.Kaveh R. Ghazi5-31/+971
fixincludes: * configure.ac (fixincludes_UNLOCKED_FUNCS): New. (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS. * system.h (putchar, getc, getchar, clearerr, feof, fileno, fflush, fgetc, fgets, ferror, fread): Redefine to the associated _unlocked function. (fwrite_unlocked): Fix prototype. * configure, config.h.in: Regenerate. gcc: PR/17092 * configure.ac (gcc_UNLOCKED_FUNCS): New. (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS. * system.h (putchar, getc, getchar, clearerr, feof, fileno, fflush, fgetc, fgets, ferror, fread): Redefine to the associated _unlocked function. (fwrite_unlocked): Fix prototype. * configure, config.in: Regenerate. libcpp: * configure.ac (libcpp_UNLOCKED_FUNCS): New. (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS. * system.h (putchar, getc, getchar, clearerr, feof, fileno, fflush, fgetc, fgets, ferror, fread): Redefine to the associated _unlocked function. (fwrite_unlocked): Fix prototype. * configure, config.in: Regenerate. From-SVN: r97986
2005-03-21Makefile.in: Set gcc_version directly, not via substitution.Zack Weinberg5-33/+27
* Makefile.in: Set gcc_version directly, not via substitution. (libsubdir): Use $(gcc_version), not $(version). (mkheaders.almost): New rule. (mkheaders): Generate from mkheaders.almost. (clean): Also delete mkheaders.almost. * aclocal.m4: Do not include ../config/gcc-version.m4. * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate mkheaders.almost from mkheaders.in. * configure: Regenerate. From-SVN: r96819
2005-03-21re PR target/20166 (Bootstrap failure due to lack of fixinclude of pthread ↵Richard Guenther4-5/+73
problem) 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org> PR target/20166 * inclhack.def: Add fix for array of incomplete structures in function prototype in pthread.h. * fixincl.x: Regenerate. * tests/base/pthread.h: Adjust. From-SVN: r96812
2005-03-15inclhack.def (hpux_htonl): New fix.Joseph Myers4-5/+109
* inclhack.def (hpux_htonl): New fix. * tests/base/netinet/in.h: New test. * fixincl.x: Regenerate. From-SVN: r96522
2005-02-23Fix problem found by CFLAGS=-fmudflap build.James E Wilson2-3/+7
* Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link. From-SVN: r95475
2004-12-13re PR bootstrap/18458 ("make install" -> fixincl missing extension)Andrew Pinski2-2/+8
2004-12-13 Andrew Pinski <pinskia@physics.uc.edu> PR 18458 * Makefile.in (install): Add @EXEEXT@ to the end of the program name, fixincl. From-SVN: r92090
2004-12-02Introduce and use config/gcc-version.m4.Richard Sandiford4-8/+26
From-SVN: r91625
2004-11-26inclhack.def (gnu_types): Do not use on Solaris 2.1x.Mark Mitchell3-10/+50
2004-11-26 Mark Mitchell <mark@codesourcery.com> * inclhack.def (gnu_types): Do not use on Solaris 2.1x. (stdio_va_list): Likewise. (stdio_stdarg.h): Likewise. (solaris_stdio_tag): Add bypass. * fixincl.x: Regenerated. From-SVN: r91351
2004-11-23mkfixinc.sh: Check error code from 'cat'.Geoffrey Keating3-5/+11
* mkfixinc.sh: Check error code from 'cat'. Don't try running built fixincl program. * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking up csh from user. From-SVN: r91109
2004-11-21inclhack.def (alpha_pthread_init): Fix technical problems with the last ↵Roger Sayle4-10/+17
check-in caused by CVS variable substitution. * inclhack.def (alpha_pthread_init): Fix technical problems with the last check-in caused by CVS variable substitution. * fixincl.x: Likewise. * tests/base/pthread.h: Likewise. From-SVN: r90989
2004-11-21inclhack.def (alpha_pthread_init): New fix.Roger Sayle4-5/+124
* inclhack.def (alpha_pthread_init): New fix. * fixincl.x: Regenerate. * tests/base/pthread.h: Update for new test. Co-Authored-By: Bruce Korb <bkorb@gnu.org> From-SVN: r90981
2004-11-17remove confusing and unnecessary backslashesBruce Korb1-2/+2
From-SVN: r90790
2004-11-17correct misuse of variablesBruce Korb2-33/+40
From-SVN: r90789
2004-11-13inclhack.def (hpux_maxint, [...]): Remove.Joseph Myers9-394/+34
* inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef, svr4__p, undefine_null): Remove. * fixincl.x: Regenerate. * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New. * tests/base/sys/param.h: Remove. * tests/base/curses.h, tests/base/math.h, tests/base/testing.h, tests/base/sys/limits.h: Update. From-SVN: r90594
2004-11-13* Makefile.in (html): Add html generation support.Mike Stump2-0/+5
From-SVN: r90576
2004-11-12inclhack.def (sco_math): Bypass on __GNUG__.Joseph Myers3-5/+27
* inclhack.def (sco_math): Bypass on __GNUG__. (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES. * fixincl.x: Regenerate. From-SVN: r90550
2004-11-09inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.Joseph Myers3-10/+60
* inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__. (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on _CLASSIC_ANSI_TYPES. (sun_auth_proto): Bypass on __cplusplus. * fixincl.x: Regenerate. From-SVN: r90371
2004-11-05Makefile.in (mostlyclean): Add fixinc.sh.Geoffrey Keating2-2/+18
* Makefile.in (mostlyclean): Add fixinc.sh. (clean): Add mkheaders. (distclean): New. (dvi): New. (info): New. (installcheck): New. From-SVN: r90142
2004-11-05Makefile.def (host fixincludes): Specify missing targets.Paolo Bonzini2-2/+11
2004-11-05 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (host fixincludes): Specify missing targets. * Makefile.in: Regenerate. fixincludes/ChangeLog: 2004-11-05 Paolo Bonzini <bonzini@gnu.org> * Makefile.in (mostlyclean, distclean): New targets. From-SVN: r90127
2004-11-05Index: ChangeLogGeoffrey Keating8-32/+836
2004-11-04 Geoffrey Keating <geoffk@apple.com> * Makefile.def: Build fixincludes for the host, too. * Makefile.in: Regenerate. * configure.in (host_tools): Add fixincludes. * configure: Regenerate. Index: fixincludes/ChangeLog 2004-11-04 Geoffrey Keating <geoffk@apple.com> * configure.ac: Add code to determine noncanonical_target, local_prefix, gcc_version; process mkheaders.in to make mkheaders. * configure: Regenerate. * fixinc.in: Move here from gcc/; fix many cross-hosting bugs. * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in. * mkheaders.in: Move here from gcc/; remove some unnecessary macros; update for changes to fixinc.in. * Makefile.in: Add many new macros. (install): New target. (mkheaders): New target. (fixinc.sh): New target. (all): Add mkheaders and fixinc.sh. * README-fixinc: Move here from gcc/. Index: gcc/ChangeLog 2004-11-04 Geoffrey Keating <geoffk@apple.com> * Makefile.in (distclean): Don't delete nonexistent fixinc/ directory. (install-mkheaders): Install the version built for the host, not for the build machine. * configure.ac: Always run fixincludes. (all_outputs): Remove mkheaders. * configure: Regenerate. * fixinc.in: Move to fixincludes/. * mkfixinc.sh: Likewise. * mkheaders.in: Likewise. * README-fixinc: Likewise. From-SVN: r90117
2004-11-01inclhack.def (stdio_va_list): Break out clients from here...Mike Stump3-6/+111
* inclhack.def (stdio_va_list): Break out clients from here... (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is included or ifdef va_start. From-SVN: r89954
2004-10-29Back out controversial fix.Mike Stump3-17/+5
From-SVN: r89851
2004-10-29inclhack.def (stdio_va_list): Don't fix if stdarg.h is included or ifdef ↵Mike Stump3-15/+27
va_start. * inclhack.def (stdio_va_list): Don't fix if stdarg.h is included or ifdef va_start. From-SVN: r89803
2004-10-28inclhack.def: Avoid changing NULL on C++ friendly systems.Mike Stump3-4/+18
* inclhack.def: Avoid changing NULL on C++ friendly systems. * fixincl.x: Regenerate. From-SVN: r89786
2004-10-27Index: fixincludes/ChangeLogGeoffrey Keating3-5/+70
2004-10-27 Geoffrey Keating <geoffk@apple.com> * inclhack.def (darwin_gcc4_breakage): New. * fixincl.x: Regenerate. Index: gcc/ChangeLog 2004-10-27 Geoffrey Keating <geoffk@apple.com> * config/rs6000/rs6000.c (rs6000_attribute_table): Add SUBTARGET_ATTRIBUTE_TABLE. * config/darwin.h (ASM_WEAKEN_DECL): Handle weak_import. (SUBTARGET_ATTRIBUTE_TABLE): Define. * config/darwin.c (darwin_handle_weak_import_attribute): New. (HAVE_DEAD_STRIP): Delete. (no_dead_strip): Don't test HAVE_DEAD_STRIP. * config/darwin-protos.h (darwin_handle_weak_import_attribute): Prototype. Index: gcc/testsuite/ChangeLog 2004-10-27 Geoffrey Keating <geoffk@apple.com> * gcc.dg/darwin-weakimport-1.c: New. From-SVN: r89716