Commit Graph

50376 Commits

Author SHA1 Message Date
GCC Administrator
b6590efb2f Daily bump.
From-SVN: r67217
2003-05-29 00:16:07 +00:00
Bob Wilson
633e4eb4ae xtensa-protos.h (smalloffset_double_mem_p): Delete.
* config/xtensa/xtensa-protos.h (smalloffset_double_mem_p): Delete.
        (xtensa_split_operand_pair): New proto.
        * config/xtensa/xtensa.c (move_operand): Handle DFmode and DImode.
        (smalloffset_double_mem_p): Delete.
        (gen_float_relational, printx, print_operand, xtensa_va_arg):
        Fix whitespace.
        (xtensa_split_operand_pair): New.
        (xtensa_dbx_register_number): Fix formatting.
        * config/xtensa/xtensa.h (EXTRA_CONSTRAINT): Remove 'S' constraint.
        * config/xtensa/xtensa.md (movdi, movdf): Force constants to memory
        instead of splitting them into single-word moves.  Remove unnecessary
        checks for reload_in_progress and reload_completed.
        (movdi_internal, movdf_internal): Change to post-reload split patterns.
        Add constraints to allow constant operands.
        (movsf_internal): Allow CONST_INT operands.

From-SVN: r67215
2003-05-29 00:08:36 +00:00
Danny Smith
358bdeeec7 Fix ChangeLog whitespace for last commit.
From-SVN: r67214
2003-05-28 21:17:07 +00:00
Danny Smith
02c67fd1bf config.gcc (i[34567]86-*-mingw32*): Add host makefile fragment i386/x-mingw32.
* config.gcc (i[34567]86-*-mingw32*): Add host makefile
        fragment i386/x-mingw32.
	* config/i386/x-mingw32: New file. Make local_includedir
	relative to EXEC_PREFIX.

From-SVN: r67213
2003-05-28 21:06:23 +00:00
Aaron W. LaFramboise
0bcbfabb35 mingw32.h (STANDARD_INCLUDE_DIR): Update.
2003-05-27  Aaron W. LaFramboise  <awlaframboise@aol.com>

	* config/i386/mingw32.h (STANDARD_INCLUDE_DIR): Update.
	(MD_STARTFILE_PREFIX): Define.

From-SVN: r67212
2003-05-28 20:54:19 +00:00
Denis Chertykov
291aac59a5 cselib.c (cselib_invalidate_regno): Abort if hardreg have a VOIDmode.
* cselib.c (cselib_invalidate_regno): Abort if hardreg have a
	VOIDmode.
	* cselib.c (cselib_process_insn): Pass reg_raw_mode for hardreg in
	call of cselib_invalidate_regno.

From-SVN: r67210
2003-05-28 23:18:29 +04:00
DJ Delorie
afc2b62dae Makefile.tpl: Make maybe-check-gcc .PHONY.
* Makefile.tpl: Make maybe-check-gcc .PHONY.
* Makefile.in: Regenerate.

From-SVN: r67209
2003-05-28 15:15:38 -04:00
Daniel Jacobowitz
0d2a303ea9 linux.h (LIB_SPEC): Add missing -lc and correct -lthread to -lpthread.
* config/mips/linux.h (LIB_SPEC): Add missing -lc and correct
	-lthread to -lpthread.

From-SVN: r67208
2003-05-28 18:00:52 +00:00
Gerald Pfeifer
16ac82af48 snapshot-index.html: Refer to .bz2 files instead of .gz files.
* snapshot-index.html: Refer to .bz2 files instead of .gz files.
	Simplify the note on not using unannounced snapshots.

From-SVN: r67207
2003-05-28 15:14:37 +00:00
Eric Botcazou
6bf1ffe18c inclhack.def: Add missing declaration of getpagesize() to unistd.h on Solaris 2.5.1.
* fixinc/inclhack.def: Add missing declaration of getpagesize()
	to unistd.h on Solaris 2.5.1.
	Fix prototype of recv() and send() in sys/socket.h on
	Solaris 2.5.1 and 2.6.
	* fixinc/tests/base/unistd.h: Add solaris_unistd fix test.
	* fixinc/tests/base/sys/socket.h: Add solaris_socket test.
	* fixinc/check.tpl: Use 'diff -c', not 'diff -u'.
	* fixinc/fixincl.x: Regenerate.

From-SVN: r67206
2003-05-28 11:53:34 +00:00
Gerald Pfeifer
7101ac35a4 snapshot-README: Refer to .bz2 files instead of .gz files.
* snapshot-README: Refer to .bz2 files instead of .gz files.
	Add a note on where to find the diff files.
	Simplify the note on not using unannounced snapshots.
	Remove documentation of the gcc_latest_snapshot tag.

