Commit Graph

50468 Commits

Author SHA1 Message Date
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
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