1. 21 Mar, 2004 10 commits
    • alias.c (get_alias_set): Remove handling of PLACEHOLDER_EXPR. · 6fce44af
      	* alias.c (get_alias_set): Remove handling of PLACEHOLDER_EXPR.
      	* emit-rtl.c (component_ref_for_mem_expr): Likewise.
      	(set_mem_attributes_minus_bitpos): Call SUBSTITUTE_PLACEHOLDER_IN_EXPR.
      	* explow.c (expr_size): Likewise.
      	* expr.h (placeholder_list, find_placeholder): Deleted.
      	* expr.c (store_constructor): Likewise.
      	(get_inner_reference): Likewise.  Also don't call find_placeholder.
      	(placeholder_list, find_placeholder): Deleted.
      	(is_aligning_offset): Don't handle WITH_RECORD_EXPR, PLACEHOLDER_EXPR.
      	(expand_expr_real, cases PLACEHOLDER_EXPR, WITH_RECORD_EXPR): Likewise.
      	(highest_pow2_factor, case WITH_RECORD_EXPR): Remove.
      	* dojump.c (do_jump, case WITH_RECORD_EXPR): Likewise.
      	* dwarf2out.c (loc_descriptor_from_tree, case WITH_RECORD_EXPR):
      	Likewise.
      	* fold-const.c (invert_truthvalue, case WITH_RECORD_EXPR): Likewise.
      	(extract_muldiv, case WITH_RECORD_EXPR): Likewise.
      	* tree.c (expr_align, case WITH_RECORD_EXPR): Likewise.
      	(contains_placeholder_p): Don't handle WITH_RECORD_EXPR.
      	Clean up by using first_rtl_op.
      	(substitute_in_expr): Use SUBSTITUTE_IN_EXPR for recursive call.
      	(substitute_placeholder_in_expr): New function.
      	* tree.def (WITH_RECORD_EXPR): Deleted.
      	* tree.h (SUBSTITUTE_IN_EXPR, SUBSTITUTE_PLACEHOLDER_IN_EXPR): New.
      	(substitute_placeholder_in_expr): New.
      
      	* ada/decl.c (gnat_to_gnu_entity): Use SUBSTITUTE_PLACEHOLDER_IN_EXPR.
      	* ada/trans.c (tree_transform, emit_index_check): Likewise.
      	* ada/utils.c (build_template): Likewise.
      	(max_size, convert): Remove handling of WITH_RECORD_EXPR.
      	(maybe_unconstrained_array, unchecked_convert): Likewise.
      	* ada/utils2.c (gnat_truthvalue_conversion, build_binary_op): Likewise.
      	(build_unary_op): Likewise.
      	(compare_arrays, build_allocator): Use SUBSTITUTE_PLACEHOLDER_IN_EXPR.
      	(fill_vms_descriptor): Likewise.
      	(build_call_alloc_dealloc): Likewise.
      	ALIGN is unsigned.
      	* ada/gigi.h (build_call_alloc_dealloc): Alignment is unsigned.
      
      From-SVN: r79789
      Richard Kenner committed
    • re PR c++/14616 (disjoint_set_test.cpp from boost does not compile (sizeof)) · fc5fccde
      	PR c++/14616
      	* decl.c (cp_finish_decl): Compute the size of arrays declared in
      	templates, if their type is non-dependent.
      
      	PR c++/14616
      	* g++.dg/init/array13.C: New test.
      
      From-SVN: r79788
      Mark Mitchell committed
    • dojump.c (prefer_and_bit_test): Fix which part of the and_test is replaced. · 0f005f33
      2004-03-21  Andrew Pinski  <pinskia@gcc.gnu.org>
      
              * dojump.c (prefer_and_bit_test): Fix which part of
              the and_test is replaced.
      
      From-SVN: r79784
      Andrew Pinski committed
    • * frontends.texi: Add missing line. · f80352b8
      From-SVN: r79782
      Joseph Myers committed
    • frontends.texi: Rewrite. · 6ad79f18
      2004-03-21  Zack Weinberg  <zack@codesourcery.com>
                  Chris Devers  <cdevers@pobox.com>
                  Joseph S. Myers  <jsm@polyomino.org.uk>
      
      	* doc/frontends.texi: Rewrite.
      	* doc/gcc.texi: Update last modification date.
      
      f:
      	* g77.texi: Update link to "G++ and GCC".
      
      treelang:
      	* treelang.texi: Update link to "G++ and GCC".
      
      From-SVN: r79777
      Joseph Myers committed
    • g77.texi (Aligned Data): Remove obsolete paragraph including a broken link. · cfb453f3
      	* g77.texi (Aligned Data): Remove obsolete paragraph including a
      	broken link.
      	(Floating-point Errors): Remove links to http://www.validgh.com/
      	which was "hijacked".
      	(Language): Fix link to Fortran books.
      	(Projects): Remove obsolete paragraph including a broken link to
      	ftp://alpha.gnu.org/gnu/g77/projects/.
      	(Trouble): Remove obsolete paragraph including a broken link to
      	ftp://alpha.gnu.org/g77.plan.
      
      	* invoke.texi (Overall Options): Remove broken reference to
      	rat7.uue (which was of dubious copyright status anyways).
      
      	* root.texi (www-burley): Fix URL.
      
      From-SVN: r79776
      Gerald Pfeifer committed
    • 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org> · de205e06
              * java/net/ServerSocket.java
              (accept): Close the socket when error occured.
      
      From-SVN: r79774
      Ito Kazumitsu committed
    • URI.java (parseURI): Added unquoting. · bdf11d55
      2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
      
      	* java/net/URI.java (parseURI): Added unquoting.
      	(unquote): New method.
      	(quoteAuthority): Implemented.
      	(quote(String,String)): New method.
      	(quotePath): Implemented.
      	(getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
      	(getSchemeSpecificPart): Removed FIXME comment.
      	(getRawAuthority): Return new rawAuthority field.
      	(getAuthority): Removed FIXME comment.
      	(getRawUserInfo): Return new rawUserInfo field.
      	(getUserInfo): Removed FIXME comment.
      	(getRawPath): Return new rawPath field.
      	(getPath): Removed FIXME comment.
      	(getRawQuery): Return new rawQuery field.
      	(getQuery): Removed FIXME comment.
      	(getRawFragment): Return new rawFragment field.
      	(getFragment): Removed FIXME comment.
      
      From-SVN: r79773
      Jeroen Frijters committed
    • cfgrtl.c (cfg_layout_redirect_edge_and_branch): Print the debug message before… · eabd7d31
      cfgrtl.c (cfg_layout_redirect_edge_and_branch): Print the debug message before redirecting the edge.
      
      	* cfgrtl.c (cfg_layout_redirect_edge_and_branch): Print the debug
      	message before redirecting the edge.
      
      From-SVN: r79772
      Josef Zlomek committed
    • Daily bump. · d52666c3
      From-SVN: r79767
      GCC Administrator committed
  2. 20 Mar, 2004 30 commits
    • emit-rtl.c (set_mem_attributes_minus_bitpos): Set MEM_POINTER flag. · f8ad8d7c
      	* emit-rtl.c (set_mem_attributes_minus_bitpos): Set MEM_POINTER
      	flag.
      	* explow.c (force_not_mem): Set REG_POINTER flag according to
      	MEM_POINTER one.
      	* rtl.h (MEM_POINTER): New macro.
      	(struct rtx_def): Use integrated for MEM_SCALAR_P and frame_related
      	for MEM_POINTER.
      
      From-SVN: r79764
      Zdenek Dvorak committed
    • Trivial typo in previous commit ChangeLog. · 687c3ea5
      From-SVN: r79763
      Roger Sayle committed
    • re PR target/13889 (Assignment of an int to an int of different size in a struct gives ICE) · 8cce3d04
      
      	PR target/13889
      	* cse.c (fold_rtx): Avoid substituting constants into unary
      	convertion operations.
      
      	* gcc.c-torture/compile/pr13889.c: New test case.
      
      From-SVN: r79762
      Roger Sayle committed
    • * fold-const.c (fold): Replace "expr" with "t". · 05fe5c67
      From-SVN: r79761
      Kazu Hirata committed
    • URLConnection.java: Merged copyright year with classpath. · 0d13be1e
      2004-03-20  Michael Koch  <konqueror@gmx.de>
      
      	* java/net/URLConnection.java: Merged copyright year with classpath.
      
      From-SVN: r79760
      Michael Koch committed
    • re PR c/12373 (ICE when generating RTX on valid code) · dea984dc
      	PR c/12373
      	* c-typeck.c (tagged_types_tu_compatible_p): Don't use
      	DECL_ORIGINAL_TYPE if there isn't one.
      
      From-SVN: r79759
      Ian Lance Taylor committed
    • RMIIncomingThread.java: New file. · f903e73b
      2004-03-20  Norbert Frese  <postfach@nfrese.net>
      
      	* gnu/java/rmi/server/RMIIncomingThread.java: New file.
      	* gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
      	Create a new RMIObjectOuputStream/RMIObjectInputStream for every
      	rmi-message.
      	(getObjectInputStream): Return object reference, throw IOException if null.
      	(startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
      	(getObjectOutputStream): Return object reference, throw IOException if null.
      	(startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
      	* gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
      	(UnicastConnectionManager): Throw RemoteException if port is not available.
      	(getInstance): Throw RemoteException.
      	(run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
      	* gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
      	Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
      	Collect Exceptions which are returned by a rmi-call and fix void returns.
      	* gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
      	Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
      	* gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
      	(dispatch): Answer ping messages which are sent by other java implementions.
      	(incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
      	for every rmi-message and fix void return problems.
      	* gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
      	(UnicastServerRef): Throw RemoteException.
      	(exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
      	In some situations it is necessary to export a subclass of the class which has the _Stub.
      	For instance when the class with has the _Stub is abstract.
      	(findStubSkelClass): New method which looks for the class which has the _Stub.
      	(getClientHost): Implementated.
      	* gcc/libjava/java/rmi/server/RemoteServer.java
      	(getClientHost): Implementated.
      	* gcc/libjava/Makefile.am (rmi_java_source_files):
      	Added gnu/java/rmi/server/RMIIncomingThread.java.
      	* Makefile.in: Regenerated.
      
      From-SVN: r79755
      Norbert Frese committed
    • fold-const.c (fold): Replace "final_type" with "type". · 079f946d
      	* fold-const.c (fold): Replace "final_type" with "type".
      	Remove variable "final_type".
      
      From-SVN: r79754
      Kazu Hirata committed
    • fold-const.c (fold): Constify "type". · 8d3784af
      	* fold-const.c (fold): Constify "type".
      	Replace "TREE_TYPE (t)" with "type".
      
      From-SVN: r79753
      Kazu Hirata committed
    • 2004-03-20 Michael Koch <konqueror@gmx.de> · 7f5773c6
      	* java/net/InetAddress.java
      	(getLocalHostname): Added javadoc.
      
      From-SVN: r79751
      Michael Koch committed
    • bb-reorder.c, [...]: Replace calls via (*targetm.foo) () with targetm.foo (). · 245f1bfa
      	* bb-reorder.c, bt-load.c, c-decl.c, cfgcleanup.c, coverage.c,
      	dwarf2asm.c, ifcvt.c, stor-layout.c, varasm.c: Replace calls
      	via (*targetm.foo) () with targetm.foo ().
      
      From-SVN: r79750
      Kazu Hirata committed
    • Fix typo in previous commit. · 09b844e3
      From-SVN: r79748
      Joseph Myers committed
    • re PR other/14630 (install-info gccinstall.info - warning: no info dir entry) · 802f6d4b
      	PR other/14630
      	* doc/install.texi: Add info directory category and entry.
      
      ada:
      	* gnat_ug.texi: Add info directory category and entry.
      	* gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
      	gnat_ug_wnt.texi: Regenerate.
      
      From-SVN: r79747
      Joseph Myers committed
    • fold-const.c (fold): Replace "t" with "tem" where it is used as a temporary variable. · ea993805
      	* fold-const.c (fold): Replace "t" with "tem" where it is used
      	as a temporary variable.  Remove "orig_t" and all of its uses.
      
      From-SVN: r79746
      Kazu Hirata committed
    • fold-const.c (fold): Remove variable "invert". · 8e7b3a43
      	* fold-const.c (fold): Remove variable "invert".
      	Move the handling of relational expressions that can be folded
      	to a constant ...
      	(fold_relational_const): ... here.
      	(tree_expr_nonzero_p): New.
      
      From-SVN: r79745
      Kazu Hirata committed
    • class.c, [...]: Fix comment typos. · c048d56d
      	* class.c, gjavah.c, lang.c: Fix comment typos.
      	* gcj.texi: Fix typos.
      
      From-SVN: r79744
      Kazu Hirata committed
    • 2.cc: Remove junk. · 9c024d9c
      2004-03-20  Paolo Carlini  <pcarlini@suse.de>
      
      	* testsuite/27_io/basic_istream/extractors_arithmetic/char/2.cc:
      	Remove junk.
      	* testsuite/27_io/basic_istream/extractors_arithmetic/char/3.cc:
      	Likewise.
      	* testsuite/27_io/basic_istream/extractors_arithmetic/char/6.cc:
      	Likewise.
      	* testsuite/27_io/basic_istream/extractors_arithmetic/char/7.cc:
      	Likewise.
      	* testsuite/27_io/basic_istream/extractors_arithmetic/char/8.cc:
      	Likewise.
      	* testsuite/27_io/basic_istream/extractors_arithmetic/char/9.cc:
      	Likewise.
      	* testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
      	Likewise.
      	* testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
      	Likewise.
      	* testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
      	Likewise.
      	* testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
      	Likewise.
      
      From-SVN: r79742
      Paolo Carlini committed
    • linux.S: Fix typo. · 14b078a8
      2004-03-20  Matthias Klose  <doko@debian.org>
      
              * src/pa/linux.S: Fix typo.
      
      From-SVN: r79739
      Matthias Klose committed
    • re PR c/14635 (nan functions should not be C90 built-ins) · b1c2d04a
      	PR c/14635
      	* builtins.def (nan, nanf, nanl, nans, nansf, nansl): Change to
      	DEF_GCC_BUILTIN.
      
      testsuite:
      	* builtins-1.c (nan, nans): Don't test.
      	* builtins-30.c: Don't use nan, nanf, nanl.
      	* builtins-35.c: New test.
      
      From-SVN: r79736
      Joseph Myers committed
    • std_valarray.h: Document DR389 [Ready]. · 2787b59a
      2004-03-20  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/std/std_valarray.h: Document DR389 [Ready].
      	* docs/html/ext/howto.html: Add an entry for DR389.
      
      From-SVN: r79733
      Paolo Carlini committed
    • Makefile.in (dojump.o): Depend on $(GGC_H) and dojump.h. · dbf833ee
      	* Makefile.in (dojump.o): Depend on $(GGC_H) and dojump.h.
      	(GTFILES): Add $(srcdir)/dojump.h.
      	(gt-dojump.h): New dependency.
      	* dojump.c (and_reg, and_test, shift_test): New static variables.
      	(prefer_and_bit_test): New function.
      	(do_jump): Use it to choose between (X & (1 << C)) and (X >> C) & 1.
      
      From-SVN: r79732
      Richard Sandiford committed
    • configure.in: FILE variable overrides FLATFORM when linking natFileChannelXXX.cc. · ab16524d
      
      	* configure.in: FILE variable  overrides FLATFORM when linking
      	natFileChannelXXX.cc.
      
      	* gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
      	(write):  Call diag_write, as in old natFileDescriptorEcos.cc.
      
      From-SVN: r79731
      Per Bothner committed
    • c-common.c, [...]: Fix comment typos. · d1a6adeb
      	* c-common.c, cfgcleanup.c, cgraphunit.c, c-pretty-print.c,
      	expmed.c, ggc-common.c, jump.c, passes.c, recog.c, regmove.c,
      	reorg.c, tree.h: Fix comment typos.
      
      From-SVN: r79730
      Kazu Hirata committed
    • alias.c, [...]: Replace calls via (*targetm.foo) () with targetm.foo (). · 5fd9b178
      	* alias.c, attribs.c, bt-load.c, builtins.c, c-common.c,
      	c-decl.c, c-objc-common.c, c-typeck.c, calls.c, cfglayout.c,
      	cse.c, dbxout.c, dwarf2out.c, except.c, final.c,
      	haifa-sched.c, integrate.c, passes.c, rtlanal.c, sched-rgn.c,
      	sched-vis.c, simplify-rtx.c, stor-layout.c, tree.c, varasm.c,
      	vmsdbgout.c: Replace calls via (*targetm.foo) () with
      	targetm.foo ().
      
      From-SVN: r79729
      Kazu Hirata committed
    • altivec.h (vec_dst, [...]): Add prototypes, marked with always_inline attribute. · 86e7df90
      [gcc/ChangeLog]
      2004-03-19  Ziemowit Laski  <zlaski@apple.com>
      
              * config/rs6000/altivec.h (vec_dst, vec_dstst, vec_dststt,
              vec_dstt, vec_sld, vec_splat): Add prototypes, marked with
              always_inline attribute.
              * config/rs6000/rs6000.c (altivec_expand_dst_builtin):
              Treat expansion as completed even if literal argument is
              invalid (so that other expansions are not tried in vain).
      
      [gcc/testsuite/ChangeLog]
      2004-03-19  Ziemowit Laski  <zlaski@apple.com>
      
              * g++.dg/ext/altivec-6.C: New test.
      
      From-SVN: r79726
      Ziemowit Laski committed
    • loop-doloop.c (add_test): Replace GEN_INT (0) with const0_rtx. · 147d77b6
      	* loop-doloop.c (add_test): Replace GEN_INT (0) with
      	const0_rtx.
      
      From-SVN: r79724
      Kazu Hirata committed
    • Input_UnicodeBig.java: New class.. · 0fca95f5
      
      	* gnu/gcj/convert/Input_UnicodeBig.java:  New class..
      	* gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
      	* Makefile.am:  Update accordingly.
      	* gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
      	as aliases for UnicodeLittle and UnicodeBig.
      
      From-SVN: r79723
      Per Bothner committed
    • call.c (build_op_delete_call): Do not forget the placement arguments when… · 4546865e
      call.c (build_op_delete_call): Do not forget the placement arguments when iterating through mutiple delete...
      
      	* call.c (build_op_delete_call): Do not forget the placement
      	arguments when iterating through mutiple delete operators.
      
      	* cp-tree.h (svaed_scope): Remove last_parms.
      	(NEW_DELETE_OPNAME_P): New macro.
      	(last_function_parms): Remove.
      	(do_friend): Adjust prototype.
      	* decl.c (grokparms): Return the PARM_DECLs directly, rather than
      	using last_function_parms.
      	(grokfndecl): Take the PARM_DECLs as an argument, rather than
      	using last_function_parms.
      	(grokdeclarator): Adjust accordingly.  Do not form METHOD_TYPEs
      	for class-specific operator new and operator delete.
      	(grok_op_properties): Do not look for allocation functions with
      	METHOD_TYPEs.
      	(start_function): Use DECL_ARGUMENTS instead of
      	last_function_parms.
      	* decl.h (last_function_parms): Do not declare.
      	* decl2.c (grokclassfn): Do not use last_function_parms.
      	* friend.c (do_friend): Remove parmdecls parameter.
      	* name-lookup.c (push_to_top_level): Do not save last_function_parms.
      	(pop_from_top_level): Do not restore it.
      	* pt.c (check_explicit_specialization): Do not adjust
      	last_function_parms.
      
      	* name-lookup.c (do_local_using_decl): Create a local binding for
      	types brought in via using declarations.
      
      	* name-lookup.c (lookup_arg_dependent): Handle block-scope
      	function declarations correctly.
      
      	* semantics.c (finish_id_expression): Correct handling of
      	conversion operators to dependent types.
      
      	* typeck.c (lookup_destructor): Allow the use of destructors from
      	base classes.
      
      	* g++.dg/init/placement3.C: New test.
      
      	* g++.dg/template/spec13.C: New test.
      
      	* g++.dg/lookup/using11.C: New test.
      
      	* g++.dg/lookup/koenig3.C: New test.
      
      	* g++.dg/template/operator2.C: New test.
      
      	* g++.dg/expr/dtor3.C: New test.
      	* g++.old-deja/g++.brendan/crash15.C: Remove incorrect dg-error
      	marker.
      	* g++.old-deja/g++.law/visibility28.C: Likewise.
      
      From-SVN: r79722
      Mark Mitchell committed
    • Daily bump. · b40bc279
      From-SVN: r79719
      GCC Administrator committed