Commit Graph

57380 Commits

Author SHA1 Message Date
Nathanael Nerode 6dd297da04 configure.ac: Allow --disable-coverage-flags (for the future benefit of top level bootstrap...
* configure.ac: Allow --disable-coverage-flags (for the future benefit
	of top level bootstrap, and consistency).  Reindent.
	* configure: Regenerate.

From-SVN: r79817
2004-03-22 09:49:36 +00:00
Nathanael Nerode 340de83fd5 * Makefile.tpl (experimental top level bootstrap) Move stage1
language setting from all- target to configure- target; disable
	intermodule optimization in stage 1; prevent gratuitous rebuilds
	of stage 1.
	* Makefile.in: Regenerate.
	* configure.in: Comma-separate stage 1 language list for top
	level bootstrap.
	* configure: Regenerate.

From-SVN: r79816
2004-03-22 08:38:04 +00:00
Eric Botcazou a836124ac9 Fix typo.
From-SVN: r79815
2004-03-22 07:18:35 +00:00
Eric Botcazou 6d0b29793f ulstrasp2.c: Do not pass -m64.
* gcc.dg/ulstrasp2.c: Do not pass -m64.  Remove redundant lines.
	* gcc.dg/ultrasp4.c: Likewise.
	* gcc.dg/ultrasp8.c: Do not pass -m64.  Add sparcv9-*-*.

From-SVN: r79814
2004-03-22 07:16:41 +00:00
Nathanael Nerode ca3b3e200a Makefile.tpl: Clean up experimental top level bootstrap support...
2004-03-22  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.tpl: Clean up experimental top level bootstrap support:
	note known problems; set CONFIG_SHELL; don't set BUILD_CC; relocate
	prev-gcc in configure- targets as well as all- targets.
	* Makefile.in: Regenerate.

From-SVN: r79812
2004-03-22 06:19:44 +00:00
Kazu Hirata 400e39e37d bt-load.c, [...]: Remove unnecessary casts.
* bt-load.c, builtins.c, cfghooks.c, cfgrtl.c, gcse.c,
	ggc-page.c, integrate.c, var-tracking.c, web.c: Remove
	unnecessary casts.

From-SVN: r79811
2004-03-22 02:57:27 +00:00
Danny Smith bd8ec6a7cd re PR target/14291 (-fprofile-arcs fails (unresolved symbol))
PR target/14291
	* gcov-io.h (gcov_truncate): Define ftruncate as _chsize for
	__MINGW32__.

From-SVN: r79809
2004-03-22 02:33:30 +00:00
Ulrich Weigand 07ef69611a * gcc.dg/i386-sse-8.c: Reset default options.
From-SVN: r79808
2004-03-22 02:31:24 +00:00
Ulrich Weigand 4a396f6e3f asm2.c: Allow 'parse error' instead of 'syntax error' in the error message text.
* gcc.dg/charset/asm2.c: Allow 'parse error' instead of 'syntax error'
	in the error message text.

From-SVN: r79807
2004-03-22 02:30:22 +00:00
Ulrich Weigand bd446804ef s390.md ("*doloop_si"): Change predicate for operand 2 to nonimmediate_operand.
* config/s390/s390.md ("*doloop_si"): Change predicate for operand 2
	to nonimmediate_operand.
	("*doloop_di"): Likewise.

From-SVN: r79806
2004-03-22 02:28:11 +00:00
Hans-Peter Nilsson fea41ef911 atomicity.h (__atomic_add): Remove "static inline" and attribute-unused.
* config/cpu/cris/atomicity.h (__atomic_add): Remove "static
	inline" and attribute-unused.  Qualify parameter __mem with
	"volatile".
	(__exchange_and_add): Ditto.  Add back memory clobber to asm.

From-SVN: r79804
2004-03-22 01:37:04 +00:00
Gabriel Dos Reis 7090f4b3b1 cxx-pretty-print.c (pp_cxx_parameter_declaration_clause): Declare.
* cxx-pretty-print.c (pp_cxx_parameter_declaration_clause):
          Declare.

From-SVN: r79803
2004-03-22 01:12:53 +00:00
Alexandre Oliva 1e92bbb907 real.h (struct real_value): Use the same type for all bitfields.
* real.h (struct real_value): Use the same type for all
bitfields.  Rename exp to uexp.
(REAL_EXP, SET_REAL_EXP): New accessor macros for uexp.
Adjust all uses of exp...
* builtins.c: ... here, ...
* emit-rtl.c: ... here, and ...
* real.c: ... and here.

From-SVN: r79802
2004-03-22 00:40:44 +00:00
GCC Administrator 9175d40929 Daily bump.
From-SVN: r79799
2004-03-22 00:16:10 +00:00
Gabriel Dos Reis b9b44fb9f8 pretty-print.c (pp_base_maybe_space): New function.
* pretty-print.c (pp_base_maybe_space): New function.
	* pretty-print.h (pp_base_maybe_space): Declare.
	(pp_maybe_space): New macro.
cp/
	* error.c (enum pad): Remove.
	(dump_qualifiers): Likewise.
	(dump_type): Replace dump_qualifiers with
	* pp_cxx_cv_qualifier_seq.
	(dump_aggr_type): Likewise.
	(dump_type_suffix): Likewise.
	(dump_simple_decl): Likewise.
	(dump_function_decl): Likewise.
	(cv_to_string): Likewise.
	(dump_type_prefix): Likewise.  Adjust return void.
	* cxx-pretty-print.c (pp_cxx_cv_qualifier_seq): Move to
	cxx_pretty_print.h.
	(pp_cxx_template_keyword_if_needed): Document.
	(pp_cxx_qualified_id): Document case FUNCTION_DECL.  Tidy.
	(pp_cxx_expression): Handle NON_DEPENDENT_EXPR and
	MUST_NOT_THROW_EXPR.
testsuite/
	* g++.dg/template/qualttp20.C: Adjust dg- regexp.

From-SVN: r79796
2004-03-21 23:55:03 +00:00
Ulrich Weigand 1c7b1b7e25 * config/s390/s390.md ("addti3", "subti3"): New insns and splitters.
From-SVN: r79793
2004-03-21 20:03:10 +00:00
Ulrich Weigand f258e38b1d expmed.c (choose_mult_variant): Pass MULT_COST as argument instead of using register multiplication cost.
* expmed.c (choose_mult_variant): Pass MULT_COST as argument instead
	of using register multiplication cost.
	(expand_mult): Adapt choose_mult_variant call.
	(expand_mult_highpart): Call choose_mult_variant with WIDER_MODE
	of MODE; pass appropriate cost bound.  Adjust result when
	performing signed multiplication by a negative constant.
	Don't use intermediate modes larger than word_mode.

From-SVN: r79792
2004-03-21 19:31:29 +00:00
Kelley Cook 4d03807362 compile: New file imported from automake.
2004-03-21  Kelley Cook  <kcook@gcc.gnu.org>

	* compile: New file imported from automake.

From-SVN: r79790
2004-03-21 18:38:56 +00:00
Richard Kenner 6fce44af56 alias.c (get_alias_set): Remove handling of PLACEHOLDER_EXPR.
* 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
2004-03-21 13:09:20 -05:00
Mark Mitchell fc5fccdee9 re PR c++/14616 (disjoint_set_test.cpp from boost does not compile (sizeof))
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
2004-03-21 17:48:39 +00:00
Andrew Pinski 0f005f338f dojump.c (prefer_and_bit_test): Fix which part of the and_test is replaced.
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
2004-03-21 08:04:55 -08:00
Joseph Myers f80352b81a * frontends.texi: Add missing line.
From-SVN: r79782
2004-03-21 15:15:44 +00:00
Joseph Myers 6ad79f188d frontends.texi: Rewrite.
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
2004-03-21 13:33:25 +00:00
Gerald Pfeifer cfb453f3da g77.texi (Aligned Data): Remove obsolete paragraph including a broken link.
* 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
2004-03-21 11:19:08 +00:00
Ito Kazumitsu de205e06ba 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
* java/net/ServerSocket.java
        (accept): Close the socket when error occured.

From-SVN: r79774
2004-03-21 11:00:48 +00:00
Jeroen Frijters bdf11d5567 URI.java (parseURI): Added unquoting.
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
2004-03-21 10:54:46 +00:00
Josef Zlomek eabd7d3156 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
2004-03-21 06:38:20 +00:00
GCC Administrator d52666c3f3 Daily bump.
From-SVN: r79767
2004-03-21 00:16:13 +00:00
Zdenek Dvorak f8ad8d7cf8 emit-rtl.c (set_mem_attributes_minus_bitpos): Set MEM_POINTER flag.
* 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
2004-03-20 23:08:57 +00:00
Roger Sayle 687c3ea538 Trivial typo in previous commit ChangeLog.
From-SVN: r79763
2004-03-20 23:04:11 +00:00
Roger Sayle 8cce3d04c4 re PR target/13889 (Assignment of an int to an int of different size in a struct gives ICE)
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
2004-03-20 23:03:03 +00:00
Kazu Hirata 05fe5c6724 * fold-const.c (fold): Replace "expr" with "t".
From-SVN: r79761
2004-03-20 22:12:17 +00:00
Michael Koch 0d13be1ef5 URLConnection.java: Merged copyright year with classpath.
2004-03-20  Michael Koch  <konqueror@gmx.de>

	* java/net/URLConnection.java: Merged copyright year with classpath.

From-SVN: r79760
2004-03-20 20:57:22 +00:00
Ian Lance Taylor dea984dc06 re PR c/12373 (ICE when generating RTX on valid code)
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
2004-03-20 20:46:56 +00:00
Norbert Frese f903e73b80 RMIIncomingThread.java: New file.
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
2004-03-20 20:30:56 +00:00
Kazu Hirata 079f946dad fold-const.c (fold): Replace "final_type" with "type".
* fold-const.c (fold): Replace "final_type" with "type".
	Remove variable "final_type".

From-SVN: r79754
2004-03-20 20:29:26 +00:00
Kazu Hirata 8d3784af8c fold-const.c (fold): Constify "type".
* fold-const.c (fold): Constify "type".
	Replace "TREE_TYPE (t)" with "type".

From-SVN: r79753
2004-03-20 20:23:33 +00:00
Michael Koch 7f5773c692 2004-03-20 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java
	(getLocalHostname): Added javadoc.

From-SVN: r79751
2004-03-20 17:59:39 +00:00
Kazu Hirata 245f1bfacf bb-reorder.c, [...]: Replace calls via (*targetm.foo) () with targetm.foo ().
* 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
2004-03-20 16:50:36 +00:00
Joseph Myers 09b844e33c Fix typo in previous commit.
From-SVN: r79748
2004-03-20 15:30:58 +00:00
Joseph Myers 802f6d4b83 re PR other/14630 (install-info gccinstall.info - warning: no info dir entry)
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
2004-03-20 15:24:57 +00:00
Kazu Hirata ea993805e0 fold-const.c (fold): Replace "t" with "tem" where it is used as a temporary variable.
* 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
2004-03-20 15:00:31 +00:00
Kazu Hirata 8e7b3a43df fold-const.c (fold): Remove variable "invert".
* 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
2004-03-20 14:13:28 +00:00
Kazu Hirata c048d56d7e class.c, [...]: Fix comment typos.
* class.c, gjavah.c, lang.c: Fix comment typos.
	* gcj.texi: Fix typos.

From-SVN: r79744
2004-03-20 14:03:34 +00:00
Paolo Carlini 9c024d9c08 2.cc: Remove junk.
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
2004-03-20 12:54:35 +00:00
Matthias Klose 14b078a8f3 linux.S: Fix typo.
2004-03-20  Matthias Klose  <doko@debian.org>

        * src/pa/linux.S: Fix typo.

From-SVN: r79739
2004-03-20 11:58:01 +00:00
Joseph Myers b1c2d04a28 re PR c/14635 (nan functions should not be C90 built-ins)
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
2004-03-20 10:19:11 +00:00
Paolo Carlini 2787b59a7f std_valarray.h: Document DR389 [Ready].
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
2004-03-20 10:05:48 +00:00
Richard Sandiford dbf833ee11 Makefile.in (dojump.o): Depend on $(GGC_H) and dojump.h.
* 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
2004-03-20 07:13:38 +00:00
Per Bothner ab16524d62 configure.in: FILE variable overrides FLATFORM when linking natFileChannelXXX.cc.
* 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
2004-03-19 22:06:12 -08:00