summaryrefslogtreecommitdiff
path: root/fixincludes
Commit message (Collapse)AuthorAgeFilesLines
* PR target/26189sje2006-02-183-5/+73
| | | | | | | | * inclhack.def (hpux_spu_info): New. * fixincl.x: Regenerate git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111237 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-31 Marcin Dalecki <martin@dalecki.de>dalecki2006-01-314-1/+229
| | | | | | | | | | * configure.ac: Check for asprintf, basename, vasprintf. * config.h.in: Regenerate. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110448 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>pinskia2006-01-193-11/+90
| | | | | | | | | | | | PR target/15642 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define __APPLE_CC_ as 1345. (broken_nan): New. * fixincl.x: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109973 138bc75d-0d04-0410-961f-82ee72b054a4
* Check the last byte for '\n'korbb2005-11-252-1/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107492 138bc75d-0d04-0410-961f-82ee72b054a4
* Regenerate fixincl.x from current templatekorbb2005-11-251-7/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107491 138bc75d-0d04-0410-961f-82ee72b054a4
* * check.tpl: Handle CVS additionally.aj2005-11-132-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106855 138bc75d-0d04-0410-961f-82ee72b054a4
* * check.tpl: Adopt for move to subversion.aj2005-11-052-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106527 138bc75d-0d04-0410-961f-82ee72b054a4
* .cvsignore are not needed for subversion, remove them.aj2005-10-311-1/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106279 138bc75d-0d04-0410-961f-82ee72b054a4
* fixincludes:jsm282005-09-154-7/+234
| | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104315 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>kcook2005-08-1517-31/+35
| | | | | | | * All files: Update with new FSF address. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103096 138bc75d-0d04-0410-961f-82ee72b054a4
* Finish checkin of date: 2005/06/14 23:59:47; author: ro;korbb2005-08-071-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102833 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (WARN_CFLAGS): New.ghazi2005-07-166-4/+189
| | | | | | | | | | | | | | (.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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102088 138bc75d-0d04-0410-961f-82ee72b054a4
* * inclhack.def (AAB_darwin7_9_long_double_funcs): New.geoffk2005-06-243-5/+278
| | | | | | | | (AAB_darwin7_9_long_double_funcs_2): New. * fixincl.x: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101305 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/15266ro2005-06-144-5/+18
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100960 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/21683gdr2005-05-222-0/+7
| | | | | | | * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100066 138bc75d-0d04-0410-961f-82ee72b054a4
* fixincludes/ebotcazou2005-05-194-5/+763
| | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99953 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>kcook2005-05-192-1/+4
| | | | | | | * aclocal.m4: Remove superfluous reference to accross.m4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99945 138bc75d-0d04-0410-961f-82ee72b054a4
* * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.gdr2005-05-155-14/+25
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99740 138bc75d-0d04-0410-961f-82ee72b054a4
* * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass onjsm282005-05-103-6/+12
| | | | | | | | *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9]. * fixincl.x: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99487 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix backslash expression in here stringkorbb2005-05-063-16/+22
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99322 138bc75d-0d04-0410-961f-82ee72b054a4
* fixincludes:ghazi2005-04-192-0/+10
| | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98407 138bc75d-0d04-0410-961f-82ee72b054a4
* fixincludes:ghazi2005-04-115-31/+971
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97986 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Set gcc_version directly, not via substitution.zack2005-03-215-33/+27
| | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96819 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>rguenth2005-03-214-5/+73
| | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96812 138bc75d-0d04-0410-961f-82ee72b054a4
* * inclhack.def (hpux_htonl): New fix.jsm282005-03-154-5/+109
| | | | | | | | * tests/base/netinet/in.h: New test. * fixincl.x: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96522 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix problem found by CFLAGS=-fmudflap build.wilson2005-02-232-3/+7
| | | | | | | * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95475 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>pinskia2004-12-132-2/+8
| | | | | | | | | PR 18458 * Makefile.in (install): Add @EXEEXT@ to the end of the program name, fixincl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92090 138bc75d-0d04-0410-961f-82ee72b054a4
* Introduce and use config/gcc-version.m4.rsandifo2004-12-024-8/+26
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91625 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-26 Mark Mitchell <mark@codesourcery.com>jsm282004-11-263-10/+50
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91351 138bc75d-0d04-0410-961f-82ee72b054a4
* * mkfixinc.sh: Check error code from 'cat'. Don't try runninggeoffk2004-11-233-5/+11
| | | | | | | | | built fixincl program. * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking up csh from user. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91109 138bc75d-0d04-0410-961f-82ee72b054a4
* * inclhack.def (alpha_pthread_init): Fix technical problems withsayle2004-11-214-10/+17
| | | | | | | | | the last check-in caused by CVS variable substitution. * fixincl.x: Likewise. * tests/base/pthread.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90989 138bc75d-0d04-0410-961f-82ee72b054a4
* * inclhack.def (alpha_pthread_init): New fix.sayle2004-11-214-5/+124
| | | | | | | | * fixincl.x: Regenerate. * tests/base/pthread.h: Update for new test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90981 138bc75d-0d04-0410-961f-82ee72b054a4
* remove confusing and unnecessary backslasheskorbb2004-11-171-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90790 138bc75d-0d04-0410-961f-82ee72b054a4
* correct misuse of variableskorbb2004-11-172-33/+40
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90789 138bc75d-0d04-0410-961f-82ee72b054a4
* * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,jsm282004-11-139-394/+34
| | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90594 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (html): Add html generation support.mrs2004-11-132-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90576 138bc75d-0d04-0410-961f-82ee72b054a4
* * inclhack.def (sco_math): Bypass on __GNUG__.jsm282004-11-123-5/+27
| | | | | | | | (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES. * fixincl.x: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90550 138bc75d-0d04-0410-961f-82ee72b054a4
* * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.jsm282004-11-093-10/+60
| | | | | | | | | | (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on _CLASSIC_ANSI_TYPES. (sun_auth_proto): Bypass on __cplusplus. * fixincl.x: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90371 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (mostlyclean): Add fixinc.sh.geoffk2004-11-052-2/+18
| | | | | | | | | | | (clean): Add mkheaders. (distclean): New. (dvi): New. (info): New. (installcheck): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90142 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-05 Paolo Bonzini <bonzini@gnu.org>bonzini2004-11-052-2/+11
| | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90127 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: ChangeLoggeoffk2004-11-058-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90117 138bc75d-0d04-0410-961f-82ee72b054a4
* * inclhack.def (stdio_va_list): Break out clients from here...mrs2004-11-013-6/+111
| | | | | | | | (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is included or ifdef va_start. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89954 138bc75d-0d04-0410-961f-82ee72b054a4
* Back out controversial fix.mrs2004-10-293-17/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89851 138bc75d-0d04-0410-961f-82ee72b054a4
* * inclhack.def (stdio_va_list): Don't fix if stdarg.h ismrs2004-10-293-15/+27
| | | | | | | included or ifdef va_start. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89803 138bc75d-0d04-0410-961f-82ee72b054a4
* * inclhack.def: Avoid changing NULL on C++ friendly systems.mrs2004-10-283-4/+18
| | | | | | | * fixincl.x: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89786 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: fixincludes/ChangeLoggeoffk2004-10-273-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89716 138bc75d-0d04-0410-961f-82ee72b054a4
* PR bootstrap/17832aaronwl2004-10-272-0/+8
| | | | | | | | * fixfixes.c (main): Check for _PC_NAME_MAX. ---------------------------------------------------------------------- git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89706 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-10-27 Paolo Bonzini <bonzini@gnu.org>bonzini2004-10-274-3/+11
| | | | | | | | | | | PR other/17991 * configure.ac: Fix typo. * configure: Regenerate. * fixincl.c (fix_with_system): tSCC is not a pointer. Fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89680 138bc75d-0d04-0410-961f-82ee72b054a4
* PR bootstrap/17832aaronwl2004-10-204-13/+47
| | | | | | | | | | | | | | | | | | * fixincl.c (SIGCHLD): Remove definition. (initialize): Remove SIGIOT and SIGPIPE checks. (create_file): Fix mkdir() for Win32. (internal_fix): Use dup2() instead of fcntl(). * fixlib.h (SIGQUIT): Define if undefined. (SIGIOT): Same. (SIGPIPE): Same. (SIGALRM): Same. (SIGKILL): Same. * procopen.c (chain_open): Use dup2() instead of fcntl(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89326 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-08-14 Paolo Bonzini <bonzini@gnu.org>bonzini2004-10-1510-72/+172
| | | | | | | | | | | | | | | | | | | | PR other/17991 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o. Update copyright year. * fixfixes.c (main): Call initialize_opts from fixopts.c. * fixincl.c (initialize): Call initialize_opts from fixopts.c, do not include code for parsing options (environment vars). (fix_with_system): Use a search path for applyfix, so that you can run the test suite with two-process fixincludes. * fixopts.c: New file. * configure.ac: Add --enable-twoprocess. Export ac_exeext to config.h. Default to --enable-twoprocess for MinGW32. * config.h.in: Regenerate. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89087 138bc75d-0d04-0410-961f-82ee72b054a4