From-SVN: r67205
2003-05-28 11:23:36 +00:00
GCC Administrator
50564328ee Daily bump.
From-SVN: r67203
2003-05-28 00:16:06 +00:00
Jason Merrill
066f50a9e7 tree.c (expr_first, [...]): New fns.
* tree.c (expr_first, expr_length): New fns.
        * tree.h: Declare them.

        * tree.c (iterative_hash_expr): Hash commutative expressions
        consistently.

From-SVN: r67201
2003-05-27 18:53:01 -04:00
Brendan Kehoe
f85716e06e locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and make sure the number of digits required after the...
2003-05-26  Brendan Kehoe  <brendan@zen.org>

    * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
    make sure the number of digits required after the decimal-point
    (if any) is exactly the value returned by frac_digits().
    * testsuite/22_locale/money_get/get/char/9.cc: New.
    * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.

From-SVN: r67196
2003-05-27 18:44:26 -04:00
Steve Ellcey
ed0d100f7c os_defines.h: Define _LIBUNWIND_STD_ABI if we are on IA64 HP-UX.
* config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
	on IA64 HP-UX.
	* libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
	_LIBUNWIND_STD_ABI is set.

From-SVN: r67193
2003-05-27 21:45:48 +00:00
Brendan Kehoe
87a7c5a1ef locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and make sure the number of digits required after the...
2003-05-26  Brendan Kehoe  <brendan@zen.org>

    * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
    make sure the number of digits required after the decimal-point
    (if any) is exactly the value returned by frac_digits().

From-SVN: r67192
2003-05-27 17:14:49 -04:00
Jason Merrill
87192773c4 revert change on wrong branch
From-SVN: r67191
2003-05-27 15:59:13 -04:00
Richard Kenner
7a6cdb44fd tree.h (contains_placeholder_p): Now returns bool.
* tree.h (contains_placeholder_p): Now returns bool.
	(CONTAINS_PLACEHOLDER_P): New macro.
	(type_contains_placeholder_p): New function.
	* tree.c (save_expr): Remove code avoiding folding COMPONENT_REF.
	(contains_placeholder_p): Now returns bool.
	Rework to use CONTAINS_PLACEHOLDER_P macro.
	(type_contains_placeholder_p): New function.
	* fold-const.c (fold, case COMPONENT_REF): Don't fold if
	type_contains_placeholder_p.
	(fold_range_test, fold_mathfn_compare, fold_inf_compare, fold):
	Use CONTAINS_PLACEHOLDER_P macro.
	* builtins.c (fold_builtin): Likewise.
	* calls.c (initialize_argument_information): Likewise.
	* emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
	* explow.c (expr_size): Likewise.
	* expr.c (store_constructor, get_inner_reference): Likewise.
	* function.c (assign_parms): Likewise.
	* stor-layout.c (variable_size): Likewise.

From-SVN: r67189
2003-05-27 14:44:57 -04:00
Jason Merrill
86982c71d1 c-simplify.c (simplify_switch_stmt): A SWITCH_EXPR also gets the source location of its first line.
* c-simplify.c (simplify_switch_stmt): A SWITCH_EXPR also gets the
        source location of its first line.

From-SVN: r67188
2003-05-27 12:09:28 -04:00
Jonathan Wakely
0f35d19264 std_istream.h, [...]: Typo in comment.
2003-05-27  Jonathan Wakely  <redi@gcc.gnu.org>

	* include/std/std_istream.h, include/std/std_ostream.h: Typo in comment.

From-SVN: r67187
2003-05-27 14:29:39 +01:00
Gerald Pfeifer
0a1c5051cb gcc_release (build_diffs): Add diagnostics in case we cannot generate a specific diff file.
* gcc_release (build_diffs): Add diagnostics in case we cannot
	generate a specific diff file.

From-SVN: r67186
2003-05-27 13:26:23 +00:00
Michael Koch
98ad580793 2003-05-27 Michael Koch <konqueror@gmx.de>
* java/util/zip/Deflater.java
	(FILTERED): Merged documentation from classpath.
	* java/util/zip/DeflaterOutputStream.java
	(DeflaterOutputStream): Merged documentation and argument validity
	check from classpath.
	(deflate): Merged documentation from classpath.
	(finish): Likewise.
	* java/util/zip/Inflater.java
	(Inflater): Merged class documentation from classpath.
	(zstream): Reordered.
	(is_finished): Reordered.
	(dict_needed): Reordered.
	(Inflater): Reordered, merged documentation from classpath.
	(end): Likewise.
	(finalize): Merged documentation from classpath.
	(finished): Likewise.
	(getAdler): Likewise.
	(getRemaining): Likewise.
	(getTotalIn): Likewise.
	(getTotalOut): Likewise.
	(inflate): Likewise.
	(needsDictionary): Likewise.
	(needsInput): Likewise.
	(reset): Likewise.
	(setDictionary): Likewise.
	(setInput): Likewise.

