Commit Graph

50149 Commits

Author SHA1 Message Date
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
Geoffrey Keating
0de12fcceb rs6000.c (expand_block_move): Unify the TARGET_STRING and ! TARGET_STRING cases.
* config/rs6000/rs6000.c (expand_block_move): Unify the TARGET_STRING
	and ! TARGET_STRING cases.

From-SVN: r67140
2003-05-23 20:57:11 +00:00
Nathanael Nerode
6e6a1681ea Makefile.in: Correct description.
2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>

	* fixinc/Makefile.in: Correct description.
	* fixinc/Makefile.in, fixinc/fixfixes.c, fixinc/fixincl.c,
	fixinc/fixlib.c, fixinc/fixlib.h, fixinc/fixtests.c,
	fixinc/genfixes: Replace "GNU CC" with "GCC".

From-SVN: r67139
2003-05-23 20:48:48 +00:00
Roger Sayle
29f523bef0 builtins.def: Defome atan...
* builtins.def: Defome atan, atanf, atanl, tan, tanf and tanl
	builtin functions (and their __builtin_* variants).
	* builtins.c (mathfn_built_in): Handle tan{,f,l} and atan{,f,l}.
	(expand_builtin): Don't expand tan{,f,l} or atan{,f,l} when not
	optimizing.

	* doc/extend.texi: Document new tan and atan builtins, and
	their float and long double variants.

	* gcc.dg/builtins-1.c: Add tests for tan and atan.
	* gcc.dg/builtins-4.c: Add test for fmod.

From-SVN: r67137
2003-05-23 20:45:40 +00:00
Mike Stump
a7050d49c5 Fix typo.
From-SVN: r67136
2003-05-23 20:42:41 +00:00
Jason Thorpe
27a701c2c5 netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define __sparcv9 in the TARGET_ARCH64 case.
* config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define
__sparcv9 in the TARGET_ARCH64 case.

From-SVN: r67135
2003-05-23 20:36:04 +00:00
Nathanael Nerode
38709cad91 hash.c, [...]: Replace "GNU CC" with "GCC".
* hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
	makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
	selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
	thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
	thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
	thr-win32.c, thr.c: Replace "GNU CC" with "GCC".

From-SVN: r67134
2003-05-23 20:25:39 +00:00
Jan Hubicka
25f57a0e23 * i386.c (ix86_reorg): Calls are also jumps.
From-SVN: r67133
2003-05-23 20:25:21 +00:00
J"orn Rennecke
839844befa cse.c (count_reg_usage): When processing an INSNs REG_EQUAL note containing an EXPR_LIST...
* cse.c (count_reg_usage): When processing an INSNs REG_EQUAL
	note containing an EXPR_LIST, process all the arguments.

From-SVN: r67132
2003-05-23 21:08:22 +01:00
Nathanael Nerode
6c82ad2561 Makefile.in, [...]: Replace "GNU CC" with "GCC".
2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
	class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
	objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
	objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
	objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".

From-SVN: r67131
2003-05-23 20:04:58 +00:00
Jan Hubicka
97242ddc18 i386.h (TARGET_CPU_CPP_BUILTINS): Define __amd64 and __amd64__; do not use assertion.
* i386.h (TARGET_CPU_CPP_BUILTINS): Define __amd64 and __amd64__;
	do not use assertion.

Co-Authored-By: Andreas Jaeger <aj@suse.de>

From-SVN: r67130
2003-05-23 19:43:34 +00:00
Mike Stump
973a43f6e6 tlink.c (scan_linker_output): Add support for darwin linker...
* tlink.c (scan_linker_output): Add support for darwin linker, as it
        emits unresolved symbols one per line, consuming the entire line.

From-SVN: r67126
2003-05-23 18:23:13 +00:00
Larin Hennessy
a27b2b71a8 explow.c (allocate_dynamic_stack_space): Remove call to gen_probe.
2003-05-23  Larin Hennessy <larin@science.oregonstate.edu>
	    Zack Weinberg <zack@codesourcery.com>

	* explow.c (allocate_dynamic_stack_space): Remove call to gen_probe.
	* config/m68k/m68k.c (m68k_output_function_prologue):
	Remove code under #if NEED_PROBE.
	* config/m68k/m68k.h: Don't define NEED_PROBE.
	* config/m68k/m68k.md: Remove "probe" insn.
	* doc/md.texi: Remove documentation of "probe" pattern.

Co-Authored-By: Zack Weinberg <zack@codesourcery.com>

