1. 13 Jul, 2000 12 commits
    • Obsolete test result · c1ef5d29
      From-SVN: r35014
      Bruce Korb committed
    • fixinc test result changes · 8e9114bb
      From-SVN: r35013
      Bruce Korb committed
    • implement various pre-processor guards around standard types · 687262b1
      From-SVN: r35012
      Bruce Korb committed
    • diagnostic.c (vline_wrapper_message_with_location, [...]): Remove. · c91ad699
      2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
      
              * diagnostic.c (vline_wrapper_message_with_location,
              v_message_with_file_and_line, v_error_with_file_and_file,
              v_error_for_asm, v_warning_for_asm, vfatal,
              v_warning_with_file_and_line, v_pedwarn_with_file_and_line,
              vsorry, verror, vwarning, vpedwarn): Remove.
              (diagnostic_for_asm): New function.
              (pedwarn, error, warning, pedwarn_with_file_and_line,
              error_with_file_and_line, warning_with_file_and_line, sorry,
              error_for_asm, warning_for_asm, fatal): Reimplement.
              (finish_diagnostic): Clear diagnostic info as well.
      
      From-SVN: r35011
      Gabriel Dos Reis committed
    • c-common.h (flag_digraphs): New. · 530d0ba5
      	* c-common.h (flag_digraphs): New.
      	* c-decl.c (c_decode_option): Set flag_digraphs as appropriate.
      	* c-lex.c (yylex): Use flag_digraphs to decide whether to
      	honour digraphs.
      
      	* testsuite/gcc.dg/cpp/digraph1.c,
      	testsuite/gcc.dg/cpp/digraph2.c,
      	testsuite/gcc.dg/cpp/digraphs.c: New tests.
      
      From-SVN: r35010
      Neil Booth committed
    • Daily bump. · 1920d8c7
      From-SVN: r35009
      Jeff Law committed
    • gcc.c (do_spec_1): Add new %B operator. · ea414c97
      	* gcc.c (do_spec_1): Add new %B operator.
      	(set_input): Prepare for %B.
      
      	(link_command_spec): Move up with the other tm.h-
      	overrideable specs.  Factor out the portion conditional on
      	LINK_LIBGCC_SPECIAL into a new spec, %(link_libgcc).
      	(struct compiler): Just have a single spec string.  All users
      	updated.
      	(default_compilers): Remove unnecessary braces.
      	(static_specs): Update.
      
      	(trad_capable_cpp, cpp_options, cc1_options, asm_options): New
      	named specs.
      	(C and assembly specs): Use the new named specs, as appropriate.
      
      	* objc/lang-specs.h, ch/lang-specs.h, cp/lang-specs.h,
      	f/lang-specs.h, java/lang-specs.h: Use the new named specs.
      	Remove unnecessary braces.
      
      From-SVN: r35008
      Zack Weinberg committed
    • * tradcif.c: Remove. · 45062494
      From-SVN: r35007
      Zack Weinberg committed
    • gcc.c (execute): If a subprocess gets a fatal signal... · c334349b
      	* gcc.c (execute): If a subprocess gets a fatal signal, report
      	strsignal() of the signal number, and ask for a bug report.
      	Do not do this for SIGPIPE if there's already been an error.
      
      	* tradcpp.c: Don't include signal.h.  Don't catch SIGPIPE.
      	Delete pipe_closed.
      
      From-SVN: r35006
      Zack Weinberg committed
    • final.c (profile_function): Do not emit profile counters in the data section, if… · dcacfa04
      final.c (profile_function): Do not emit profile counters in the data section, if NO_PROFILE_COUNTERS is defined.
      
      	* final.c (profile_function): Do not emit profile counters in
      	the data section, if NO_PROFILE_COUNTERS is defined.
      	* tm.texi: Document NO_PROFILE_COUNTERS.  Update doc for
      	FUNCTION_PROFILER.
      
      	* config/i386/linux.h (NO_PROFILE_COUNTERS): Define.
      	(FUNCTION_PROFILER): Just emit a call to mcount.
      
      From-SVN: r35005
      Zack Weinberg committed
    • * tradcpp.c (main): Rename 'perror' label to 'sys_error'. · 6e993bdb
      From-SVN: r35004
      Zack Weinberg committed
    • cppexp.c, [...]: Eradicate all traces of code dependent on traditional,… · f9a0e96c
      cppexp.c, [...]: Eradicate all traces of code dependent on traditional, lang_chill, or lang_fortran.
      
      	* cppexp.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c,
      	cpplib.c, cpplib.h: Eradicate all traces of code dependent on
      	traditional, lang_chill, or lang_fortran.
      
      	* cppfiles.c: #undef strcmp to suppress warning about macros
      	used without arguments.
      	(_cpp_execute_include): Use f, not fname, in "No include path"
      	error.
      	(_cpp_pop_file_buffer): New function.
      	* cpplib.c: Don't include <sys/mman.h>.
      	(cpp_push_buffer): Set line_base and lineno in new buffer.
      	(cpp_pop_buffer): Use _cpp_pop_file_buffer.
      
      	* cpplex.c: Move all prototypes and structure declarations to the
      	top of the file.  Properly parenthesise some macro arguments.
      	(cpp_scan_line): New function.
      	(special_symbol [case T_INCLUDE_DEPTH]): Use pfile->include_depth,
      	don't need to walk up the stack counting.
      
      From-SVN: r35003
      Zack Weinberg committed
  2. 12 Jul, 2000 28 commits