1. 04 Jan, 2013 1 commit
  2. 29 Oct, 2012 1 commit
  3. 09 Apr, 2009 1 commit
  4. 15 Aug, 2005 1 commit
  5. 31 Aug, 2004 1 commit
    • Made fixincludes a toplevel build module. · 71b5d516
      toplevel:
      2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
      
      	* Makefile.def (build_modules): Add fixincludes.
      	(dependencies): Make gcc depend on fixincludes.
      	* configure.in (build_tools): Add fixincludes.
      	(build_configdirs): Always include build_libs.
      	* Makefile.in: Regenerate.
      	* configure: Regenerate.
      
      contrib:
      2004-08-04  Paolo Bonzini  <bonzini@gnu.org>
      
      	* gcc_update: Add fixincludes.
      
      fixincludes:
      2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
      
      	* .cvsignore: New.
      	* Makefile.in: From gcc/fixinc/Makefile.in, making it fully
      	autoconfiscated.
      	* configure.ac: New.
      	* config.h.in: Generate.
      	* configure: Generate.
      	* aclocal.m4: New.
      	* fixlib.h: Remove inclusions of gcc files.
      	* system.h: New.
      
      	Other files copied from gcc/fixinc.
      
      gcc:
      2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
      
      	* Makefile.in (build_subdir): New substitution.
      	(fixinc.sh): Simplify heavily since fixincludes is already built.
      	(stmp-fixinc): Depend on specs.ready.
      	(install-mkheaders): Use new location of fixincludes.
      	(clean): Do not descend into fixinc.
      	(FORBUILD): Replace with ../$(build_subdir).
      	* configure.ac (build_subdir): Substitute.
      	(FORBUILD): Do not set.
      	(all_outputs): Remove fixinc/Makefile.
      	(default commands): Do not create links in fixinc.
      	* mkfixinc.sh: New, from fixinc/mkfixinc.sh without
      	the fixincludes configuration steps and substituting
      	@FIXINCL@ in fixinc.in.
      	* fixinc.in: New, from fixinc/fixincl.sh.
      
      	* fixinc/*: Removed.
      
      From-SVN: r86824
      Paolo Bonzini committed
  6. 30 Aug, 2004 1 commit
    • Makefile.in (machname.h): Remove. · 89b8abbf
      2004-08-30  Paolo Bonzini  <bonzini@gnu.org>
      
      	* fixinc/Makefile.in (machname.h): Remove.
      	(fixincl.x): Do not pass $@ to genfixes.
      	* fixinc/genfixes: Remove code to produce machname.h.
      	* fixinc/fixincl.sh: Move it here instead.
      	* fixinc/fixlib.c: Do not conditionalize on MN_NAME_PAT's presence,
      	instead check if pz_mn_name_pat is NULL.  Make mn_get_regexps
      	return a bool indicating whether pz_mn_name_pat is NULL.
      	* fixinc/fixlib.h: Do not conditionalize on MN_NAME_PAT's presence.
      	Declare extern C variables for the ENV_TABLE.
      	* fixinc/fixfixes.c: Do not conditionalize on MN_NAME_PAT's presence,
      	instead use the result of mn_get_regexps.
      	* fixinc/fixtests.c: Likewise.
      
      From-SVN: r86771
      Paolo Bonzini committed
  7. 01 Aug, 2003 1 commit
    • fixfixes.c, [...]: ANSIfy function prototypes and defintions. · f4dbf936
      	* fixinc/fixfixes.c, fixinc/fixlib.c, fixinc/fixlib.h,
      	fixinc/fixtests.c, fixinc/procopen.c, fixinc/server.c,
      	fixinc/server.h, fixinc/fixincl.c: ANSIfy function prototypes
      	and defintions.
      
      Add missed (?!) ChangeLog entry from previous commit earlier today:
      	* fixinc/inclhack.def (broken_cabs): Make matching more generous.
      	* fixinc/fixincl.x: Regenerate.
      	* fixinc/tests/base/math.h: Regenerate to match test_text change.
      
      From-SVN: r70078
      Nathanael Nerode committed
  8. 08 Jul, 2003 1 commit
    • Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies. · ab747408
      	* Makefile.in (fixinc.sh): Remove gnu-regex.[ch] from dependencies.
      	* fixinc/Makefile.in: Remove all references to gnu-regex.[och].
      	* fixinc/fixfixes.c, fixinc/fixincl.c, fixinc/fixlib.c
      	* fixinc/fixtests.c: Use xregexec not regexec, xregcomp not regcomp.
      	* fixinc/fixlib.h: Include xregex.h not gnu-regex.h.
      	* fixinc/inclhack.def (hpux10_cpp_pow_inline, hpux11_cpp_pow_inline):
      	Escape { and } characters which are not part of range expressions.
      	* fixinc/fixincl.x: Regenerate.
      
      From-SVN: r69099
      Zack Weinberg committed
  9. 23 May, 2003 1 commit
    • Makefile.in: Correct description. · 6e6a1681
      2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
      
      	* fixinc/Makefile.in: Correct description.
      	* fixinc/Makefile.in, fixinc/fixfixes.c, fixinc/fixincl.c,
      	fixinc/fixlib.c, fixinc/fixlib.h, fixinc/fixtests.c,
      	fixinc/genfixes: Replace "GNU CC" with "GCC".
      
      From-SVN: r67139
      Nathanael Nerode committed
  10. 22 Jan, 2003 1 commit
    • dwarf2out.c (lookup_filename): Fix printf format warning. · 1c99d804
              * dwarf2out.c (lookup_filename): Fix printf format warning.
              * system.h (fread_unlocked, fwrite_unlocked): Undef.
      
              * fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook.
              (fixincl.o-warn, gnu-regex.o-warn): New.
              * fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused.
              * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise.
              * fixinc/fixincl.c (process): Fix printf format warning.
      
      From-SVN: r61584
      Richard Henderson committed
  11. 27 May, 2001 1 commit
  12. 26 May, 2001 1 commit
  13. 25 May, 2001 1 commit
  14. 13 Dec, 2000 1 commit
  15. 02 Dec, 2000 1 commit
  16. 22 Nov, 2000 1 commit
  17. 12 Sep, 2000 1 commit
  18. 24 Aug, 2000 1 commit
    • optabs.c (init_optabs): Initialize fixtab... · b6a1cbae
      	* optabs.c (init_optabs): Initialize fixtab, fixtrunctab, floattab,
      	and extendtab within their proper array boundaries.
      	* emit-rtl.c (init_emit_once): Pass `const_tiny_rtx' with bounds
      	for the entire array.
      
      	* config/arm/arm.c (arm_override_options): Use ARRAY_SIZE.
      	* config/alpha/alpha.c (alpha_lookup_xfloating_lib_func): Likewise.
      	* config/avr/avr.c (order_regs_for_local_alloc): Likewise.
      	* config/fr30/fr30.c (fr30_print_operand): Likewise.
      	* config/i386/dgux.c (output_options): Likewise.
      	* config/i386/dgux.h (ASM_FILE_START): Likewise.
      	* config/m88k/m88k.c (output_options): Likewise.
      	* config/m88k/m88k.h (ASM_FILE_START): Likewise.
      	* config/mcore/mcore.c (mcore_output_inline_const_forced,
      	layout_mcore_frame, handle_structs_in_regs): Likewise.
      	* config/mips/mips.c (output_block_move): Likewise.
      	* config/rs6000/rs6000.c (rs6000_override_options,
      	rs6000_file_start): Likewise.
      	* config/sparc/sparc.c (sparc_add_gc_roots): Likewise.
      	* fixinc/fixfixes.c (FIX_TABLE_CT): Likewise.
      	* fixinc/fixtests.c (TEST_TABLE_CT): Likewise.
      	* builtins.c (expand_builtin_setjmp): Likewise.
      	* expr.c (safe_from_p): Likewise.
      	* flow.c (life_analysis): Likewise.
      	* fold-const.c (size_int_type_wide): Likewise.
      	* gcc.c (translate_options, init_spec, set_spec, main): Likewise.
      	* genattrtab.c (make_length_attrs): Likewise.
      	* genopinit.c (gen_insn): Likewise.
      	* genrecog.c (NUM_KNOWN_PREDS, NUM_SPECIAL_MODE_PREDS): Likewise.
      	* global.c (global_alloc): Likewise.
      	* local-alloc.c (find_free_reg): Likewise.
      	* mips-tdump.c (print_symbol): Likewise.
      	* mips-tfile.c (parse_def, parse_input): Likewise.
      	* reload1.c (NUM_ELIMINABLE_REGS): Likewise.
      	* stmt.c (expand_nl_goto_receiver): Likewise.
      	* stor-layout.c (set_sizetype): Likewise.
      	* varasm.c (decode_reg_name): Likewise.
      	* toplev.c (decode_f_option, decode_W_option,
      	set_target_switch, print_switch_values): Likewise.
      	(NUM_ELEM): Remove macro.
      	(display_help, main): s/NUM_ELEM/ARRAY_SIZE/
      
      From-SVN: r35949
      Greg McGary committed
  19. 12 Jul, 2000 1 commit
  20. 11 Jul, 2000 1 commit
  21. 12 May, 2000 1 commit
  22. 11 May, 2000 2 commits
  23. 26 Feb, 2000 1 commit
  24. 04 Feb, 2000 1 commit
    • genfixes (machname.h): Move the functionality from gen-machine.h into this file. · bff0dc38
      2000-02-04  Bruce Korb  <bkorb@gnu.org>
      
      	* fixinc/genfixes(machname.h):
      	Move the functionality from gen-machine.h into this file.
      	UNdef MN_NAME_PAT if there are no names to change.
      	Also, be a little kinder when AutoGen is not present.
      
      	* fixinc/Makefile.in(machname.h):
      	Change the generation rule to use genfixes.
      
      	* fixinc/fixfixes.c(machine_name):
      	machine_name_fix's functionality now dependent upon whether
      	MN_NAME_PAT is defined.
      
      	* fixinc/fixtests.c(machine_name):
      	ditto.
      
      	* fixinc/fixlib.c(mn_get_regexps): conditional on definition
      	of MN_NAME_PAT.
      
      	* fixinc/fixlib.h(mn_get_regexps):
      	ditto
      
      	* fixinc/gen-machine.h: DELETED
      
      From-SVN: r31793
      Bruce Korb committed
  25. 01 Feb, 2000 1 commit
    • frame.c (find_fde): Convert for loop to do-while so compiler sees it's always… · 78a0d70c
      frame.c (find_fde): Convert for loop to do-while so compiler sees it's always executed at least once.
      
      	* frame.c (find_fde): Convert for loop to do-while so compiler
      	sees it's always executed at least once.
      	* libgcc2.c (BBINBUFSIZE): Kill.
      	(__bb_init_prg): Use fgets.
      	(__bb_exit_trace_func): Don't paste strings.
      	* unroll.c (unroll_loop): Initialize unroll_type, not
      	unroll_number, and tweak logic to match.
      
      	* i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
      	all failure paths.
      	(ix86_flags_dependant): Likewise.  Disentangle control flow.
      	(ix86_sched_reorder): Break guts out to
      	ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
      	(ix86_sched_reorder_ppro): Initialize pair2 and insnp before
      	any possible use.
      
      	* i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
      	use string concatenation.  Don't save and restore esi.
      
      	* fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
      	(machname.h): Remove script to separate file.  Use two-step
      	sequence so target is not created if script fails.
      	* fixinc/gen-machname.h: New file.  Handle case where no non-reserved
      	identifiers are defined.
      	* fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
      	an empty string, machine_name doesn't need to do anything at
      	all.
      	(is_cxx_header): Add more cases to regexp.
      	* fixinc/fixlib.h: Update prototype.
      	* fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
      	mn_get_regexps.
      	* fixinc/fixincl.c: Define NO_BOGOSITY.
      
      	* fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
      	(hp_sysfile): Add missing comma.
      	(math_exception): Put the wrapper ifdefs at the beginning and
      	the end of the file.
      	* fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
      
      From-SVN: r31744
      Zack Weinberg committed
  26. 26 Jan, 2000 1 commit
  27. 20 Jan, 2000 1 commit
    • Makefile.in (fixinc.sh): Depend on specs. · 52c207e2
      	* Makefile.in (fixinc.sh): Depend on specs.
              * fixinc/Makefile.in: Add rule to create machname.h.
              (fixlib.o): Depend on machname.h.
              * fixinc/fixtests.c (machine_name): New test.
              * fixinc/fixfixes.c (machine_name): New fix.
              * fixinc/fixlib.c (mn_get_regexps): New helper function for
              the machine_name test and fix.
              * fixinc/fixlib.h: Prototype it.
              * fixinc/inclhack.def (machine_name): Use the C test and fix.
      	* fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
      
              * gcc.c (do_spec_1) [case P]: Take care not to create
              identifiers with three leading or trailing underscores.
      
      	* fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
      	(fixincl): Don't specify libraries twice on link line.
      	(gnu-regex.o): Remove special rule.
      	* fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
      	defined by config.h.  Do not define _REGEX_RE_COMP.
      	(regcomp): Allocate and initialize a fastmap.
      	* fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
      
      From-SVN: r31542
      Zack Weinberg committed
  28. 19 Jan, 2000 1 commit
    • Makefile.in: Correct dependencies of fixincl and fixincl.o. · 5c0d5b94
      	* fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
      	* fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
      	(fix_char_macro_defines, fix_char_macro_uses): New functions.
      
      	* fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
      	Recognize Emacs mode markers also.
      	* fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
      	C++ comments in C++ headers.  Call is_cxx_header only if
      	necessary.
      
      	* fixinc/inclhack.def (avoid_bool): Add select for the problem and
      	bypass for ncurses.
      	(bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
      	(io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
      	... these, which use the new C fixes.
      	(math_exception): Escape literal '+' in bypass expression.
      
      	* fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
      	Regenerate.
      
      From-SVN: r31512
      Zack Weinberg committed
  29. 17 Jan, 2000 1 commit
    • fixlib.c: Add copyright notice. · b51207a4
      	* fixinc/fixlib.c: Add copyright notice.
      	(compile_re): New function.
      	* fixinc/fixlib.h: Prototype compile_re.
      
      	* fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
      	Use compile_re to compile regular expressions.
      
      	* fixinc/fixincl.c (egrep_test): Don't bother asking regexec
      	where the pattern matched.
      
      	* fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
      	use 'replace'.
      	(ultrix_ansi_compat): Likewise.
      	(interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
      	add egrep test.
      	(interactv_add2, interactv_add3): Delete.
      	(x11_sprintf): Don't use filename glob.
      	* fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
      	Regenerate.
      
      From-SVN: r31474
      Zack Weinberg committed
  30. 29 Dec, 1999 1 commit
  31. 17 Dec, 1999 1 commit
    • fixtests.c (is_cxx_header): New fn, split out of double_slash_test. · d7eb5a45
      1999-12-17 13:21 -0800  Zack Weinberg  <zack@rabi.columbia.edu>
      
      	* fixtests.c (is_cxx_header): New fn, split out of
      	double_slash_test.
      	(else_endif_label): Allow "#endif // comment" in C++ headers,
      	as determined by is_cxx_header.
      	* fixfixes.c (else_endif_label_fix): Update comment.
      	* fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
      	a tty.
      	* genfixes: Correct double thinko in commandline parsing.
      	* hackshell.tpl: Generate correct sh syntax for bypass
      	entries.
      
      	* inclhack.def (all): Whenever an inserted preprocessor
      	conditional is split over multiple lines, use double
      	backslashes in this file so the fixed header will be readable.
      
      	(AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
      	and add bypass entry for correct version of this header.
      	(AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
      	(AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
      
      	(hpux8_bogus_inlines): New fix, split from...
      	(ultrix_atof_param) ... here.
      	(math_expression): Add bypass entry keyed to glibc comment
      	indicating the problem has been dealt with; disable
      	unnecessary sed operations; update commentary.
      	(math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
      	add select and bypass entries, simplify shell operation.
      	(math_huge_val_ifndef): Split from math_gcc_ifndefs.
      
      	(ip_missing_semi, rs6000_param, tinfo_cplusplus,
      	 ultrix_atof_param): Add select entry.
      	(stdio_va_list, sunos_mather_decl): Add bypass entry.
      	(systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
      	comments with the fixes they describe.
      
      	* fixincl.x, fixincl.sh, inclhack.sh: Regen.
      
      From-SVN: r30999
      Zack Weinberg committed
  32. 29 Nov, 1999 1 commit
  33. 01 Nov, 1999 1 commit
  34. 22 Oct, 1999 1 commit
  35. 12 Oct, 1999 1 commit