1. 01 Aug, 2004 4 commits
  2. 31 Jul, 2004 6 commits
  3. 30 Jul, 2004 12 commits
  4. 29 Jul, 2004 18 commits
    • * config/sh/lib1funcs.asm: Make aliases movstr* for movmem*. · aac864b0
      From-SVN: r85316
      Kaz Kojima committed
    • re PR libstdc++/14220 ([3.5] num_put::do_put() undesired float/double behavior) · 7c9b102e
      2004-07-29  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/14220
      	* include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
      	Don't clip the precision passed down to __convert_from_v:
      	22.2.2.2.2 nowhere says so.
      	* testsuite/22_locale/num_put/put/char/14220.cc: New.
      	* testsuite/22_locale/num_put/put/wchar_t/14220.c: Likewise.
      
      From-SVN: r85315
      Paolo Carlini committed
    • tree-ssa.c (verify_flow_sensitive_alias_info): When comparing points-to sets of… · 118a8d02
      tree-ssa.c (verify_flow_sensitive_alias_info): When comparing points-to sets of different pointers...
      
      
      	* tree-ssa.c (verify_flow_sensitive_alias_info): When
      	comparing points-to sets of different pointers, make sure the
      	second pointer is actually referenced in the code.
      
      From-SVN: r85314
      Diego Novillo committed
    • stmtexpr2.C (alt1): Rename from expected. · 4b9a3b37
              * g++.dg/ext/stmtexpr2.C (alt1): Rename from expected.
              (alt2, which): New.
              (Check): Accept either alternative.
      
      From-SVN: r85313
      Richard Henderson committed
    • ia64.c (setjmp_operand): Delete, unused. · 13b52b90
      	* config/ia64/ia64.c (setjmp_operand): Delete, unused.
      	(got_symbolic_operand): Remove unreachable code.
      	* config/ia64/ia64.h (PREDICATE_CODES): Remove entry for
      	setjmp_operand; add entry for tls_symbolic_operand.
      	* config/ia64/ia64-protos.h: Remove all prototypes of
      	predicate functions.
      
      From-SVN: r85311
      Zack Weinberg committed
    • lwg-active.html, [...]: Import Revision 31. · f70f3f7e
      2004-07-29  Paolo Carlini  <pcarlini@suse.de>
      
      	* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 31.
      
      From-SVN: r85310
      Paolo Carlini committed
    • c-common.h (lang_post_pch_load): New variable. · 4684cd27
      	* c-common.h (lang_post_pch_load): New variable.
      	* c-pch.c (lang_post_pch_load): Define it.
      	(c_common_read_pch): Use it.
      	* cgraphunit.c (record_call_1): Give the front end a chance to
      	record additional needed entities when a variable is marked as
      	needed.
      	* tlink.c (recompile_files): Robustify.
      	(scan_linker_output): If a symbol is assigned to a file,
      	but after recompilation is not present there, issue an error
      	message.
      
      	* cp-tree.h (IDENTIFIER_REPO_CHOSEN): Define.
      	(lang_decl_flags): Narrow the width of "languages".  Add
      	repo_available_p.
      	(DECL_NEEDED_P): Remove.
      	(FOR_EACH_CLONE): New macro.
      	(DECL_REPO_AVAILABLE_P): Likewise.
      	(DECL_TINFO_P): Likewise.
      	(set_linkage_according_to_type): Declare.
      	(import_export_vtable): Remove.
      	(import_export_tinfo): Likewise.
      	(mark_needed): New function.
      	(decl_needed_p): Likewise.
      	(note_vauge_linkage_fn): Likewise.
      	(init_repo): Change prototype.
      	(repo_template_used): Remove.
      	(repo_template_instantiated): Likewise.
      	(repo_emit_p): New function.
      	(repo_export_class_p): Likewise.
      	(no_linkage_check): Change prototype.
      	* class.c (set_linkage_according_to_type): New function.
      	(build_vtable): Use it.  Do not call import_export_vtable.  Set
      	DECL_IGNORED_P if appropriate.
      	* decl.c (duplicate_decls): Preserve DECL_REPO_AVAILABLE_P.
      	(make_rtL_for_nonlocal_decls): Check for template instantiations
      	explicitly.
      	(grokfndecl): Adjust call to no_linkage_check.
      	(set_linkage_for_static_data_member): New function.
      	(grokvardecl): Use it.  Adjust call to no_linkage_check.
      	(grokdeclarator): Use set_linkage_for_static_data_member.
      	* decl2.c (note_vague_linkage_fn): New function.
      	(note_vague_linkage_var): Likewise.
      	(finish_static_data_member_decl): Use it.
      	(import_export_vtable): Remove.
      	(import_export_class): Use repo_export_class_p.
      	(var_finalized_p): Simplify.
      	(maybe_emit_vtables): Simplify.
      	(mark_needed): New function.
      	(decl_needed_p): Likewise.
      	(import_export_decl): Add documentation and consistency checks.
      	Use repo_emit_p.  Handle virtual tables and RTTI information
      	here.
      	(import_export_tinfo): Remove.
      	(write_out_vars): Call import_export_decl.
      	(cxx_callgraph_analyze_expr): Ensure that all vtables are emitted
      	whenever one is.
      	(finish_file): Use decl_needed_p.  Do not call import_export_decl
      	for undefined static data members.  Do not warn about undefined
      	inlines when using a repository.
      	(mark_used): Use note_vague_linkage_fn.  Always defer template
      	instantiations.
      	* lex.c (cxx_init): Adjust call to init_repo.  Always set
      	flag_unit_at_a-time.
      	* method.c (synthesize_method): Remove unncessary
      	import_export_decl call.
      	(implicitly_declare_fn): Use set_linkage_according_to_type.
      	* optimize.c (maybe_clone_body): Use FOR_EACH_CLONE.
      	* pt.c (instantiate_class_template): Don't redundantly add classes
      	to keyed_classes.  Don't call repo_template_used.
      	(tsubst_decl): Set DECL_INTERFACE_KNOWN for instantiations of
      	templates with internal linkage.
      	(check_instantiated_args): Adjust call to no_linkage_check.
      	(instantiate_template): Use FOR_EACH_CLONE.
      	(mark_definable): New function.
      	(mark_decl_instantiated): Use it.
      	(do_decl_instantiation): Adjust tests for explicit instantiation
      	after "extern template".
      	(instantiate_class_member): Do not use repo_template_instantiated.
      	(do_type_instantiation): Simplify.
      	(instantiate_decl): Use mark_definable.  Check repo_emit_p.
      	Simplify.
      	* repo.c (repo_get_id): Remove.
      	(original_repo): Remove.
      	(IDENTIFIER_REPO_USED): Remove.
      	(IDENTIFIER_REPO_CHOSEN): Remove.
      	Remove all #if 0'd code.
      	(repo_template_used): Remove.
      	(repo_template_instantiated): Remove.
      	(temporary_obstack_initialized_p): New variable.
      	(init_repo): Register with lang_post_pch_load.  Avoid creating
      	identifiers unnecessarily.  Don't use original_repo.  Close the
      	file here.
      	(reopen_repo_file_for_write): Not here.
      	(finish_repo): Always write out a new repository file.
      	(repo_emit_p): New function.
      	(repo_export_class_p): Likewise.
      	* rtti.c (get_tinfo_decl): Use set_linkage_according_to_type.
      	(involves_incomplete_p): New function.
      	(tinfo_base_init): Use it.
      	(ptr_initializer): Remove non_public_ptr parameter.
      	(ptm_initializer): Likewise.
      	(get_pseudo_ti_init): Likewise.
      	(unemitted_tinfo_decl_p): Remove.
      	(emit_tinfo_decl): Use import_export_decl.
      	* semantics.c (expand_body): Move updates of static_ctors and
      	static_dtors to ...
      	(expand_or_defer_fn): ... here.
      	* tree.c (no_linkage_check): Add relaxed_p parameter.
      
      	* g++.dg/abi/inline1.C: New test.
      	* g++.dg/abi/local1-a.cc: Likewise.
      	* g++.dg/abi/local1.C: Likewise.
      	* g++.dg/abi/mangle11.C: Tweak location of warnings.
      	* g++.dg/abi/mangle12.C: Likewise.
      	* g++.dg/abi/mangle17.C: Likewise.
      	* g++.dg/abi/mangle20-2.C: Likewise.
      	* g++.dg/opt/interface1.C: Likewise.
      	* g++.dg/opt/interface1.h: Likewise.
      	* g++.dg/opt/interface1-a.cc: New test.
      	* g++.dg/parse/repo1.C: New test.
      	* g++.dg/template/repo1.C: Likewise.
      	* g++.dg/warn/Winline-1.C: Likewise.
      	* lib/gcc-dg.exp (gcc-dg-test-1): Fix -frepo handling.
      
      From-SVN: r85309
      Mark Mitchell committed
    • tree-ssa-loop-im.c (force_move_till_expr, [...]): Take orig_loop argument and pass it to set_level. · b4042a03
      	* tree-ssa-loop-im.c (force_move_till_expr, force_move_till):
      	Take orig_loop argument and pass it to set_level.
      	(schedule_sm): Pass the correct orig_loop to force_move_till.
      
      From-SVN: r85308
      Zdenek Dvorak committed
    • cfgloop.c (update_latch_info): Update dominator of the new block. · e7bd94cc
      	* cfgloop.c (update_latch_info): Update dominator of the new block.
      	(canonicalize_loop_headers, flow_loops_find): Do not free dominance
      	info.
      	* dominance.c (verify_dominators): Check that the dominance tree is
      	connected.
      	(recount_dominator): Ignore unreachable blocks.
      	(iterate_fix_dominators): Cleanup old dominance information before
      	recomputing it.
      
      From-SVN: r85307
      Zdenek Dvorak committed
    • tree-ssa-operands.c (get_expr_operands): Revert changes to ADDR_EXPR processing introduced by... · d397dbcd
      
      	* tree-ssa-operands.c (get_expr_operands): Revert changes
      	to ADDR_EXPR processing introduced by:
      	    2004-06-21  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
      	    * tree-ssa-operands.c (get_expr_operands): Minor rearrangements.
      
      testsuite/ChangeLog
      
      	* gcc.dg/tree-ssa/20040729-1.c: New test.
      
      From-SVN: r85306
      Diego Novillo committed
    • implement-c.texi: Add C90 subclause references. · 9d6e0be1
      	* doc/implement-c.texi: Add C90 subclause references.  Point to
      	preprocessor documentation instead of duplicating it.  Add points
      	only present in C90.  Fill in documentation for all points.
      
      From-SVN: r85305
      Joseph Myers committed
    • * pa.c (output_movb): Correct typo. · 715ab8c3
      From-SVN: r85302
      John David Anglin committed
    • PR libstdc++/12658 (continued) · c891b860
      2004-07-29  Paolo Carlini  <pcarlini@suse.de>
                  Petur Runolfsson  <peturr02@ru.is>
      
      	PR libstdc++/12658 (continued)
      	* src/locale_init.cc (locale::locale, locale::global): Use
      	a single locale_mutex instead of two separate mutexes.
      
      Co-Authored-By: Petur Runolfsson <peturr02@ru.is>
      
      From-SVN: r85301
      Paolo Carlini committed
    • ra.h (single_reg_in_regclass): Declare. · 727d709b
      2004-07-29  Pat Haugen  <pthaugen@us.ibm.com>
      
              * ra.h (single_reg_in_regclass): Declare.
              * ra.c (single_reg_in_regclass): Define.
              (first_hard_reg): New.
              (init_ra): Initialize single_reg_in_regclass.
              * ra-colorize.c (ok_class): New.
              (coalesce, aggressive_coalesce, extended_coalesce_2): Use it.
      
      From-SVN: r85300
      Pat Haugen committed
    • MainThread.java: Explicitely import used classes. · a639e504
      2004-07-29  Michael Koch  <konqueror@gmx.de>
      
      	* gnu/java/lang/MainThread.java:
      	Explicitely import used classes.
      	(args): Make it type String[].
      
      From-SVN: r85299
      Michael Koch committed
    • re PR libstdc++/16813 (compiler error in DEBUG version of range insertion std::map::insert) · 58753063
      2004-07-29  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/16813
      	* include/debug/map.h (insert(_InputIterator, _InputIterator)):
      	Fix typo.
      	* testsuite/23_containers/map/insert/16813.cc: New.
      
      From-SVN: r85295
      Paolo Carlini committed
    • ComponentDataBlitOp.java, [...]: Cleaned up imports. · 3de19191
      2004-07-29 Dalibor Topic <robilad@kaffe.org>
      
      	* gnu/java/awt/ComponentDataBlitOp.java,
      	gnu/java/beans/ExplicitBeanInfo.java,
      	gnu/java/beans/IntrospectionIncubator.java,
      	gnu/java/beans/editors/ColorEditor.java,
      	gnu/java/beans/editors/FontEditor.java,
      	gnu/java/beans/editors/NativeBooleanEditor.java,
      	gnu/java/beans/editors/NativeByteEditor.java,
      	gnu/java/beans/editors/NativeDoubleEditor.java,
      	gnu/java/beans/editors/NativeFloatEditor.java,
      	gnu/java/beans/editors/NativeIntEditor.java,
      	gnu/java/beans/editors/NativeLongEditor.java,
      	gnu/java/beans/editors/NativeShortEditor.java,
      	gnu/java/beans/editors/StringEditor.java,
      	gnu/java/io/ClassLoaderObjectInputStream.java,
      	gnu/java/io/decode/Decoder.java,
      	gnu/java/io/encode/Encoder.java,
      	gnu/java/lang/ClassHelper.java,
      	gnu/java/locale/Calendar.java,
      	gnu/java/locale/Calendar_de.java,
      	gnu/java/locale/Calendar_en.java,
      	gnu/java/locale/Calendar_nl.java,
      	gnu/java/locale/LocaleInformation_de.java,
      	gnu/java/locale/LocaleInformation_en.java,
      	gnu/java/locale/LocaleInformation_nl.java:
      	Cleaned up imports.
      
      From-SVN: r85293
      Dalibor Topic committed