1. 18 Feb, 2005 22 commits
  2. 17 Feb, 2005 18 commits
    • re PR c++/20023 (internal compiler error: Segmentation fault) · 0948e392
      	PR c++/20023
      	PR tree-optimization/20009
      	* convert.c (convert_to_integer): Revert 2005-02-16 change.
      
      	* gcc.c-torture/compile/20050217-1.c: New test.
      	* g++.dg/opt/switch3.C: New test.
      
      From-SVN: r95208
      Jakub Jelinek committed
    • re PR tree-optimization/18947 ([non-UAAT] external inline and normal function of the same name) · 58203599
      	PR tree-optimization/18947
      	* cgraphunit.c (cgraph_finalize_function): When redefining an extern
      	inline, remove all nodes that are inlined into the extern inline
      	being redefined.
      
      	* gcc.c-torture/compile/20050215-1.c: New test.
      	* gcc.c-torture/compile/20050215-2.c: New test.
      	* gcc.c-torture/compile/20050215-3.c: New test.
      
      From-SVN: r95207
      Jakub Jelinek committed
    • bt-load.c, [...]: Update copyright. · c8d3e15a
      	* bt-load.c, cfgloop.c, convert.c, dominance.c, global.c,
      	loop-invariant.c, stmt.c, tree-ssa-forwprop.c,
      	tree-ssa-live.c, tree-ssanames.c, tree-vn.c,
      	config/host-linux.c, config/arm/fpa.md, config/avr/avr.h:
      	Update copyright.
      
      From-SVN: r95202
      Kazu Hirata committed
    • re PR tree-optimization/19917 (Weak const function mishandled inside loop) · 9b396d7c
      
      	PR tree-optimization/19917
      	* tree-eh.c (tree_could_trap_p): Consider calls to weak functions
      	to be potentially trapping.
      
      From-SVN: r95200
      Roger Sayle committed
    • * libgcc2.c, tree-vect-analyze.c: Fix comment typos. · 2e681715
      From-SVN: r95196
      Kazu Hirata committed
    • builtins.c (expand_builtin_return_addr): Remove tem parameter. · c6d01079
      2005-02-17  Andreas Krebbel  <krebbel1@de.ibm.com>
      
      	* builtins.c (expand_builtin_return_addr): Remove tem parameter.
      	tem becomes a local variable which is set to the value of the
      	back end defined INITIAL_FRAME_ADDRESS macro.
      	(expand_builtin_frame_address): Omit the base parameter to
      	expand_builtin_return_addr.
      	(expand_builtin_profile_func): Likewise.
      	* config/s390/s390.h (INITIAL_FRAME_ADDRESS_RTX): Define new macro.
      	(DYNAMIC_CHAIN_ADDRESS): Remove the case for the initial frame.
      	* doc/tm.texi: Documentation for INITIAL_FRAME_ADDRESS_RTX added.
      
      From-SVN: r95194
      Andreas Krebbel committed
    • s390.c (s390_alloc_pool, [...]): Use BITMAP_ALLOC and BITMAP_FREE. · 7b210806
      	* config/s390/s390.c (s390_alloc_pool, s390_free_pool,
      	s390_chunkify_start): Use BITMAP_ALLOC and BITMAP_FREE.
      	* config/frv/frv.c (frv_function_epilogue): Likewise.
      
      From-SVN: r95190
      Jakub Jelinek committed
    • FileChannelImpl.java (write(ByteBuffer)): Move the position of the source buffer forward. · 7801fed4
      2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
      
      	* gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
      	Move the position of the source buffer forward.
      
      From-SVN: r95184
      Ito Kazumitsu committed
    • re PR c++/20028 (class and then template class gives an ICE) · ae54ec16
      gcc/cp/ChangeLog:
      PR c++/20028
      * class.c (finish_struct): Initialize TYPE_SIZE_UNIT of a
      template along with TYPE_SIZE.
      gcc/testsuite/ChangeLog:
      PR c++/20028
      * g++.dg/template/crash34.C: New.
      
      From-SVN: r95182
      Alexandre Oliva committed
    • Class.h (_Jv_GetMethodString): Updated declaration. · 2a2c6e55
      	* java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
      	* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
      	* java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
      	* link.cc (_Jv_GetMethodString): Added 'derived' argument.
      	Changed type of second argument.  Rewrote.
      	(make_vtable): Use it.
      	(append_partial_itable): Updated.
      	(layout_vtable_methods): Updated.
      
      From-SVN: r95181
      Tom Tromey committed
    • 2005-02-17 Michael Koch <konqueror@gmx.de> · 51615fd6
      	* gnu/java/net/PlainSocketImpl.java
      	(shutdownInput): Added javadoc.
      	(shutdownOutput): Likewise.
      
      From-SVN: r95180
      Michael Koch committed
    • Fix ChangeLog typo in date. · e6670d1a
      From-SVN: r95179
      Andrew Haley committed
    • Chromaticity.java, [...]: New files. · 73ede85a
      2005-02-17  Michael Koch  <konqueror@gmx.de>
      
      	* javax/print/attribute/standard/Chromaticity.java,
      	javax/print/attribute/standard/Destination.java,
      	javax/print/attribute/standard/MediaPrintableArea.java,
      	javax/print/attribute/standard/MediaSize.java: New files.
      	* Makefile.am: Added new files.
      	* Makefile.in: Regenerated.
      
      From-SVN: r95178
      Michael Koch committed
    • Cookie.java, [...]: Reworked import statements, fixed modifier order and some… · c38e914e
      Cookie.java, [...]: Reworked import statements, fixed modifier order and some little formatting issues.
      
      2005-02-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
      	    Michael Koch  <konqueror@gmx.de>
      
      	* gnu/java/net/protocol/http/Cookie.java,
      	gnu/java/net/protocol/http/HTTPConnection.java,
      	gnu/java/net/protocol/http/HTTPDateFormat.java,
      	gnu/java/net/protocol/http/Request.java,
      	gnu/java/nio/PipeImpl.java,
      	gnu/java/rmi/dgc/DGCImpl.java,
      	gnu/java/rmi/server/ConnectionRunnerPool.java,
      	gnu/java/rmi/server/UnicastConnectionManager.java,
      	gnu/java/security/der/DERWriter.java,
      	gnu/java/security/pkcs/SignerInfo.java,
      	gnu/java/security/provider/EncodedKeyFactory.java,
      	gnu/java/security/provider/GnuDHPublicKey.java,
      	gnu/java/security/provider/GnuDSAPrivateKey.java,
      	gnu/java/security/provider/GnuDSAPublicKey.java,
      	gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
      	gnu/java/security/x509/X500DistinguishedName.java,
      	gnu/java/security/x509/X509CRL.java,
      	gnu/java/security/x509/X509CRLEntry.java,
      	gnu/java/security/x509/X509Certificate.java,
      	gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
      	gnu/java/security/x509/ext/CertificatePolicies.java,
      	gnu/java/security/x509/ext/PolicyConstraint.java,
      	gnu/xml/dom/Consumer.java,
      	gnu/xml/dom/DomCharacterData.java,
      	gnu/xml/dom/DomDocument.java,
      	gnu/xml/dom/DomDocumentBuilder.java,
      	gnu/xml/dom/DomIterator.java,
      	gnu/xml/dom/DomNode.java,
      	gnu/xml/dom/DomXPathExpression.java,
      	gnu/xml/dom/DomXPathResult.java,
      	gnu/xml/dom/JAXPFactory.java,
      	gnu/xml/pipeline/CallFilter.java,
      	gnu/xml/pipeline/DomConsumer.java,
      	gnu/xml/pipeline/LinkFilter.java,
      	gnu/xml/pipeline/NSFilter.java,
      	gnu/xml/pipeline/TeeConsumer.java,
      	gnu/xml/pipeline/ValidationConsumer.java,
      	gnu/xml/pipeline/WellFormednessFilter.java,
      	gnu/xml/pipeline/XIncludeFilter.java,
      	gnu/xml/pipeline/XsltFilter.java,
      	gnu/xml/transform/ApplyImportsNode.java,
      	gnu/xml/transform/Bindings.java,
      	gnu/xml/transform/DocumentFunction.java,
      	gnu/xml/transform/FormatNumberFunction.java,
      	gnu/xml/transform/NodeNumberNode.java,
      	gnu/xml/transform/NumberNode.java,
      	gnu/xml/transform/Stylesheet.java,
      	gnu/xml/transform/SystemPropertyFunction.java,
      	gnu/xml/transform/Template.java,
      	gnu/xml/transform/TemplatesImpl.java,
      	gnu/xml/transform/TransformerImpl.java,
      	gnu/xml/transform/ValueOfNode.java,
      	gnu/xml/transform/XSLURIResolver.java,
      	gnu/xml/util/DoParse.java,
      	gnu/xml/util/Resolver.java,
      	gnu/xml/xpath/Expr.java,
      	gnu/xml/xpath/FunctionCall.java,
      	gnu/xml/xpath/RelationalExpr.java,
      	gnu/xml/xpath/Selector.java,
      	gnu/xml/xpath/XPathParser.java:
      	Reworked import statements, fixed modifier order and some little
      	formatting issues.
      
      Co-Authored-By: Michael Koch <konqueror@gmx.de>
      
      From-SVN: r95177
      Andrew John Hughes committed
    • [multiple changes] · 59fc63fc
      2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
      
      	* java/nio/ByteBufferImpl.java (compact):
      	Set position and limit even if no bytes were moved.
      
      2005-02-17  Michael Koch  <konqueror@gmx.de>
      
      	* java/nio/CharViewBufferImpl.java (compact): Likewise.
      	* java/nio/DirectByteBufferImpl.java (compact): Likewise.
      	* java/nio/DoubleViewBufferImpl.java (compact): Likewise.
      	* java/nio/FloatViewBufferImpl.java (compact): Likewise.
      	* java/nio/IntViewBufferImpl.java (compact): Likewise.
      	* java/nio/LongViewBufferImpl.java (compact): Likewise.
      	* java/nio/MappedByteBufferImpl.java (compact): Likewise.
      	* java/nio/ShortViewBufferImpl.java (compact): Likewise.
      	* java/nio/FloatBufferImpl.java (compact): Set position.
      	* java/nio/CharBufferImpl.java (compact): Likewise.
      	* java/nio/DoubleBufferImpl.java (compact): Likewise.
      	* java/nio/IntBufferImpl.java (compact): Likewise.
      	* java/nio/LongBufferImpl.java (compact): Likewise.
      	* java/nio/ShortBufferImpl.java (compact): Likewise.
      
      2005-02-17  Jeroen Frijters  <jeroen@frijters.net>
      
      	* java/nio/ByteBufferImpl.java,
      	java/nio/CharBufferImpl.java,
      	java/nio/DirectByteBufferImpl.java,
      	java/nio/DoubleBufferImpl.java,
      	java/nio/FloatBufferImpl.java,
      	java/nio/IntBufferImpl.java,
      	java/nio/LongBufferImpl.java,
      	java/nio/MappedByteBufferImpl.java,
      	java/nio/ShortBufferImpl.java
      	(compact): Added explicit read-only check and invalidate mark.
      
      From-SVN: r95176
      Michael Koch committed
    • re PR c++/20022 (-fno-access-control is broken) · 856a4ce6
      gcc/cp/ChangeLog:
      PR c++/20022
      * semantics.c (perform_deferred_access_checks): Use
      get_deferred_access_checks to get the top of the stack.
      gcc/testsuite/ChangeLog:
      PR c++/20022
      * g++.dg/other/access3.C: New.
      
      From-SVN: r95174
      Alexandre Oliva committed
    • lambda-code (perfect_nestify): Remove mark/unmark for rewriting hack. · eae600b9
      2005-02-17  Daniel Berlin  <dberlin@dberlin.org>
      
      	* lambda-code (perfect_nestify): Remove mark/unmark
      	for rewriting hack.
      	* tree-loop-linear.c (linear_transform_loops): Add
      	rewrite_into_ssa call so that ssa is correct for
      	rewriting into loop closed.
      
      From-SVN: r95173
      Daniel Berlin committed
    • bitmap.h (BITMAP_XMALLOC, [...]): Remove. · 8bdbfff5
      	* bitmap.h (BITMAP_XMALLOC, BITMAP_XFREE): Remove.
      	* bb-reorder.c (duplicate_computed_gotos): Use BITMAP_ALLOC and
      	BITMAP_FREE.
      	* bt-load.c (btr_def_live_range, combine_btr_defs,
      	migrate_btr_def, migrate_btr_defs): Likewise.
      	* cfgcleanup.c (thread_jump): Likewise.
      	* cfgloop.c (get_loop_body_in_bfs_order): Likewise.
      	* df.c (df_insn_table_realloc, df_bitmaps_alloc, df_bitmaps_free,
      	df_alloc, df_free, df_du_chain_create, df_bb_rd_local_compute,
      	df_rd_local_compute, df_reg_info_compute): Likewise.
      	* dominance.c (init_dom_info, free_dom_info): Likewise.
      	* flow.c (init_propagate_block_info,
      	free_propagate_block_info): Likewise.
      	* gcse.c (alloc_gcse_mem, free_gcse_mem): Likewise.
      	* global.c (allocate_bb_info, free_bb_info, calculate_reg_pav,
      	modify_reg_pav): Likewise.
      	* loop-invariant.c (find_defs, find_invariant_insn,
      	find_invariants, free_inv_motion_data): Likewise.
      	* predict.c (tree_predict_by_opcode,
      	estimate_bb_frequencies): Likewise.
      	* stmt.c (expand_case): Likewise.
      	* tree-cfg.c (tree_duplicate_sese_region): Likewise.
      	* tree-dfa.c (mark_new_vars_to_rename): Likewise.
      	* tree-if-conv.c (get_loop_body_in_if_conv_order): Likewise.
      	* tree-into-ssa.c (insert_phi_nodes_for, def_blocks_free,
      	get_def_blocks_for, mark_def_site_blocks, rewrite_into_ssa,
      	rewrite_ssa_into_ssa): Likewise.
      	* tree-optimize.c (tree_rest_of_compilation): Likewise.
      	* tree-outof-ssa.c (new_temp_expr_table, free_temp_expr_table,
      	analyze_edges_for_bb, perform_edge_inserts): Likewise.
      	* tree-scalar-evolution.c (scev_initialize, scev_finalize): Likewise.
      	* tree-sra.c (tree_sra): Likewise.
      	* tree-ssa-alias.c (init_alias_info, delete_alias_info): Likewise.
      	* tree-ssa-ccp.c (ccp_fold_builtin): Likewise.
      	* tree-ssa-dce.c (tree_dce_init, tree_dce_done): Likewise.
      	* tree-ssa-dom.c (tree_ssa_dominator_optimize): Likewise.
      	* tree-ssa-dse.c (tree_ssa_dse): Likewise.
      	* tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_var):
      	Likewise.
      	* tree-ssa-live.c (new_tree_live_info, delete_tree_live_info,
      	calculate_live_on_entry, calculate_live_on_exit,
      	build_tree_conflict_graph): Likewise.
      	* tree-ssa-loop-ivopts.c (tree_ssa_iv_optimize_init, record_use,
      	record_important_candidates, set_use_iv_cost, find_depends,
      	determine_use_iv_costs, iv_ca_new, iv_ca_free, free_loop_data,
      	tree_ssa_iv_optimize_finalize): Likewise.
      	* tree-ssa-loop-manip.c (add_exit_phis_var, get_loops_exit,
      	find_uses_to_rename_use, rewrite_into_loop_closed_ssa,
      	tree_duplicate_loop_to_header_edge): Likewise.
      	* tree-ssa-pre.c (init_pre, fini_pre): Likewise.
      	* tree-ssa.c (verify_flow_insensitive_alias_info,
      	verify_name_tags, verify_ssa, init_tree_ssa,
      	delete_tree_ssa): Likewise.
      	* tree-ssanames.c (marked_ssa_names, init_ssanames,
      	fini_ssanames): Likewise.
      	* tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): Likewise.
      
      From-SVN: r95172
      Nathan Sidwell committed