From-SVN: r67125
2003-05-23 18:19:21 +00:00
Nathanael Nerode
24bcc7214c * win32-host.c: Normalize copyright boilerplate.
From-SVN: r67124
2003-05-23 18:18:49 +00:00
Nathanael Nerode
3014d22144 * exgettext: Add "This file is part of GCC".
From-SVN: r67123
2003-05-23 17:52:54 +00:00
Nathanael Nerode
4b16555887 exgettext: Replace "GNU CC" and "this program" with "GCC" in copyright boilerplate.
* exgettext: Replace "GNU CC" and "this program" with "GCC" in
	copyright boilerplate.

From-SVN: r67122
2003-05-23 17:47:54 +00:00
Nathanael Nerode
487a942794 analyze_brprob, [...]: Change GNU CC to GCC.
* analyze_brprob, gcc_build, gennews, texi2pod.pl: Change GNU CC
	to GCC.

From-SVN: r67120
2003-05-23 16:20:44 +00:00
Kriang Lerdsuwanakij
43b26a0128 re PR c++/10682 (chokes on a typedef for an enum inside a class template)
PR c++/10682
	* pt.c (instantiate_class_template): Use DECL_ARTIFICIAL to
	check for implicitly created typedef to an enum.

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

From-SVN: r67118
2003-05-23 15:01:45 +00:00
Dorit Naishlos
d397116182 rs6000.md (save_fpregs_{si,di}): Add branch attribute.
2003-05-23  Dorit Naishlos  <gcchaifa@il.ibm.com>

        * config/rs6000/rs6000.md (save_fpregs_{si,di}): Add branch attribute.

From-SVN: r67117
2003-05-23 10:47:34 -04:00
Eric Botcazou
0dc7ee3cda install.texi: Remove sparc64-*-*.
* doc/install.texi: Remove sparc64-*-*. Add sparc64-*-solaris2*.
	Document sparcv9-*-solaris2* as a synonym for sparc64-*-solaris2*.

From-SVN: r67113
2003-05-23 05:41:21 +00:00
Roger Sayle
18c2511ccb real.c (real_maxval): New function to return the largest finite value representable in a given mode (i.e.
* real.c (real_maxval): New function to return the largest finite
	value representable in a given mode (i.e. FLT_MAX and DBL_MAX).
	* real.h (real_maxval): Prototype here.
	* fold-const.c (fold_inf_compare): Transform comparisons against
	+-Infinity into comparisons against DBL_MAX (or equivalent).

	* gcc.c-torture/execute/ieee/inf-2.c: New test case.

From-SVN: r67112
2003-05-23 03:46:53 +00:00
Jeff Sturm
a8e097d6db re PR libgcj/10838 (GCC 3.3 [libjava]: java.io.ObjectInputStream syntax error)
PR libgcj/10838:
* java/io/ObjectInputStream (enableResolveObject):
Fixed spelling of permission name.

From-SVN: r67111
2003-05-23 03:15:36 +00:00
Benjamin Kosnik
b731048b47 re PR libstdc++/3066 (configure.in generates bad arguments for cross compiling libraries)
2003-05-22  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/3066.
	* configure.in: Switch target to host, don't assume newlib.
	(target_alias): Remove.
	* configure: Regenerate.
	* acinclude.m4: Same.
	* aclocal.m4: Regenerate.
	* configure.target: Same. Rename to...
	* configure.host: This.

From-SVN: r67110
2003-05-23 02:31:07 +00:00
Wolfgang Bangerth
14a9c399be Fix a loose end of a sentence in the way rth suggested.
From-SVN: r67108
2003-05-22 19:24:00 -06:00
Richard Kenner
f3f72ea08d Finish correcting inadvertent checkin.
From-SVN: r67107
2003-05-22 20:38:32 -04:00
GCC Administrator
eaf5fde9e5 Daily bump.
From-SVN: r67105
2003-05-23 00:16:06 +00:00
Richard Kenner
b8d63f74dc Remove hunk commited in error.
From-SVN: r67103
2003-05-22 20:13:04 -04:00
Paolo Carlini
d7ccc91760 std_fstream.h (_S_pback_size): Remove definition.
2003-05-22  Paolo Carlini  <pcarlini@unitus.it>

	* include/std/std_fstream.h (_S_pback_size): Remove definition.
	(_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
	pback buffer.
	* include/bits/fstream.tcc (_S_pback_size): Remove declaration.
	* testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
	of _S_pback_size for systems with no COMDAT or weak support.
	* testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
	* testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
	* testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
	* testsuite/27_io/basic_fstream/3.cc: Likewise.
	* testsuite/27_io/basic_ifstream/3.cc: Likewise.
	* testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
	* testsuite/27_io/basic_ofstream/3.cc: Likewise.
	* testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
	* testsuite/27_io/basic_streambuf/3.cc: Likewise.

From-SVN: r67102
2003-05-22 22:16:41 +00:00