summaryrefslogtreecommitdiff
path: root/gcc/fixinc
Commit message (Collapse)AuthorAgeFilesLines
* extra casting required by new pointer typekorbb2001-07-211-2/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44222 138bc75d-0d04-0410-961f-82ee72b054a4
* force unsigned char compareskorbb2001-07-211-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44219 138bc75d-0d04-0410-961f-82ee72b054a4
* incorporate patches from 3.0 branchkorbb2001-07-211-19/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44218 138bc75d-0d04-0410-961f-82ee72b054a4
* regeneratekorbb2001-07-171-3/+85
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44061 138bc75d-0d04-0410-961f-82ee72b054a4
* update the sample outputkorbb2001-07-175-5/+36
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44060 138bc75d-0d04-0410-961f-82ee72b054a4
* HPUX-es vsnprintf and Ultrix-es atexit declarationkorbb2001-07-171-0/+33
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44058 138bc75d-0d04-0410-961f-82ee72b054a4
* inline pow fix/PTHREAD_*_INITIALIZER for Solaris/UW7 Byteorder.h search problemkorbb2001-06-282-36/+105
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43623 138bc75d-0d04-0410-961f-82ee72b054a4
* no preprocessing inside string literalkorbb2001-06-271-4/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43604 138bc75d-0d04-0410-961f-82ee72b054a4
* Blow away a duplicate definition of "pow()" for C++korbb2001-06-142-3/+84
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43358 138bc75d-0d04-0410-961f-82ee72b054a4
* reorganize inclhacks and apply fix to fixtests.ckorbb2001-05-277-820/+843
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42663 138bc75d-0d04-0410-961f-82ee72b054a4
* regeneratekorbb2001-05-261-11/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42643 138bc75d-0d04-0410-961f-82ee72b054a4
* * fixinc/fixtests.c(stdc_0_in_system_headers_test): Must return "FIX"korbb2001-05-261-21/+17
| | | | | | | | | | | | | | | | | | | when fixincl is operating in test mode * fixinc/inclhack.def(AAB_dgux_int_varargs) : aesthetics (AAB_ultrix_limits): remove redundant text (AAB_ultrix_memory): ditto (AAB_ultrix_string): ditto (djgpp_wchar_h): fix the test text (irix_stdio_va_list): add test text (irix_limits_const): add a testing output file (limits.h is overwritten) (strict_ansi_not_ctd): put limits.h second in list for same reason (solaris27_mutex_init): test text needed selection text, too * fixinc/fixtests.c(stdc_0_in_system_headers_test): in testing mode, always apply the fix git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42642 138bc75d-0d04-0410-961f-82ee72b054a4
* test result moved to "testing.h" filekorbb2001-05-261-14/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42641 138bc75d-0d04-0410-961f-82ee72b054a4
* add fix test results for freebsd_gcc3_breakagekorbb2001-05-261-0/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42640 138bc75d-0d04-0410-961f-82ee72b054a4
* add fix test results for irix_limits_const hackkorbb2001-05-261-0/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42639 138bc75d-0d04-0410-961f-82ee72b054a4
* Add fix test result for strict_ansi_not_ctdkorbb2001-05-261-0/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42638 138bc75d-0d04-0410-961f-82ee72b054a4
* Add another caveatkorbb2001-05-261-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42637 138bc75d-0d04-0410-961f-82ee72b054a4
* Add fix check test for alpha___assertkorbb2001-05-261-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42636 138bc75d-0d04-0410-961f-82ee72b054a4
* We must apply the fix in test modekorbb2001-05-261-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42634 138bc75d-0d04-0410-961f-82ee72b054a4
* Upgrade to current collection of testskorbb2001-05-261-5/+41
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42633 138bc75d-0d04-0410-961f-82ee72b054a4
* This check template is now upgraded for AutoGen5korbb2001-05-261-37/+35
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42632 138bc75d-0d04-0410-961f-82ee72b054a4
* wchar_t typedefs are now wrapped in "ifndef __cplusplus"korbb2001-05-261-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42631 138bc75d-0d04-0410-961f-82ee72b054a4
* wchar_t now gets wrapped inside "ifndef __cplusplus",korbb2001-05-261-1/+3
| | | | | | | so we have to adjust the gnu_types fix test for that. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42630 138bc75d-0d04-0410-961f-82ee72b054a4
* Add fix test from solaris27_mutex_initkorbb2001-05-261-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42629 138bc75d-0d04-0410-961f-82ee72b054a4
* Add fix test from irix_stdio_dummy_va_listkorbb2001-05-261-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42628 138bc75d-0d04-0410-961f-82ee72b054a4
* Correct test results for avoid-bool-define fixkorbb2001-05-261-2/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42627 138bc75d-0d04-0410-961f-82ee72b054a4
* Standardize header guards.rth2001-05-262-6/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42615 138bc75d-0d04-0410-961f-82ee72b054a4
* * fixinc/inclhack.def (strict_ansi_not, strict_ansi_not_ctd,rth2001-05-254-4/+37
| | | | | | | | | | | strict_ansi_only): Don't run if stdc_0_in_system_headers. * fixinc/fixincl.x: Regenerate. * fixinc/fixtests.c (stdc_0_in_system_headers_test): New function. (FIX_TEST_TABLE): Declare it. * fixinc/fixlib.h: Include config.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42593 138bc75d-0d04-0410-961f-82ee72b054a4
* * fixinc/inclhack.def (alpha___assert): Change char * args torth2001-05-252-120/+174
| | | | | | | | | const char * on Tru64 UNIX to avoid excessive warnings from assert.h. * fixinc/fixincl.x: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42589 138bc75d-0d04-0410-961f-82ee72b054a4
* This is still broken. Do not use it yetkorbb2001-05-241-33/+34
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42518 138bc75d-0d04-0410-961f-82ee72b054a4
* open stdin for those building with a closed one.korbb2001-05-191-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42326 138bc75d-0d04-0410-961f-82ee72b054a4
* Do not use two warnings when one will dokorbb2001-05-191-13/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42323 138bc75d-0d04-0410-961f-82ee72b054a4
* regeneration based on new enginekorbb2001-05-181-127/+64
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42236 138bc75d-0d04-0410-961f-82ee72b054a4
* Upgrade to AutoGen 5 Templatekorbb2001-05-182-120/+126
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42235 138bc75d-0d04-0410-961f-82ee72b054a4
* accept local directory for fixincl in fixincl.sh scriptkorbb2001-05-181-0/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42234 138bc75d-0d04-0410-961f-82ee72b054a4
* fix broken mutex initializerkorbb2001-05-172-46/+106
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42185 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (STAMP): New macro.mmitchel2001-05-131-3/+8
| | | | | | | | | | | | | Replace all uses of `touch' with $(STAMP). * fixinc/Makefile.in: Likewise. * Make-lang.in: Replace all uses of `touch' with $(STAMP). * Makefile.in.in (STAMP): New macro. Replace all uses of `touch' with $(STAMP). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42041 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Exterminate all references to assert.h.zack2001-05-117-56/+0
| | | | | | | | | | | | | | | | | | | | | | | * cross-make: Likewise. * assert.h: Delete. * configure.in: Correct commentary. * configure: Regenerate. * po/POTFILES.in: Remove assert.h. * libgcc-std.ver, libgcc2.c, libgcc2.h, sys-protos.h: Remove __eprintf. * config/t-freebsd, config/t-linux, config/t-linux-aout, config/t-netbsd, config/t-rtems, config/x-linux, config/i386/t-beos, config/mcore/t-mcore, config/mcore/t-mcore-pe: No need to override INSTALL_ASSERT_H. * fixinc/fixinc.dgux, fixinc/fixinc.interix, fixinc/fixinc.ptx, fixinc/fixinc.svr4, fixinc/fixinc.winnt, fixinc/fixinc.wrap, fixinc/fixincl.sh: Don't install assert.h into objdir/include. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41972 138bc75d-0d04-0410-961f-82ee72b054a4
* include:zack2001-04-043-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | * ansidecl.h: All logic from gcc/gansidecl.h moved here. gcc: * gansidecl.h: Delete file. * configure.in: Change all refs to gansidecl.h to use ansidecl.h. Adjust *_file_list so they know where ansidecl.h lives. * configure: Regenerate. * Makefile.in (intl.o): Don't depend on gansidecl.h. * defaults.h: s/gansidecl.h/ansidecl.h/ in comment. * ggc.h, config/fr30/fr30.h, config/mcore/mcore.c: Don't include gansidecl.h. * intl.c, main.c, version.c, fixinc/fixlib.h, fixinc/procopen.c, fixinc/server.c: Include ansidecl.h not gansidecl.h. gcc/java: * Make-lang.in (buffer.o, check-init.o, class.o): Don't depend on gansidecl.h. * buffer.c, jvgenmain.c: Don't include gansidecl.h. libiberty: * make-temp-file.c (try): Inline. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41069 138bc75d-0d04-0410-961f-82ee72b054a4
* * fixinc/Makefile.in: Set SHELL.lauras2001-03-162-2/+4
| | | | | | | | | | | * fixinc/fixincl.c (fix_with_system): Quote file names before passing them to shell. * Makefile.in: Use fix-header$(build_exeext) instead of fix-header. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40561 138bc75d-0d04-0410-961f-82ee72b054a4
* * fixinc/inclhack.def (irix_stdio_va_list): New.aoliva2001-03-162-82/+137
| | | | | | | * fixinc/fixincl.x: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40527 138bc75d-0d04-0410-961f-82ee72b054a4
* more rigorous SIGCHLD guardingkorbb2001-03-161-0/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40522 138bc75d-0d04-0410-961f-82ee72b054a4
* * fixinc/server.c (load_data, run_shell): Use xmalloc, xrealloc &ghazi2001-03-101-26/+6
| | | | | | | | | | | | | | | | | | | | | | | | xcalloc in lieu of malloc, realloc & calloc. * gencheck.c (xmalloc): Use really_call_malloc, not malloc. * gengenrtl.c (xmalloc): Likewise. * gensupport.c (xcalloc, xrealloc, xmalloc): Use the really_call_* memory allocation routines. * stmt.c (check_for_full_enumeration_handling): Use really_call_calloc, not calloc. * system.h (really_call_malloc, really_call_calloc, really_call_realloc): Define. (malloc, realloc, calloc, strdup, bzero, bcmp, rindex): Poison. f: * fini.c (main): Use really_call_malloc, not malloc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40360 138bc75d-0d04-0410-961f-82ee72b054a4
* HTML typos and avoid standards.h breakagekorbb2001-03-082-137/+188
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40327 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Remove RANLIB definition. Use RANLIBlauras2001-03-072-98/+161
| | | | | | | | | | | | | | in RANLIB_FOR_TARGET, EXTRA_HOST_FLAGS, EXTRA_TARGET_FLAGS, EXTRA_GCC_FLAGS, $(DO_X) targets only when the RANLIB is set. * Makefile.in: Set RANLIB to @RANLIB@. Remove RANLIB_TEST. * fixinc/inclhack.def (djgpp_wchar_h): New test. * fixinc/fixincl.x: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40299 138bc75d-0d04-0410-961f-82ee72b054a4
* * fixinc/Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H.ghazi2001-03-072-5/+6
| | | | | | | | * fixinc/gnu-regex.c: Don't include auto-host.h since we get config.h now. Include libiberty.h to handle alloca. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40283 138bc75d-0d04-0410-961f-82ee72b054a4
* * fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef.danglin2001-03-032-4/+4
| | | | | | | | | * fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of t_bool in declaration because pcc can't combine volatile with typedef types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40217 138bc75d-0d04-0410-961f-82ee72b054a4
* * print-rtl.c (print_rtx): Cast enums to int for comparison.danglin2001-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-decl.c (grokdeclarator): Cast enums to int for comparison and shifts. * c-format.c (C_STD_VER): Cast to int for comparisons. (check_function_format): Cast various enums to int for &. (maybe_read_dollar_number): Likewise. (check_format_info): Likewise. (check_format_info_main): Likewise. * expr.c (emit_move_insn_1): Cast enums to unsigned int for comparison. (safe_from_p): Likewise. * varasm.c (const_hash): Cast enum to int for %. * emit-rtl.c (init_emit_once): Use int loop variable to work around pcc enum problems with < and ++ operators. * regclass.c (init_reg_sets_1): Cast enums for comparison. (choose_hard_reg_mode): Use unsigned int to iterate over CCmodes. (regclass_init): Change enum class to int to iterate over reg_classes. * genrecog.c (merge_trees): Cast enums for comparison. * rtl.h (GET_CODE): Cast to enum rtx_code. (PUT_CODE): Cast to ENUM_BITFIELD(rtx_code). (GET_MODE): Cast to enum machine_mode. (PUT_MODE): Cast to ENUM_BITFIELD(machine_mode). (GET_NOTE_INSN_NAME): Cast enum to int. * tree.h (TREE_CODE): Cast to enum tree_code. (TREE_SET_CODE): Cast VALUE to ENUM_BITFIELD(tree_code). * timevar.c (timevar_print): Change loop variable id from enum to unsigned int. * fixinc/fixincl.c (VLEVEL): Cast enums in comparison to unsigned int. * config/i386/i386.md: Use PUT_MODE for mode assignment. * toplev.c (compile_file): Cast enum DFI to int. (decode_d_option): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40193 138bc75d-0d04-0410-961f-82ee72b054a4
* fix freebsd version check of GCCkorbb2001-02-213-141/+139
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39961 138bc75d-0d04-0410-961f-82ee72b054a4
* Use C fixincludes for UnixWare 7.korbb2001-02-163-50/+249
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39771 138bc75d-0d04-0410-961f-82ee72b054a4