1. 12 Jul, 2000 1 commit
  2. 11 Jul, 2000 1 commit
  3. 12 May, 2000 1 commit
  4. 11 May, 2000 2 commits
  5. 26 Feb, 2000 1 commit
  6. 04 Feb, 2000 1 commit
    • korbb's avatar
      2000-02-04 Bruce Korb <bkorb@gnu.org> · cde396ad
      korbb authored
      	* 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
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31793 138bc75d-0d04-0410-961f-82ee72b054a4
      cde396ad
  7. 01 Feb, 2000 1 commit
    • zack's avatar
      * frame.c (find_fde): Convert for loop to do-while so compiler · 641b112b
      zack authored
      	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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31744 138bc75d-0d04-0410-961f-82ee72b054a4
      641b112b
  8. 26 Jan, 2000 1 commit
  9. 20 Jan, 2000 1 commit
    • zack's avatar
      * Makefile.in (fixinc.sh): Depend on specs. · 17f8e521
      zack authored
              * 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31542 138bc75d-0d04-0410-961f-82ee72b054a4
      17f8e521
  10. 19 Jan, 2000 1 commit
    • zack's avatar
      * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o. · ada96dc2
      zack authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31512 138bc75d-0d04-0410-961f-82ee72b054a4
      ada96dc2
  11. 17 Jan, 2000 1 commit
    • zack's avatar
      * fixinc/fixlib.c: Add copyright notice. · d6d7d999
      zack authored
      	(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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31474 138bc75d-0d04-0410-961f-82ee72b054a4
      d6d7d999
  12. 29 Dec, 1999 1 commit
  13. 17 Dec, 1999 1 commit
    • zack's avatar
      1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu> · bb304030
      zack authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30999 138bc75d-0d04-0410-961f-82ee72b054a4
      bb304030
  14. 29 Nov, 1999 1 commit
  15. 01 Nov, 1999 1 commit
  16. 22 Oct, 1999 1 commit
  17. 12 Oct, 1999 1 commit