1. 11 May, 2000 2 commits
  2. 09 May, 2000 1 commit
  3. 04 May, 2000 1 commit
  4. 30 Apr, 2000 1 commit
  5. 02 Apr, 2000 1 commit
    • zack's avatar
      * cppinit.c (cpp_start_read): Turn off -Wtraditional if · b93c7be0
      zack authored
      	processing C++.
      	* cpplib.c (_cpp_handle_directive): Improve warnings for
      	traditional C and indented directives.
      
      	* enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
      	fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
      	fixinc/inclhack.def: Indent the # of #include_next one space.
      	* cp/rtti.c: Un-indent #if and #endif.
      
      	* cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
      	syntax error, but an error has already been printed.
      	* cpplex.c (_cpp_parse_assertion): Give a more specific error
      	message when called with nothing remaining on the line.
      	(_cpp_lex_token): If _cpp_parse_assertion fails, return an
      	OTHER token, not an ASSERTION.
      	* cpplib.c (do_assert): When we create a 'base' node, clear
      	its aschain pointer.
      
      	* gcc.c-torture/compile/981211-1.c: Move to...
      	* gcc.dg/cpp-as1.c: ...here.
      	* gcc.dg/cpp-as2.c: New file.
      
      	* gcc.dg/cpp-tradwarn1.c: Change warning regexps to match the
      	compiler.
      
      
      git-svn-id: svn+ssh://g...
      b93c7be0
  6. 26 Feb, 2000 1 commit
  7. 20 Feb, 2000 1 commit
  8. 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
  9. 25 Jan, 2000 1 commit
    • zack's avatar
      2000-01-25 Zack Weinberg <zack@wolery.cumb.org> · d4c4b01d
      zack authored
      	* inclhack.def: Fixes to play nicer with FreeBSD, and
      	corrections to comments.
      	(cxx_unready): Add select expression.
      	(irix_sockaddr): Add bypass expression.
      	(machine_ansi_h_va_list): New fix.
      	(stdio_va_list): No need to edit _BSD_VA_LIST_.
      	Split out addition of "#include <stdarg.h>" to...
      	(stdio_stdarg_h): ... here.
      	(systypes_for_aix): Rename to systypes_stdlib_size_t.  Apply
      	to stdlib.h also.  Do not munge _BSD_SIZE_T_.
      	(sysz_stdlib_for_sun): Delete duplicate fix for unprotected
      	size_t.
      	(ultrix_ifdef): Tighten up select expression.
      
      	* fixincl.tpl: Exorcise 'exesel'.  Rewrite calculations of
      	re_ct and max_mach to avoid use of shell.  Make printed names
      	match names in inclhack.def.  Use static copyright date.
      	Don't count c_test and test expressions as requiring regex_t
      	slots.  Add some commentary.
      	* inclhack.tpl: Do not include the 'This script contains N
      	fixup scripts' line if PROGRAM is defined.  Use static
      	copyright date.
      
      
      git-svn-i...
      d4c4b01d
  10. 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: ...
      17f8e521
  11. 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
  12. 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
  13. 29 Dec, 1999 1 commit
  14. 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
  15. 29 Nov, 1999 1 commit
  16. 22 Nov, 1999 1 commit
  17. 15 Nov, 1999 1 commit
  18. 22 Oct, 1999 1 commit
  19. 15 Oct, 1999 2 commits
  20. 12 Oct, 1999 1 commit
  21. 17 Aug, 1999 1 commit
  22. 07 Aug, 1999 1 commit
  23. 03 Aug, 1999 1 commit
  24. 06 Jul, 1999 1 commit
  25. 28 Jun, 1999 1 commit
  26. 23 Jun, 1999 1 commit
  27. 22 Jun, 1999 1 commit
  28. 18 Jun, 1999 1 commit
  29. 17 Jun, 1999 1 commit
  30. 11 Jun, 1999 1 commit
  31. 10 Jun, 1999 2 commits
  32. 09 Jun, 1999 3 commits
  33. 08 Jun, 1999 2 commits
  34. 07 Jun, 1999 1 commit