From-SVN: r67185
2003-05-27 06:34:29 +00:00
Michael Koch
5191f392bb 2003-05-27 Michael Koch <konqueror@gmx.de>
* java/net/URLConnection.java
	(getHeaderFieldInt): Merged with classpath.

From-SVN: r67184
2003-05-27 06:17:57 +00:00
Michael Koch
c414a2c3c9 2003-05-27 Michael Koch <konqueror@gmx.de>
* java/io/PrintStream.java
	(PrintStream): Reformatted.
	(PrintStream): New method, merged from classpath.
	(write): Reformatted.

From-SVN: r67183
2003-05-27 06:04:28 +00:00
Michael Koch
91adbcf731 System.java: Explicitely import needed classes.
2003-05-27  Michael Koch  <konqueror@gmx.de>

	* java/lang/System.java:
	Explicitely import needed classes.

From-SVN: r67182
2003-05-27 06:03:14 +00:00
David Billinghurst
d6a9f13bee re PR fortran/10843 (g77 -ffree-form rejects "GO TO".)
2003-05-27  David Billinghurst (David.Billinghurst@riotinto.com)

	PR fortran/10843
	* g77.dg/ffixed-form-1.f: New test
	* g77.dg/ffixed-form-2.f: New test
	* g77.dg/ffree-form-2.f: New test - XFAIL pending fix
	* g77.dg/ffree-form-3.f: New test

From-SVN: r67181
2003-05-27 05:07:58 +00:00
GCC Administrator
87bd5437e0 Daily bump.
From-SVN: r67179
2003-05-27 00:16:08 +00:00
Andreas Tobler
634a569414 wchar_t-1.c: XFAIL on darwin, no wchar.h available.
2003-05-26  Andreas Tobler <a.tobler@schweiz.ch>

        * gcc.dg/wchar_t-1.c: XFAIL on darwin, no wchar.h available.
        * gcc.dg/wint_t-1.c: Likewise.

