1. 11 Jul, 2000 18 commits
  2. 10 Jul, 2000 16 commits
    • Oops, fix date in ChangeLog entry · 6ed6bf32
      From-SVN: r34951
      Hans-Peter Nilsson committed
    • inclhack.def (libc1_ifdefd_memx): New fix. · 62a37b6f
      	* fixinc/inclhack.def (libc1_ifdefd_memx): New fix.
      	* fixinc/fixincl.x: Regenerate.
      	* fixinc/tests/base/testing.h: Add testcase.
      
      Co-Authored-By: Bruce Korb <bkorb@gnu.org>
      
      From-SVN: r34950
      Hans-Peter Nilsson committed
    • stl_function.h (bind1st, bind2nd): Rename __opr to __oper, as __opr is used internally by egcs. · ad66df7a
              * stl_function.h (bind1st, bind2nd): Rename __opr to __oper,
              as __opr is used internally by egcs.
              * stl_numeric.h (__power, power): Likewise.
      
              * stl_algo.h (transform): Rename __opr to __oper, as __opr is used
              internally by egcs.
              Reported by Harri Porten <porten@tu-harburg.de>
      
      From-SVN: r34949
      Jason Merrill committed
    • ia64.c (got_symbolic_operand): New. · ec039e3c
              * config/ia64/ia64.c (got_symbolic_operand): New.
              (symbolic_operand, move_operand): Revert 0701 change.
              * config/ia64/ia64.h (PREDICATE_CODES): Update.
              * config/ia64/ia64-protos.h (got_symbolic_operand): Declare.
              * config/ia64/ia64.md (movdi): Revert 0701 wrt symbolic_operand;
              split the offset into a 14-bit low part instead of a 13-bit low part.
              (load_fptr): Mark the mem as unchanging.
              (load_symptr): Use got_symbolic_operand.
      
      From-SVN: r34948
      Richard Henderson committed
    • Fix compile time warning message · 14e7eabd
      From-SVN: r34947
      Nick Clifton committed
    • flags.h: Add new variable flag_single_precision_constant. · 46d3a873
              * flags.h : Add new variable flag_single_precision_constant.
              * toplev.c (display_help) : Add -fsingle-precision-constant option.
              (flag_single_precision_constant): New.
              * c-lex.c (yylex): Convert floating point constant to single
              precision constant.
              * invoke.texi : Add documentation for this new option.
      
      From-SVN: r34946
      Chandrakala Chavva committed
    • diagnostic.c (output_octal): Second parameter is unsigned. · 92c26242
      2000-07-10  Gabriel Dos Reis  <gdr@codesourcery.com>
      
      	* diagnostic.c (output_octal): Second parameter is unsigned.
      	(output_long_octal): Likewise.
      	(output_hexadecimal): Likewise.
      	(output_long_hexadecimal): Likewise.
      	(output_format): Adjust arguments extraction. Tweak.
      	(output_verbatim, verbatim): End variable argument list.
      	(report_diagnostic): Improve documentation.
      
      From-SVN: r34945
      Gabriel Dos Reis committed
    • c-parse.y: Regenerate. · 5ecdf775
      2000-07-10  Benjamin Chelf  <chelf@codesourcery.com>
      
      	* c-parse.y: Regenerate.
      	* c-pasre.c: Likewise.
      
      From-SVN: r34944
      Ben Chelf committed
    • c-common.h (build_stmt): Declare. · 0dfdeca6
      2000-07-10  Benjamin Chelf  <chelf@codesourcery.com>
      
      	* c-common.h (build_stmt): Declare.
      	(build_continue_stmt): Likewise.
      	(build_break_stmt): Likewise.
      	(build_return_stmt): Likewise.
      
      	* c-decl.c (do_case): Rewrite to do what previously done in
      	c-parse.in.
      
      	* c-semantics.c (build_stmt): Define.
      	(build_return_stmt): Likewise.
      	(build_break_stmt): Likewise.
      	(build_continue_stmt): Likewise.
      	(build_case_label): Likewise.
      
      	* c-parse.in (BREAK): Change to build tree, then generate RTL.
      	(CONTINUE): Likewise.
      	(RETURN): Likewise.
      	(CASE): Likewise.
      	(DEFAULT): Likewise.
      
      	* c-parse.y: Regenerate.
      	* c-pasre.c: Likewise.
      
      	* cp/semantics.c (finish_for_stmt): Remove call to emit_line_note.
      	(finish_continue_stmt): Likewise.
      	(begin_for_stmt): Remove call to note_level_for_for.
      	(finish_goto_stmt): Change call from build_min_nt
      	to build_stmt.
      	(finish_expr_stmt): Likewise.
      	(begin_if_stmt): Likewise.
      	(begin_while_stmt): Likewise.
      	(finish_while_stmt): Likewise.
      	(finish_return_stmt): Likewise.
      	(begin_for_stmt): Likewise.
      	(finish_for_stmt): Likewise.
      	(finish_break_stmt): Likewise.
      	(begin_switch_stmt): Likewise.
      	(finish_case_label): Likewise.
      	(genrtl_try_block): Likewise.
      	(begin_try_block): Likewise.
      	(begin_handler): Likewise.
      	(begin_compound_stmt): Likewise.
      	(finish_asm_stmt): Likewise.
      	(finish_label_stmt): Likewise.
      	(add_decl_stmt): Likewise.
      	(finish_subobject): Likewise.
      	(finish_decl_cleanup): Likewise.
      	(finish_named_return_value): Likewise.
      	(setup_vtbl_ptr): Likewise.
      	(add_scope_stmt): Likewise.
      	* cp/decl.c (finish_constructor_body): Likewise.
      	(finish_destructor_body): Likewise.
      	* cp/optimize.c (copy_body_r): Likewise.
      	(initialize_inlined_parameters): Likewise.
      	(declare_return_variable): Likewise.
      	(expand_call_inline): Likewise.
      
      From-SVN: r34943
      Benjamin Chelf committed
    • semantics.c (expand_body): Sync interface information at the end of function body expansion. · f12eef58
      	* semantics.c (expand_body): Sync interface information
      	at the end of function body expansion.
      
      From-SVN: r34942
      Jakub Jelinek committed
    • Daily bump. · 3f2efc37
      From-SVN: r34941
      Jeff Law committed
    • tree.h (STRIP_NOPS): Check for error_mark_node. · 9a6bb3f7
              * tree.h (STRIP_NOPS): Check for error_mark_node.
              (STRIP_SIGN_NOPS, STRIP_TYPE_NOPS): Likewise.
              (dwarf2out_*): Remove duplicate declarations.
      
              * c-decl.c (duplicate_decls): Copy DECL_ABSTRACT_ORIGIN from
              DECL_ABSTRACT_ORIGIN, not DECL_ORIGIN.
      
      From-SVN: r34939
      Jason Merrill committed
    • init.c (build_new_1): Bail early if the call to new fails. · 2bb5d995
              * init.c (build_new_1): Bail early if the call to new fails.
      
              * decl.c (compute_array_index_type): Check specifically for
              an INTEGER_CST, not just TREE_CONSTANT.
      
              * decl.c (duplicate_decls): Don't call duplicate_decls on
              the DECL_TEMPLATE_RESULT.
              (decls_match): Return 0 if the DECL_TEMPLATE_RESULTs have different
              codes.
      
              * error.c (dump_template_bindings): Don't crash if we had an
              invalid argument list.
      
              * typeck.c (c_expand_start_case): Do narrowing here.
              * semantics.c (finish_switch_cond): Not here.
      
              * parse.y (asm_clobbers): Do string concatenation.
      
      From-SVN: r34938
      Jason Merrill committed
    • decl.c (pushtag): Don't put local classes in template functions on the local_classes list. · 089acd57
      	* decl.c (pushtag): Don't put local classes in template functions
      	on the local_classes list.
      
      	* decl2.c (get_guard): Add missing return for old ABI local
      	variable case.
      
      From-SVN: r34937
      Mark Mitchell committed
    • cp-tree.h (char_type_p): New function. · 7b019c19
      	* cp-tree.h (char_type_p): New function.
      	* decl.c (init_decl_processing): Don't initialize
      	signed_wchar_type_node or unsigned_wchar_type_node.
      	(complete_array_type): Handle brace-enclosed string-constants.
      	* rtti.c (emit_support_tinfos): Remove #if 0'd code.
      	* tree.c (char_type_p): New function.
      	* typeck2.c (digest_init): Use char_type_p.
      
      From-SVN: r34936
      Mark Mitchell committed
  3. 09 Jul, 2000 5 commits
    • diagnostic.c (wrap_text): New function. · 93d87cb1
      2000-07-10  Gabriel Dos Reis  <gdr@codesourcery.com>
      
      	* diagnostic.c (wrap_text): New function.
      	(maybe_wrap_text): Likewise.
      	(output_add_string): Use it.
      	(output_format): Likewise.
      	(count_error): Use verbatim instead of notice.
      	(report_error_function): Likewise. Don't use plain fprintf.
      	(finish_diagnostic): New function.
      	(output_do_verbatim): Tweak.  Commonalize functionalities in
      	output_verbatim and verbatim.
      	(output_verbatim): Adjust.
      	(verbatim): Likewise.
      	(report_diagnostic): Define.
      
      	* diagnostic.h (report_diagnostic): Prototype.
      
      From-SVN: r34935
      Gabriel Dos Reis committed
    • * cppexp.c (_cpp_parse_expr): Don't use unary plus. · 66267cdb
      From-SVN: r34934
      Zack Weinberg committed
    • cpphash.h: ISvspace, is_vspace, is_nvspace: New. · 91fcd158
      	* cpphash.h: ISvspace, is_vspace, is_nvspace: New.
      	IShspace, ISspace: Update.
      
      	* cppinit.c: ISTABLE: Update.
      	V: New.
      
      	* cpplex.c (IS_HSPACE, S_NEWLINE): Remove.
      	(IS_DIRECTIVE): Rename KNOWN_DIRECTIVE.
      	(skip_block_comment, skip_line_comment,	parse_string,
      	lex_line): Use is_vspace rather than IS_NEWLINE.
      	(skip_whitespace, lex_line): Clean up to use is_nvspace.
      	(lex_line): Use KNOWN_DIRECTIVE.  Any kind of directive
      	gets a BOL flag.
      	(lex_next): Unconditionally stop if within a directive.
      	Treat directives within macro invocations as directives
      	(after parse_args emits error), not as the argument.
      
      	* testsuite/gcc.dg/cpp/directiv.c: New tests.
      	* testsuite/gcc.dg/cpp/undef1.c: Update.
      
      From-SVN: r34933
      Neil Booth committed
    • diagnostic.c (diagnostic_args): New macro. · 8514e318
      2000-07-09  Gabriel Dos Reis  <gdr@codesourcery.com>
      
      	* diagnostic.c (diagnostic_args): New macro.
      	(diagnostic_msg): Likewise.
      	(output_formatted_integer): Likewise.
      	(output_state): New data type.
      	(digit_buffer): Make global.
      	(output_add_integer): Rename to output_decimal. Squeeze
      	digit_buffer.
      	(output_long_decimal, output_unsigned_decimal,
      	output_long_unsigned_decimal, output_octal, output_long_octal,
      	output_hexadecimal, output_long_hexadecimal): New functions.
      	(output_append_r): New function.
      	(output_append): Tweak.
      	(output_flush_on): Rename to output_to_stream.
      	(output_format): Change prototype.  Improve documentation. Handle
      	more format specifiers.
      	(build_location_prefix): Rename to context_as_prefix.
      	(output_notice): Rename to output_do_printf.
      	(output_printf): Tweak.
      	(line_wrapper_printf): Likewise.
      	(vline_wrapper_message_with_location): Adjust call to renamed
      	functions.
      	(v_message_with_decl): Likewise.
      	(default_print_error_function): Likewise.
      	(save_output_state): New function.
      	(restore_output_state): Likewise.
      	(output_do_verbatim): Likewise.
      	(output_verbatim): Define.
      	(verbatim): Likewise.
      
      	* diagnostic.h (printer_fn): Change return type from void to int.
      	Improve documentation.
      	(output_add_integer): Rename to output_decimal.
      	(output_flush_on, output_format): Don't export.
      	(output_verbatim, verbatim): Declare.
      
      From-SVN: r34932
      Gabriel Dos Reis committed
    • Daily bump. · 8da60313
      From-SVN: r34931
      Jeff Law committed
  4. 08 Jul, 2000 1 commit