1. 16 Aug, 2003 4 commits
    • Remove 3.4 change list, point to gcc-3.4/changes.html · bfeec33d
      From-SVN: r70506
      Nathan Sidwell committed
    • re PR c++/11512 (Spurious warning for comma-operator in templates) · e895113a
      	PR c++/11512
      	* stmt.c (expand_expr_stmt_value): Don't warn about any void
      	typed expression.
      cp:
      	PR c++/11512
      	* cvt.c (convert_to_void): Indicate which side of conditional has
      	no effects, and rhs of comma operator. Test for no sideeffect
      	expressions here and always build a convert expr.
      	* init.c (expand_default_init): Convert the init to void.
      	* typeck.c (build_x_compound_expr): Do not check for side effects
      	here.
      	(build_compound_expr): Do not convert lhs when building a
      	template.
      testsuite:
      	PR C++/11512
      	* g++.dg/template/warn1.C: New.
      
      From-SVN: r70505
      Nathan Sidwell committed
    • i386.c (ix86_fntype_regparm): Rename from ... · e767b5be
      	* i386.c (ix86_fntype_regparm): Rename from ...
      	(ix86_function_regparm): ... this one; add fastcall and local
      	functions.
      	(ix86_function_ok_for_sibcall): Update.
      	(ix86_return_pops_args): Likewise.
      	(init_cumulative_args): Likewise.
      	(x86_can_output_mi_thunk): Likewise.
      	(function_arg): Fix formating.
      	(x86_this_parameter): Fix fastcall.
      	(x86_output_mi_thunk): Likewise.
      
      	* cgraph.c (cgraph_mark_needed_node): Do not mark functions without
      	body as reachable; mark nested functions as needed too.
      	(dump_cgraph): Do not output global.calls.
      	* cgraph.h (cgraph_global_info): Kill.
      	* cgraphunit.c (cgraph_finalize_function): Enqueue needed functions.
      	(record_call_1): Speedup.
      	(cgraph_analyze_function): Break out from ...; compute inlining
      	parameters.
      	(cgraph_finalize_compilation_unit): ... here.
      	(cgraph_mark_inline): Kill computation of calls.
      	(cgraph_decide_inlining): Do not compute most of initial values.
      
      From-SVN: r70504
      Jan Hubicka committed
    • Daily bump. · 5ab7486e
      From-SVN: r70498
      GCC Administrator committed
  2. 15 Aug, 2003 6 commits
  3. 14 Aug, 2003 13 commits
  4. 13 Aug, 2003 11 commits
  5. 12 Aug, 2003 6 commits
    • configure.in (make_compare_target): Move test to ... · 3a000df0
      2003-08-08  Kelley Cook  <kelleycook@wideopenwest.com>
      
      	* configure.in (make_compare_target): Move test to ...
      	* aclocal.m4 (gcc_AC_PROG_CMP_IGNORE_INITIAL): here.
      	* configure: Regenerate.
      
      From-SVN: r70392
      Kelley Cook committed
    • re PR c++/11703 (Problem with using enum in placement delete) · 560ad596
      	PR c++/11703
      	* call.c (type_passed_as): Use TYPE_SIZE, not TYPE_PRECISION to
      	determine whether or not to promote types.
      	(convert_for_arg_passing): Likewise.
      	* decl2.c (cp_build_parm_decl): Do not set DECL_ARG_TYPE in
      	templates.
      	* pt.c (tsubst_decl): Do not expect it to be set.
      
      	PR c++/9512
      	PR c++/10923
      	* cp-tree.h (check_elaborated_type_specifier): Declare.
      	(handle_class_head): Remove.
      	(note_got_semicolon): Likewise.
      	(note_list_got_semicolon): Likewise.
      	(finish_class_definition): Likewise.
      	* decl.c (check_elaborated_type_specifier): Make it public.
      	Robustify.
      	(handle_class_head): Remove.
      	* parser.c (cp_parser_elaborated_type_specifier): Use
      	check_elaborated_type_specifier.
      	(cp_parser_class_specifier): Do not call finish_class_definition.
      	(cp_parser_class_head): Or handle_class_head.  Check for
      	over-qualified names.
      	* semantics.c (finish_class_definition): Remove.
      
      	* parser.c (cp_parser_check_for_definition_in_return_type): New
      	function.
      	(cp_parser_simple_declaration): Adjust call to
      	cp_parser_init_declarator.
      	(cp_parser_decl_specifier_seq): Change type of
      	declares_class_or_enum parameter.
      	(cp_parser_explicit_instantiation): Adjust accordingly.
      	(cp_parser_type_specifier): Change type of
      	declares_class_or_enum parameter.
      	(cp_parser_init_declarator): Add declares_class_or_enum
      	parameter.
      	(cp_parser_parameter_declaration): Adjust call to
      	cp_parser_decl_specifier_seq.
      	(cp_parser_function_definition): Likewise.
      	(cp_parser_member_declaration): Likewise.
      	(cp_parser_single_declaration): Likewise.
      
      	* cp-tree.h (lang_type_class): Remove has_call_overloaded,
      	has_array_ref_overloaded, has_arrow_overloaded, and got_semicolon.
      	(TYPE_OVERLOADS_CALL_EXPR): Remove.
      	(TYPE_OVERLOADS_ARRAY_REF): Likewise.
      	(TYPE_OVERLOADS_ARROW): Likewise.
      	(CLASSTYPE_GOT_SEMICOLON): Likewise.
      	* class.c (check_bases): Do not set them.
      	(finish_struct_1): Likewise.
      	* decl.c (cp_finish_decl): Do not set CLASSTYPE_GOT_SEMICOLON.
      	(build_ptrmemfunc_type): Likewise.
      	(grok_op_properties): Do not set TYPE_OVERLOADS_*.
      	(start_function): Do not check CLASSTYPE_GOT_SEMICOLON.
      	* decl2.c (grokfield): Do not set CLASSTYPE_GOT_SEMICOLON.
      	* lex.c (note_got_semicolon): Remove.
      	(note_list_got_semicolon): Likewise.
      	* parser.c (cp_parser_simple_declaration): Do not call
      	note_list_got_semicolon.
      	* pt.c (list_eq): Remove.
      	(lookup_template_class): Do not set CLASSTYPE_GOT_SEMICOLON.
      	(instantiate_class_template): Do not set TYPE_OVERLOADS*.
      	(instantiate_class_template): Do not set CLASSTYPE_GOT_SEMICOLON.
      	* ptree.c (cxx_print_type): Do not print them.
      	* semantics.c (finish_member_class_template): Do not call
      	note_list_got_semicolon.
      
      	* g++.dg/parse/ret-type2.C: New test.
      
      	PR c++/11703
      	* g++.dg/init/new8.C: New test.
      
      	PR c++/10923
      	* g++.dg/parse/typedef5.C: New test.
      
      	PR c++/9512
      	* g++.dg/parse/qualified2.C: New test.
      	* g++.old-deja/g++.other/decl5.C: Mark one more instance of
      	invalid code.
      
      From-SVN: r70391
      Mark Mitchell committed
    • * gij.cc (main): Handle -? and -X. · 35e6511a
      From-SVN: r70390
      Tom Tromey committed
    • iris6.h: Convert to C90 prototypes. · b4966b1b
      	* config/mips/iris6.h: Convert to C90 prototypes.
      	* config/mips/irix6-libc-compat.c: Likewise.
      	* config/mips/mips-protos.h: Likewise.
      	* config/mips/mips.c: Likewise.
      
      From-SVN: r70389
      Richard Sandiford committed
    • parse.y (java_check_regular_methods): Typo fixes. · aecf4109
      	* parse.y (java_check_regular_methods): Typo fixes.  Call
      	check_interface_throws_clauses.  Use
      	check_concrete_throws_clauses.
      	(check_interface_throws_clauses): New function.
      	(check_concrete_throws_clauses): New function.
      	(hack_is_accessible_p): New function.
      	(find_most_specific_methods_list): Added FIXME.
      	* typeck.c (lookup_do): Use `flags' argument to decide what to
      	do.  Reimplemented.
      	(lookup_argument_method_generic): New function.
      	(lookup_argument_method2): Removed.
      	* jcf.h (ACC_INVISIBLE): New define.
      	* jcf-write.c (generate_classfile): Skip invisible methods.
      	* class.c (add_miranda_methods): New function.
      	(layout_class_methods): Use it.
      	(get_access_flags_from_decl): Use ACC_INVISIBLE.
      	* java-tree.h (METHOD_INVISIBLE): New define.
      	(lang_decl_func) [invisible]: New field.
      	(lookup_argument_method_generic): Declare.
      	(SEARCH_INTERFACE): New define.
      	(SEARCH_SUPER): Likewise.
      	(SEARCH_ONLY_INTERFACE): Likewise.
      	(SEARCH_VISIBLE): Likewise.
      	(lookup_argument_method2): Removed declaration.
      
      From-SVN: r70388
      Tom Tromey committed
    • re PR java/5641 (Verifier ICE on reference to inherited method) · b9172475
      	* libjava.jacks/jacks.xfail: Updated to account for new passes.
      	* libjava.compile/abstr.xfail: Now can compile from bytecode.
      	* libjava.compile/PR5641.xfail: Now can compile from bytecode.
      
      From-SVN: r70387
      Tom Tromey committed