From-SVN: r67176
2003-05-26 20:10:20 +02:00
Benjamin Kosnik
002bd6069c re PR libstdc++/9339 (filebuf::pubsetbuf(0, 0) doesn't turn off buffering)
2003-05-26  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/9339
	* include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
	(_M_pback): No array necessary.
	* include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
	unbuffered case, coalesec into ...
	(basic_filebuf::overflow): ...this.
	* testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
	* testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.

From-SVN: r67175
2003-05-26 14:54:42 +00:00
Michael Koch
b91c701d19 NetPermission.java, [...]: New versions from classpath.
2003-05-26  Michael Koch  <konqueror@gmx.de>

	* java/net/NetPermission.java,
	java/net/NetworkInterface.java,
	java/net/PasswordAuthentication.java,
	java/net/SocketPermission.java:
	New versions from classpath.

From-SVN: r67174
2003-05-26 12:58:02 +00:00
GCC Administrator
8729d659a7 Daily bump.
From-SVN: r67172
2003-05-26 00:16:08 +00:00
Gabriel Dos Reis
d576d0438d diagnostic.h (output_verbatim, verbatim): Remove printf attribute.
* diagnostic.h (output_verbatim, verbatim):  Remove  printf
	attribute.

From-SVN: r67169
2003-05-25 20:36:30 +00:00
Gerald Pfeifer
658789374a * doc/contrib.texi (Contributors): Update Kean Johnston.
From-SVN: r67167
2003-05-25 18:48:45 +00:00
Kriang Lerdsuwanakij
b7fc8b576e parser.c (cp_parser_explicit_instantiation): Restore old access before template instantiation.
* parser.c (cp_parser_explicit_instantiation): Restore old
	access before template instantiation.

	* g++.dg/template/access11.C: New test.

From-SVN: r67166
2003-05-25 12:59:22 +00:00
Michael Koch
c7684ffe55 PushbackInputStream.java, [...]: Merged new versions from classpath.
2003-05-25  Michael Koch  <konqueror@gmx.de>

	* java/io/PushbackInputStream.java,
	java/net/Authenticator.java,
	java/net/ContentHandler.java,
	java/net/ContentHandlerFactory.java,
	java/net/DatagramSocket.java,
	java/net/DatagramSocketImpl.java,
	java/net/DatagramSocketImplFactory.java,
	java/net/FileNameMap.java,
	java/net/SocketImplFactory.java,
	java/net/SocketOptions.java,
	java/net/URLStreamHandlerFactory.java:
	Merged new versions from classpath.

From-SVN: r67165
2003-05-25 11:40:19 +00:00
Michael Koch
eceea3010f Checkbox.java, [...]: New versions from classpath.
2003-05-25  Michael Koch  <konqueror@gmx.de>

	* java/awt/Checkbox.java,
	java/awt/Dialog.java,
	java/awt/Font.java,
	java/awt/Frame.java,
	java/awt/ScrollPaneAdjustable.java,
	java/awt/Scrollbar.java,
	java/awt/Window.java:
	New versions from classpath.

From-SVN: r67164
2003-05-25 11:24:27 +00:00
Kriang Lerdsuwanakij
ef8855d7a0 re PR c++/10849 (Cannot define an out-of-class specialization of a private nested template class)
PR c++/10849
	* g++.dg/template/access10.C: New test.

From-SVN: r67163
2003-05-25 10:34:51 +00:00
David Edelsohn
e033a02335 * config/rs6000/rs6000.md (save_fpregs_{si,di}): Add length attribute.
From-SVN: r67160
2003-05-25 00:18:06 -04:00
GCC Administrator
f33f871f8e Daily bump.
From-SVN: r67158
2003-05-25 00:16:07 +00:00
Nathanael Nerode
4dedfc09be 440.md, [...]: Replace "GNU CC" with "GCC".
* config/rs6000/440.md, config/stormy16/stormy16protos.h,
	config/stormy16/stormy16.c, config/stormy16/stormy16.md:
	Replace "GNU CC" with "GCC".

From-SVN: r67156
2003-05-24 16:54:04 +00:00
Nathanael Nerode
cbecceb923 Makefile.am, [...]: Replace "GNU CC" with "GCC".
2003-05-24  Nathanael Nerode  <neroden@gcc.gnu.org>

	* libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
	libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
	libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
	libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
	libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
	libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
	libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
	libsupc++/eh_unex_handler.cc, libsupc++/exception,
	libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
	libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
	libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
	libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
	Replace "GNU CC" with "GCC".

From-SVN: r67155
2003-05-24 16:22:03 +00:00
Matt Kraai
9589325f62 builtins.c (expand_builtin_memcpy): Use mode of dest_addr for intermediate computation.
* builtins.c (expand_builtin_memcpy): Use mode of dest_addr for
	intermediate computation.

From-SVN: r67154
2003-05-24 14:50:02 +00:00
Eric Botcazou
fcb6fa8571 simd-5.x: XFAIL on SPARC64.
* gcc.c-torture/compile/simd-5.x: XFAIL on SPARC64.

Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>

From-SVN: r67151
2003-05-24 11:52:18 +00:00
Andreas Tobler
76ab57af8e Andreas Tobler <a.tobler@schweiz.ch>
* gcc.dg/torture/builtin-noret-1.c: Add dg-option -multiply_defined
        suppress for powerpc-*-darwin*.
        * gcc.dg/torture/builtin-noret-2.c: Likewise.

From-SVN: r67150
2003-05-24 08:04:35 +02:00
Andreas Tobler
3dba25eb47 builtins.exp: Add -multiply_defined suppress option for powerpc-*-darwin*.
2003-05-24  Andreas Tobler <a.tobler@schweiz.ch>

        * gcc.c-torture/execute/builtins/builtins.exp: Add -multiply_defined
        suppress option for powerpc-*-darwin*.

From-SVN: r67149
2003-05-24 07:58:15 +02:00
Roger Sayle
65f48a0ab9 * ChangeLog: Correct typo in my previous ChangeLog entry.
From-SVN: r67148
2003-05-24 05:23:27 +00:00
Nathanael Nerode
c4d880174e * include/backward/new.h: Replace "GNU CC" with "GCC".
From-SVN: r67147
2003-05-24 04:50:19 +00:00
GCC Administrator
86788c9878 Daily bump.
From-SVN: r67145
2003-05-24 00:16:06 +00:00
Gerald Pfeifer
4494cddec9 gcc_release (build_sources): Only update ChangeLog files which do not yet contain the entry we are going to add.
* gcc_release (build_sources): Only update ChangeLog files which
	do not yet contain the entry we are going to add.
	Fix typo in added ChangeLog entries.

From-SVN: r67143
2003-05-23 22:55:50 +00:00
Eric Christopher
5299653dc1 mips.md (clzsi, clzdi): New patterns.
2003-05-23  Eric Christopher  <echristo@redhat.com>

        * config/mips/mips.md (clzsi, clzdi): New patterns.

From-SVN: r67142
2003-05-23 22:19:16 +00:00