1. 09 Aug, 2002 13 commits
    • Makefile.in (c-opts.o): Update · 4b7091eb
      	* Makefile.in (c-opts.o): Update
      	* c-opts.c: Include intl.h.
      	(print_help): Move from cppinit.c.  Remove unused options.
      	(COMMAND_LINE_OPTIONS): Move more from cppinit.c.
      	(missing_arg): Complain for switches without an argument.
      	(c_common_decode_option): Reject missing joined arguments.
      	Handle new switches from cppinit.c.
      	* cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
      	(cpp_handle_option): Similarly.
      	(print_help): Moved to c-opts.c.
      	* cpplib.h (struct cpp_options): Remove help_only.
      	* gcc.c (cpp_unique_options): Remove -$.
      	* doc/cppopts.texi: Undocument -h.
      
      From-SVN: r56155
      Neil Booth committed
    • istream.tcc (basic_istream::ignore): Use sbumpc, not snextc. · f45f9aed
      
      2002-08-08  Danny Smith  <dannysmith@users.sourceforge.net>
                  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
      	not snextc.
      	* testsuite/27_io/narrow_stream_objects.cc (test10): Add.
      
      From-SVN: r56154
      Danny Smith committed
    • istream.tcc (basic_istream::ignore): Use sbumpc, not snextc. · a2554733
      
      2002-08-08  Danny Smith  <dannysmith@users.sourceforge.net>
                  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
      	not snextc.
      
      Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
      
      From-SVN: r56153
      Danny Smith committed
    • [multiple changes] · 55202bee
      2002-08-09  Mark Wielaard  <mark@klomp.org>
      
              * java/awt/image/MemoryImageSource.java: Change constructor to take
              int[] not byte[].
              * java/awt/Graphics2D.java: Uncomment methods that can now be
              compiled.
              * java/awt/GridBagLayout.java: New stub implementation.
              * javax/swing/text/html/HTML.java: Stub implementation.
              * javax/swing/text/html/parser/ParserDelegator.java: New stub
              implementation.
      
      2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
      
              * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
              methods in Graphics2D.
      
              * Makefile.am: Add new files.
              * Makefile.in: Rebuilt.
      
      From-SVN: r56152
      Bryce McKinlay committed
    • More AWT/Swing merge from GNU Classpath. · ef1c32c6
      From-SVN: r56151
      Bryce McKinlay committed
    • Correct ChangeLog for XToolkit changes. · df74f077
      From-SVN: r56150
      Bryce McKinlay committed
    • More AWT/Swing merge from GNU Classpath. · 084ef9cf
      From-SVN: r56149
      Bryce McKinlay committed
    • More AWT/Swing merge from GNU Classpath. · 8f5c92a0
      From-SVN: r56148
      Bryce McKinlay committed
    • AWT/Swing merge from GNU Classpath. · 7bde45b2
      From-SVN: r56147
      Bryce McKinlay committed
    • jcf-write.c (get_access_flags): Return correct access flags for private and… · 097684ce
      jcf-write.c (get_access_flags): Return correct access flags for private and protected inner classes.
      
      2002-08-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
      
             * jcf-write.c (get_access_flags): Return correct access flags for
             private and protected inner classes.
      
      From-SVN: r56146
      Bryce McKinlay committed
    • cleanup whitespacing a tad. · b6ce26ac
      From-SVN: r56145
      Mike Stump committed
    • call.c (add_builtin_candidate): legal -> valid, illegal -> invalid. · 0e339752
              * call.c (add_builtin_candidate): legal -> valid, illegal -> invalid.
              (type_decays_to): Likewise.
              * class.c (find_final_overrider): Likewise.
              (maybe_note_name_used_in_class): Likewise.
              * decl.c (current_tmpl_spec_kind): Likewise.
              (add_binding): Likewise.
              (push_class_binding): Likewise.
              (duplicate_decls): Likewise.
              (layout_var_decl): Likewise.
              (grokfndecl): Likewise.
              (grokdeclarator): Likewise.
              (check_default_argument): Likewise.
              * decl2.c (handle_class_head): Likewise.
              * error.c (dump_template_decl): Likewise.
              * init.c (build_offset_ref): Likewise.
              * pt.c (check_specialization_scope): Likewise.
              (determine_specialization): Likewise.
              (check_explicit_specialization): Likewise.
              (maybe_check_template_type): Likewise.
              (process_partial_specialization): Likewise.
              (check_default_tmpl_args): Likewise.
              (push_template_decl_real): Likewise.
              (convert_template_argument): Likewise.
              (try_class_unification): Likewise.
              (get_bindings_real): Likewise.
              (do_decl_instantiation): Likewise.
              * semantics.c (begin_function_definition): Likewise.
              (finish_member_declaration): Likewise.
              (check_multiple_declarators): Likewise.
              * typeck.c (comp_array_types): Likewise.
              (comptypes): Likewise.
              (expr_sizeof): Likewise.
              (build_binary_op): Likewise.
              (dubious_conversion_warnings): Likewise.
              (check_return_expr): Likewise.
      
      From-SVN: r56144
      Mike Stump committed
    • i386.c (legitimate_constant_p): UNSPEC_TP is not legitimate constant. · 9e20be0c
      	* config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not
      	legitimate constant.
      	(legitimate_pic_operand_p): Neither pic operand.
      	(legitimate_address_p): But legitimate address.
      	(get_thread_pointer): Generate MEM/u instead of CONST around
      	UNSPEC_TP.
      	(print_operand): Remove printing of UNSPEC_TP.
      	(print_operand_address): And print it here.
      
      	* gcc.dg/tls/opt-2.c: New test.
      
      From-SVN: r56143
      Jakub Jelinek committed
  2. 08 Aug, 2002 16 commits
    • objc-act.c (build_selector_translation_table): Issue warning... · 7b9be5c7
      
              * objc/objc-act.c (build_selector_translation_table): Issue
      	warning, when  -Wselector is used,if method for which selector
      	is being created does not exist.
      
      Testsuite:
      	*objc.dg/selector-1.m: New test
      
      From-SVN: r56142
      Devang Patel committed
    • bitfield4.c: New test. · 6fde9815
      	* g++.dg/abi/bitfield4.c: New test.
      	* gcc.dg/bitfld-4.c: New test.
      
      From-SVN: r56140
      Nathan Sidwell committed
    • sh.c (prepare_move_operands): Only call target_reg_operand if TARGET_SHMEDIA. · 5615d8fd
      2002-08-08  Stephen Clarke <stephen.clarke@superh.com>
      
      	* config/sh/sh.c (prepare_move_operands): Only call
      	target_reg_operand if TARGET_SHMEDIA.
      
      From-SVN: r56139
      Stephen Clarke committed
    • typeck.c (build_class_member_access_expr): Do not return error_mark_node when no… · a6f5b2d3
      typeck.c (build_class_member_access_expr): Do not return error_mark_node when no error has occurred.
      
      	* typeck.c (build_class_member_access_expr): Do not return
      	error_mark_node when no error has occurred.
      
      From-SVN: r56138
      Mark Mitchell committed
    • rs6000.h, [...]: Revert last two patches. · 3b85fe5f
      	* config/rs6000/rs6000.h, config/rs6000/aix.h,
      	config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
      	two patches.
      	* config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.
      
      From-SVN: r56135
      Jakub Jelinek committed
    • emit-rtl.c (gen_rtx_REG): After reload... · e10c79fe
              * emit-rtl.c (gen_rtx_REG): After reload, only return
              frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed.
      
      Co-Authored-By: Richard Henderson <rth@redhat.com>
      
      From-SVN: r56133
      Lars Brinkhoff committed
    • typeck.c (build_component_addr): Remove. · c93a26f5
      cp:
      	* typeck.c (build_component_addr): Remove.
      	(build_unary_op): Just check it's not a bitfield, and then build
      	an ADDR_EXPR.
      testsuite:
      	* g++.dg/other/packed1.C: New test.
      
      From-SVN: r56132
      Nathan Sidwell committed
    • rs6000-protos.h (rs6000_field_alignment): Remove. · aa2a83dc
      	* config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
      	* config/rs6000/rs6000.c (rs6000_field_alignment): Move...
      	* config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
      	macro.
      
      From-SVN: r56131
      Jakub Jelinek committed
    • oops - minor formatting tidy ups to previous delta · e26053d1
      From-SVN: r56129
      Nick Clifton committed
    • arm.c (thumb_unexpanded_epilogue): Stack the PIC register. · aeaf4d25
      * config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC register.
      (thumb_expand_prologue): Likewise.
      (thumb_output_function_prologue): Likewise.
      * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for the
      additional push of the PIC register.
      
      From-SVN: r56128
      Adam Nemet committed
    • class.c (convert_to_base): Correct check for error_mark_node. · 5bfc90de
      	* class.c (convert_to_base): Correct check for error_mark_node.
      	(create_vtable_ptr): Remove unused VFUNS_P parm
      
      From-SVN: r56127
      Nathan Sidwell committed
    • configure.in (enable_coverage): New enable switch. · 22aa533e
      	* configure.in (enable_coverage): New enable switch.
      	* configure: Rebuilt.
      	* Makefile.in (COVERAGE_FLAGS, coverageexts): New variables.
      	(INTERNAL_CFLAGS): Append COVERAGE_FLAGS.
      	(ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS.
      	(mostlyclean): Remove coverage files.
      	* doc/install.texi: Document enable_coverage.
      
      	* cp/Make-lang.in (c++.mostlyclean): Remove coverage files.
      	* ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
      	* f/Make-lang.in (f.mostlyclean): Remove coverage files.
      	* java/Make-lang.in (java.mostlyclean): Remove coverage files.
      	* objc/Make-lang.in (objc.mostlyclean): Remove coverage files.
      	* treelang/Make-lang.in (treelang.mostlyclean): Remove coverage
      	files.
      
      From-SVN: r56126
      Nathan Sidwell committed
    • Daily bump. · 90a589aa
      From-SVN: r56125
      GCC Administrator committed
    • c-opts.c (cpp_opts): New. · 18bdccaa
      	* c-opts.c (cpp_opts): New.
      	(COMMAND_LINE_OPTIONS): Add switches from cppinit.c.
      	(c_common_decode_options): Handle cpplib switches.
      	(c_common_init_options): Set cpp_opts.
      	* cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
      	(cpp_handle_option): Similarly.
      
      From-SVN: r56119
      Neil Booth committed
    • Rework build_component_ref. · 50ad9642
      	* call.c (build_vfield_ref): Do not go through build_component_ref.
      	(build_field_call): Use build_class_member_access_expr.
      	(build_user_type_conversion_1): Use BASELINK_FUNCTIONS.
      	(build_object_call): Likewise.
      	* class.c (convert_to_base): New function.
      	(type_requires_array_cookie): Use BASELINK_FUNCTIONS.
      	(instantiate_type): Handle BASELINKs.
      	* cp-tree.def (BASELINK): New tree code.
      	* cp-tree.h (BASELINK_P): Reimplement.
      	(SET_BASELINK_P): Remove.
      	(BASELINK_BINFO): Reimplement.
      	(BASELINK_FUNCTIONS): Likewise.
      	(BASELINK_ACCESS_BINFO): Likewise.
      	(BASELINK_OPTYPE): Likewise.
      	(convert_to_base): New function.
      	(name_p): Likewise.
      	(build_object_ref): Remove.
      	(build_component_ref_1): Likewise.
      	(build_component_ref): Likewise.
      	(build_x_component_ref): Likewise.
      	(build_class_member_access_expr): New function.
      	(finish_class_member_access_expr): Likewise.
      	(build_ptrmemfunc_access_expr): Likewise.
      	* decl.c (grokdeclarator): Handle BASELINKs.
      	* decl2. (build_expr_from_tree): Handle COMPONENT_REFs by using
      	finish_class_member_access_expr.
      	(arg_assoc): Handle BASELINKs.
      	(do_class_using_decl): Likewise.
      	* error.c (dump_decl): Likewise.
      	(dump_expr): Use build_ptrmemfunc_access_expr.
      	* except.c (dtor_nothrow): Use CLASSTYPE_DESTRUCTORS to find
      	destructors.
      	(build_throw): Use BASELINK_FUNCTIONS.
      	* init.c (perform_member_init): Use
      	build_class_member_access_expr.
      	(build_offset_ref): Handle BASELINKs.  Use
      	build_class_member_access_expr.
      	* method.c (hack_identifier): Likewise.
      	* parse.y (do_id): Use BASELINK, not TREE_LIST.
      	(primary): Remove uses of build_object_ref.
      	* pt.c (lookup_template_function): Handle BASELINKs.
      	(resolve_overloaded_unification): Likewise.
      	* search.c (build_baselink): Build a BASELINK, not a TREE_LIST.
      	(lookup_field): Use BASELINK, not TREE_LIST.
      	(lookup_fnfiels): Likewise.
      	(setup_class_bindings): Likewise.
      	* semantics.c (finish_object_call_expr): Do not use
      	build_method_call when we already know what function is being
      	called.
      	* spew.c (identifier_type): Use BASELINK, not TREE_LIST.
      	* tree.c (really_overloaded_fn): Use OVL_CHAIN for OVERLOADs, not
      	TREE_CHAIN.
      	(name_p): New function.
      	* typeck.c (build_object_ref): Remove.
      	(build_component_ref_1): Likewise.
      	(build_x_component_ref): Likewise.
      	(build_class_member_access_expr): New function.
      	(finish_class_member_access_expr): Likewise.
      	(build_ptrmemfunc_access_expr): Likewise.
      	(get_member_function_from_ptrfunc): Use
      	build_ptrmemfunc_access_expr.
      	(build_binary_op): Likewise.
      	(build_unary_op): Likewise.
      	(build_ptrmemfunc): Likewise.
      	(pfn_from_ptrmemfunc): Likewise.
      	* typeck2.c (build_m_component_ref): Adjust comment.
      
      	* g++.dg/abi/offsetof.C: Tweak error messages.
      	* g++.old-deja/g++.mike/p10769a.C: Likewise.
      
      From-SVN: r56117
      Mark Mitchell committed
    • aix.h (TARGET_ALTIVEC): Define to 0. · 774b5662
              * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0.
              (TARGET_ALTIVEC_ABI): Same.
              (TARGET_ALTIVEC_VRSAVE): Same.
      
              * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check
              icode not CODE_FOR_nothing.  Change switch to if.
      
      From-SVN: r56115
      David Edelsohn committed
  3. 07 Aug, 2002 11 commits