1. 08 Jul, 2003 9 commits
    • Forgotten commit · 979312a4
      From-SVN: r69069
      Neil Booth committed
    • Makefile.in: Update. · cf03fd63
      	* Makefile.in: Update.
      	* c-opts.c (c_common_handle_option): opt_text now contains the '-'.
      	* c.opt: Update documentation.
      	* common.opt: Add some help text.
      	* opts.c: Include intl.h.
      	(wrap_help, print_help): New.
      	(find_opt, handle_option, common_handle_option): opt_text now
      	contains the '-'.  Use print_help to output help.
      	* opts.h (struct cl_option): New member "help".
      	* opts.sh: Update to handle help text output and to prepend
      	options with '-'.
      	* toplev.c (display_help): Remove some help text.
      
      From-SVN: r69068
      Neil Booth committed
    • posix.cc: added #include<stdio.h> · 690e3ffd
      2003-07-07  Adam Megacz <adam@xwt.org>
      
              * posix.cc: added #include<stdio.h>
      
      From-SVN: r69066
      Adam Megacz committed
    • configure.in: Test for PowerPC mfcr field support in assembler. · 2c4a9cff
      2003-07-07  David Edelsohn  <edelsohn@gnu.org>
                  Fariborz Jahanian  <fjahanian@apple.com>
      
              * configure.in: Test for PowerPC mfcr field support in assembler.
              * config.in, configure: Regenderated.
      
              * config/rs6000/power4.md: Add mfcrf reservation.
              * config/rs6000/rs6000-protos.h (mfcr_operation): Declare.
              * config/rs6000/rs6000.c (mfcr_operation): Define.
              (print_operand): Add 'Q' case for mfcrf.
              * config/rs6000/rs6000.h (TARGET_MFCRF): New.
              * config/rs6000/rs6000.md (attribute "type"): Add mfcrf.
              (movcc_internal1): Emit optional field operand for mfcr and set
              "type" attribute appropriately.
              (mfcr SCC): Likewise.
              (movesi_from_cr_one): New.
      
      Co-Authored-By: Fariborz Jahanian <fjahanian@apple.com>
      
      From-SVN: r69064
      David Edelsohn committed
    • cp-tree.h (build_scoped_method_call): Remove. · ee76b931
      	* cp-tree.h (build_scoped_method_call): Remove.
      	(lookup_qualified_name): Remove parameter.
      	(tsubst_copy_and_build): Declare.
      	(finish_qualified_object_call_expr): Remove.
      	(check_accessibility_of_qualified_id): New function.
      	(finish_qualified_id_expr): Likewise.
      	(non_reference): Likewise.
      	(build_expr_from-tree): Remove.
      	* call.c (non_reference): Remove.
      	(build_scoped_method_call): Likewise.
      	(build_method_call): Use error_operand_p.  Assert that we are not
      	processing a template.
      	(standard_conversion): Use non_reference.
      	* class.c (build_vtbl_entry_ref): Likewise.
      	(build_vtbl_ref_1): Likewise.
      	* cvt.c (build_expr_type_conversion): Use non_reference.
      	* decl.c (lookup_qualified_name): Remove flags parameter.
      	(grok_op_properties): Use non_reference.
      	* decl2.c (grok_array_decl): Likewise.
      	(build_expr_from_tree): Remove.
      	(build_offset_ref_call_from_tree): Update comment.
      	* error.c (parm_to_string): Call reinit_global_formatting_buffer.
      	* except.c (prepare_eh_types): Use non_reference.
      	(can_convert_eh): Likewise.
      	* init.c (build_dtor_call): Avoid using build_method_call.
      	* mangle.c (write_template_param): Remove misleading comment.
      	* method.c (locate_copy): Use non_reference.
      	* parser.c (cp_parser_scope_through_which_access_occurs): Remove.
      	(cp_parser_primary_expression): Do not create SCOPE_REFs is
      	non-dependent contexts.
      	(cp_parser_postfix_expression): Use finish_qualified_id_expr.
      	(cp_parser_direct_declarator): Use tsubst_copy_and_build, not
      	build_expr_from_tree.
      	(cp_parser_lookup_name): Adjust call to lookup_qualified_name.
      	Use check_accessibility_of_qualified_id.
      	* pt.c (maybe_fold_nontype_arg): Use tsubst_copy_and_build, not
      	build_expr_from_tree.
      	(tsubst_baselink): New function.
      	(tsubst_qualified_id): Likewise.
      	(tsubst_copy): Use them.  Remove support for METHOD_CALL_EXPR.
      	(tsubst_expr): Adjust call to lookup_qualified_name.
      	(tsubst_copy_and_build): Handle SCOPE_REFs specially.  Adjust
      	handling of CALL_EXPRs.
      	(value_dependent_expression_p): Use INTEGRAL_OR_ENUMERATION_TYPE_P.
      	* rtti.c (get_tinfo_decl_dynamic): Use non_reference.
      	* search.c (check_final_overrider): Likewise.
      	* semantics.c (check_accessibility_of_qualified_id): New function.
      	(finish_qualified_object_call_expr): Remove.
      	* typeck.c (target_type): Use non_reference.
      	(cxx_sizeof_or_alignof_type): Likewise.
      	(dubious_conversion_warnings): Likewise.
      	(convert_for_initialization): Likewise.
      	(non_reference): New function.
      
      From-SVN: r69063
      Mark Mitchell committed
    • bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with adjacent stdio calls. · 75b6f3fd
      gcc:
      	* bitmap.c (debug_bitmap_file): Merge uses of HOST_PTR_PRINTF with
      	adjacent stdio calls.
      	* c-decl.c (c_print_identifier): Likewise.
      	* mips-tfile.c (write_varray, write_object, allocate_cluster): Likewise.
      	* print-rtl.c (print_rtx): Likewise.
      	* print-tree.c (print_node_brief, print_node): Likewise.
      	* system.h (HOST_PTR_PRINTF): Ensure we have a literal string.
      
      	* configure.in (AC_COMPILE_CHECK_SIZEOF): Check for `void *'.
      	* config.in, configure: Regenerated.
      
      cp:
      	* decl.c (print_binding_level, print_other_binding_stack,
      	print_binding_stack): Merge uses of HOST_PTR_PRINTF with adjacent
      	stdio calls.
      	* ptree.c (cxx_print_decl, cxx_print_binding): Likewise.
      
      From-SVN: r69061
      Kaveh R. Ghazi committed
    • re PR target/10979 (ICE in subst_stack_regs_pat with -O -ffast-math and atan2) · afeeac3f
      	PR target/10979
      	* config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
      	Changed to define_expand patterns that copy operand[1] to prevent
      	it from being clobbered before emitting an atan2?f3_1 insn.
      	(atan2df3_1, atan2sf3_1, atan2xf_1, atan2tf3_1): New define_insn
      	patterns that actually specify the behaviour of x87's FPATAN.
      
      	* gcc.dg/20030707-1.c: New testcase.
      
      From-SVN: r69060
      Roger Sayle committed
    • Daily bump. · 37bf2a13
      From-SVN: r69058
      GCC Administrator committed
  2. 07 Jul, 2003 27 commits
  3. 06 Jul, 2003 4 commits
    • call.c: Fix comment formatting. · 9bcb9aae
      	* call.c: Fix comment formatting.
      	* class.c: Likewise.
      	* cp-tree.h: Likewise.
      	* decl.c: Likewise.
      	* decl2.c: Likewise.
      	* error.c: Likewise.
      	* method.c: Likewise.
      	* name-lookup.c: Likewise.
      	* parser.c: Likewise.
      	* pt.c: Likewise.
      	* rtti.c: Likewise.
      	* search.c: Likewise.
      	* typeck.c: Likewise.
      
      From-SVN: r69022
      Kazu Hirata committed
    • h8300.c: Fix comment typos. · 2a43945f
      	* config/h8300/h8300.c: Fix comment typos.
      	* config/h8300/h8300.md: Likewise.
      	* config/i386/athlon.md: Likewise.
      	* config/i386/i386.c: Likewise.
      	* config/i386/pentium.md: Likewise.
      	* config/ia64/ia64.c: Likewise.
      	* config/ia64/itanium1.md: Likewise.
      	* config/ia64/itanium2.md: Likewise.
      	* config/m32r/m32r.md: Likewise.
      	* config/m68hc11/m68hc11.c: Likewise.
      	* config/mcore/mcore.c: Likewise.
      	* config/mips/sr71k.md: Likewise.
      	* config/mips/t-iris5-as: Likewise.
      	* config/mmix/mmix.h: Likewise.
      	* config/ns32k/ns32k.h: Likewise.
      	* config/ns32k/NOTES: Fix a typo.
      
      From-SVN: r69021
      Kazu Hirata committed
    • re PR c++/11345 (ICE in build_base_path) · 127b8136
      	PR c++/11345
      	* search.c (lookup_base_r): Remove is_non_public and
      	within_current_scope parameters.  Remove other dead code.
      	(lookup_base): Adjust call to lookup_base_r.
      	(adjust_result_of_qualified_name_lookup): Improve comment.
      	* semantics.c (finish_call_expr): Use maybe_dummy_object.
      
      From-SVN: r69020
      Mark Mitchell committed
    • demangle.h: Support C++. · 513dab32
      2003-07-06  H.J. Lu <hongjiu.lu@intel.com>
      
      	* demangle.h: Support C++.
      
      From-SVN: r69016
      H.J. Lu committed