1. 01 May, 2003 25 commits
    • re PR libgcj/10582 (array assignment fails in some situations) · 06b021af
      	PR libgcj/10582:
      	* verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
      	Removed.
      	(type::compatible): Use _Jv_IsAssignableFrom.
      	* java/lang/natClass.cc (iindex_mutex_initialized): Now static.
      	(_Jv_IsAssignableFrom): Work even when source or target class is
      	not prepared.
      
      From-SVN: r66348
      Tom Tromey committed
    • re PR libgcj/10582 (array assignment fails in some situations) · c93139b8
      	PR libgcj/10582:
      	* libjava.lang/assign.java: New file.
      	* libjava.lang/assign.out: New file.
      
      From-SVN: r66347
      Tom Tromey committed
    • acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline. · 947bd823
      
      2003-05-01  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
      	* aclocal.m4: Regenerated.
      	* configure: Regenerated.
      
      From-SVN: r66345
      Benjamin Kosnik committed
    • * scan.h (lineno): Revert the rename here. · 774cb6d1
      From-SVN: r66344
      Nathan Sidwell committed
    • trans.c (tree_transform, [...]): Rename lineno to input_line. · 561712fe
      	* trans.c (tree_transform, build_unit_elab,
      	set_lineno): Rename lineno to input_line.
      
      From-SVN: r66343
      Nathan Sidwell committed
    • darwin.c (darwin_encode_section_info): Call default_encode_section_info. · e1a4211d
              * config/darwin.c (darwin_encode_section_info): Call
              default_encode_section_info.
      
      From-SVN: r66339
      Stan Shebs committed
    • missed from my previous checkin · 3489e061
      From-SVN: r66337
      Nathan Sidwell committed
    • rs6000.md (define_attr "type"): Add mfjmpr. · 02ca7595
              * config/rs6000/rs6000.md (define_attr "type"): Add mfjmpr.
              (movsi_internal1): Use new mfjmpr attribute.
              (movhi_internal): Same.
              (movqi_internal): Same.
              (movcc_internal1): Same.
              (movdi_internal64): Same.
              * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
              power4.md,rios1.md,rios2.md,rs64.md}: Add mfjmpr.
              * config/rs6000/40x.md: Add fpu_405.
              * config/rs6000/power4.md: Merge power4lsu and power4disp automata
              into power4misc automata.  Remove extraneous parentheses.
              * config/rs6000/440.md: New file.
              * config/rs6000/rs6000.c (processor_target_table): Add 440,
              440fp.  Rename 405f to 405fp.
              (function_arg_padding): Correct formatting.
              (rs6000_rtx_costs): Add PROCESSOR_PPC440 cases.
      
      From-SVN: r66336
      David Edelsohn committed
    • streambuf.tcc (basic_streambuf::xsgetn): Const-ify some variables. · 397751ae
      2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/bits/streambuf.tcc (basic_streambuf::xsgetn):
      	Const-ify some variables.
      	(basic_streambuf::xsputn): Likewise; change the type of some
      	variables to size_t.
      	(__copy_streambufs): Change some variables to size_t.
      
      2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/std/std_sstream.h (str()): Avoid constructing
      	a basic_string temporary not only when it would turn out
      	to be zero-sized but also when identical to the current
      	_M_string buffer.
      
      From-SVN: r66334
      Paolo Carlini committed
    • input.h (lineno): Rename to ... · d479d37f
      	* input.h (lineno): Rename to ...
      	(input_line): ... here.
      	* tree.h (lineno): Rename to ...
      	(input_line): ... here.
      	* scan.h (lineno): Rename to ...
      	(input_line): ... here.
      	* toplev.c (lineno): Rename to ...
      	(input_line): ... here.
      	(push_srcloc, pop_srcloc):  Rename lineno to input_line.
      	* c-common.c (c_expand_start_cond, fname_decl): Likewise.
      	* c-decl.c (poplevel, pop_label_level, lookup_label, lookup_tag,
      	store_parm_decls, c_expand_body_1): Likewise.
      	* c-errors.c (pedwarn_c99): Likewise.
      	* c-format.c (status_warning): Likewise.
      	* c-lex.c (fe_file_change, cb_def_pragma, c_lex): Likewise.
      	* c-opts.c (c_common_post_options, c_common_parse_file): Likewise.
      	* c-parse.in (save_filename, maybe_type_qual, ifc): Likwise.
      	* c-semantics.c (finish_stmt_tree, build_stmt, emit_local_var,
      	gentrtl_goto_stmt, genrtl_expr_stmt_value, genrtl_decl_stmt,
      	genrtl_if_stmt, genrtl_while_stmt, genrtl_do_stmt,
      	genrtl_return_stmt, genrtl_for_stmt, build_break_stmt,
      	build_continue_stmt, genrtl_switch_stmt, genrtl_asm_stmt,
      	prep_stmt, find_reachable_label, expand_unreachable_stmt): Likewise.
      	* coverage.c (create_coverage): Likewise.
      	* diagnostic.c (pedwarn, sorry, error, fatal_error,
      	internal_error, warning, diagnostic_report_current_module,
      	inform): Likewise.
      	* expr.c (expand_expr): Likewise.
      	* integrate.c (expand_inline_function,
      	output_inline_function): Likewise.
      	* rtl-error.c (file_and_line_for_asm): Likewise.
      	* tree-inline.c (find_alloca_call, find_builtin_longjmp_call,
      	walk_tree): Likewise.
      	* tree.c (make_node): Likewise.
      	* ada, cp, f, java, objc, treelang: Likewise.
      
      	ada
      	* trans.c (build_unit_elab, set_lineno): Rename lineno to
      	input_line.
      	* utils.c (pushdecl, create_label_decl, begin_subprog_body,
      	end_subprog_body): Likewise.
      	* utils2.c (build_call_raise): Likewise.
      
      	cp
      	* class.c (finish_struct): Rename lineno to input_line.
      	* decl.c (push_binding_level, pop_binding_level,
      	suspend_binding_level, resume_binding_level, make_label_decl,
      	use_label, start_function): Likewise.
      	* decl2.c (warn_if_unknown_interface,
      	start_static_initialization_or_destruction,
      	generate_ctor_or_dtor_function, finish_file): Likewise.
      	* error.c (cp_line_of, print_instantiation_full_context,
      	print_instantiation_context): Likewise.
      	* except.c (check_handlers_1, check_handlers): Likewise.
      	* init.c (create_temporary_var): Likewise.
      	* method.c (use_thunk, synthesize_method): Likewise.
      	* parser.c (cp_lexer_set_source_position_from_token,
      	cp_lexer_get_preprocessor_token): Likewise.
      	* pt.c (push_tinst_level, pop_tinst_level,
      	tsubst_friend_function, instantiate_class_template, tsubst_decl,
      	tsubst, tsubst_expr, instantiate_decl): Likewise.
      	* semantics.c (genrtl_try_block, finish_label_stmt,
      	begin_class_definition, expand_body,
      	genrtl_finish_function): Likewise.
      	* tree.c (build_min_nt, build_min): Likewise.
      
      	f
      	* ansify.c (die_unless): Rename lineno to input_line.
      	* com.c (ffecom_subscript_check_, ffecom_do_entry_,
      	ffecom_gen_sfuncdef_, ffecom_start_progunit_,
      	ffecom_sym_transform_, ffecom_sym_transform_assign_,
      	bison_rule_pushlevel_, bison_rule_compstmt_, finish_function,
      	store_parm_decls): Likewise.
      	* intrin.c (ffeintrin_fulfill_generic): Likewise.
      	* lex.c (ffelex_hash_, ffelex_include_, ffelex_next_line_,
      	ffelex_file_fixed, ffelex_file_free): Likewise.
      	* std.c (ffestd_exec_end): Likewise.
      	* ste.c (ffeste_emit_line_note_, ffeste_start_block_,
      	ffeste_start_stmt_): Likewise.
      	* ste.h (ffeste_filelinenum, ffeste_set_line): Likewise.
      
      	java
      	* lex.h (lineno): Rename to ...
      	(input_line): ... here
      	* parse-scan.y (lineno): Rename to ...
      	(input_line): ... here.
      	(reset_report): Rename lineno to input_line.
      	* check-init.c (check_init): Likewise.
      	* class.c (push_class): Likewise.
      	* decl.c (complete_start_java_method, end_java_method): Likewise.
      	* expr.c (expand_byte_code): Likewise.
      	* jcf-parse.c (give_name_to_class, parse_class_file): Likewise.
      	* jcf-write.c (generate_bytecode_insns): Likewise.
      	* lex.c (java_init_lex, java_allocate_new_line,
      	do_java_lex): Likewise.
      	* parse.h (YYNOT_TWICE): Likewise.
      	* parse.y (empty_statement, expression_statement,
      	java_pop_parser_context, java_parser_context_save_global,
      	yyerror, register_fields, method_header, safe_layout_class,
      	find_in_imports_on_demand, create_artificial_method,
      	source_end_java_method, start_complete_expand_method,
      	build_thisn_assign, java_complete_lhs,
      	maybe_absorb_scoping_block): Likewise.
      
      	objc
      	* objc-act.c (objc_init): Rename lineno to input_line.
      	(build_module_descriptor, build_selector_translation_table,
      	build_protocol_template, build_method_prototype_list_template,
      	build_category_template, build_selector_table,
      	build_class_template, build_super_template, build_ivar_template,
      	build_ivar_list_template, build_method_list_template,
      	build_method_template, add_instance_variable): Likewise.
      
      	treelang
      	* tree1.c (treelang_init): Rename lineno to input_line.
      
      From-SVN: r66333
      Nathan Sidwell committed
    • decl2.c (comdat_linkage): Don't externalize explicit instantiations. · 49bf4577
      	* decl2.c (comdat_linkage): Don't externalize explicit
      	instantiations.
      
      From-SVN: r66331
      Mark Mitchell committed
    • lex.c (ffelex_file_pop_): Rename parameter from input_filename. · 1b293905
      	* lex.c (ffelex_file_pop_): Rename parameter from input_filename.
      	(ffelex_file_push_): Likewise.
      
      From-SVN: r66330
      Nathan Sidwell committed
    • re PR c++/10554 (ICE with illegal using declaration) · d0af00af
      	PR c++/10554
      	* decl2.c (do_class_using_decl): Check if operand 0 of SCOPE_REF
      	is not NULL.
      
      	* g++.dg/lookup/using5.C: New test.
      
      From-SVN: r66329
      Kriang Lerdsuwanakij committed
    • cp-tree.h (struct lang_id2): Remove. · 85209a3c
      	* cp-tree.h (struct lang_id2): Remove.  Move fields from here...
      	(struct lang_identifier): ... to here.
      	(LANG_ID_FIELD): Remove.
      	(SET_LANG_ID): Remove.
      	(IDENTIFIER_LABEL_VALUE): Adjust for new lang_identifier.
      	(SET_IDENTIFIER_LABEL_VALUE): Likewise.
      	(IDENTIFIER_IMPLICIT_DECL): Likewise.
      	(SET_IDENTIFIERL_IMPLICIT_DECL): Likewise.
      	(IDENTIFIER_ERROR_LOCUS): Likewise.
      	(SET_IDENTIFIER_ERROR_LOCUS): Likewise.
      
      From-SVN: r66328
      Steven Bosscher committed
    • re PR ada/10546 (GCC 3.3, Ada tasking not working on Red Hat Linux 9) · 4f9335cd
      2003-05-01  Laurent Guerby <guerby@acm.org>
      
              PR ada/10546
              * 5iosinte.ads: Increase pthread_cond_t size to match recent
              LinuxThread and NPTL version, merge from ACT.
      
      From-SVN: r66327
      Laurent Guerby committed
    • dwarf2out.c (dwarf2out_init, [...]): Change parameter name from input_filename. · 3b895f8e
      	* dwarf2out.c (dwarf2out_init, dwarf2out_finish): Change parameter
      	name from input_filename.
      f:
      	* ste.c (struct gbe_block): Rename field from input_filename.
      	(ffeste_start_block_, ffeste_start_stmt_): Likewise.
      
      From-SVN: r66326
      Nathan Sidwell committed
    • re PR c++/8772 (misleading diagnostic for template template parameter) · d12a7283
      	PR c++/8772
      	* pt.c (convert_template_argument): Correct diagnostic.
      
      	* g++.dg/template/ttp5.C: New test.
      
      From-SVN: r66324
      Kriang Lerdsuwanakij committed
    • Regenerated with autoconf 2.13. · 093e61a6
      From-SVN: r66323
      Richard Sandiford committed
    • stdio_filebuf.h (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),… · 8544261c
      stdio_filebuf.h (stdio_filebuf(int, std::ios_base::openmode, bool, size_t), [...]): Shorten a bit (-10 lines) by factoring out some code.
      
      2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/ext/stdio_filebuf.h
      	(stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
      	stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
      	Shorten a bit (-10 lines) by factoring out some code.
      
      From-SVN: r66320
      Paolo Carlini committed
    • Missed commit file. · d1c4bfe8
      From-SVN: r66319
      Eric Christopher committed
    • Merge from rewrite branch. · cafe096b
      From-SVN: r66318
      Eric Christopher committed
    • g++-dg.exp (g++-dg-test): Add "repo" option. · 6481daa9
      	* lib/g++-dg.exp (g++-dg-test): Add "repo" option.
      	(dg-gpp-additional-sources): New function.
      	(dg-gpp-additional-files): Likewise.
      	* lib/g++.exp (additional_sources): New variable.
      	(additional_files): Likewise.
      	(g++_target_compile): Deal with them.
      	* lib/old-dejagnu.exp: Remove.
      	* g++.old-deja/old-deja.exp: Use dg.exp, not old-dejagnu.exp.
      	* g++.old-deja: Revise all tests to use dg commands.
      
      From-SVN: r66317
      Mark Mitchell committed
    • * builtins.def (BUILTIN_CONSTANT_P): Mark as constant. · 44c8a5f8
      From-SVN: r66316
      Diego Novillo committed
    • tree-inline.c (inlinable_function_p): Back out last change, it's unnecessary. · 5d638f70
      	* tree-inline.c (inlinable_function_p): Back out last change, it's
      	unnecessary.
      
      From-SVN: r66315
      Geoffrey Keating committed
    • Daily bump. · ee704412
      From-SVN: r66314
      GCC Administrator committed
  2. 30 Apr, 2003 15 commits