gcc.git
21 years agocrtend.asm: Include "auto-host.h".
David Mosberger [Thu, 7 Nov 2002 22:48:10 +0000 (22:48 +0000)]
crtend.asm: Include "auto-host.h".

        * config/ia64/crtend.asm: Include "auto-host.h".
        [HAVE_INITFINI_ARRAY]: Invoke __do_global_ctors_aux via .init_array.
        * config/ia64/crtbegin.asm: Similarly.
        * config/ia64/t-ia64 (crtbegin.o): Include from current directory.
        (crtend.o, crtbeginS.o, crtendS.o): Likewise.

        * aclocal.m4 (gcc_AC_INITFINI_ARRAY): New.
        * configure.in: Use it if --enable-initfini-array not specified.
        * doc/install.texi (Configuration): Document --enable-initfini-array.
        * configure, config.in: Rebuild.

From-SVN: r58909

21 years agoclass.c (add_implicitly_declared_members): Put implicitly declared functions at the...
Mark Mitchell [Thu, 7 Nov 2002 21:33:44 +0000 (21:33 +0000)]
class.c (add_implicitly_declared_members): Put implicitly declared functions at the end of TYPE_METHODs when...

* class.c (add_implicitly_declared_members): Put implicitly
declared functions at the end of TYPE_METHODs when -fabi-version
is at least 2.

* testsuite/g++.dg/abi/dtor1.C: New test.
* testsuite/g++.dg/abi/dtor2.C: Likewise.

From-SVN: r58908

21 years ago[multiple changes]
Jason Thorpe [Thu, 7 Nov 2002 18:32:00 +0000 (18:32 +0000)]
[multiple changes]

2002-11-07  Jason Thorpe  <thorpej@wasabisystems.com>

* config/arm/arm-protos.h (arm_get_frame_size)
(thumb_get_frame_size): New prototypes.
* config/arm/arm.c (arm_get_frame_size)
(thumb_get_frame_size): New functions.
(use_return_insn, arm_output_epilogue, arm_output_function_epilogue)
(arm_compute_initial_elimination_offset, arm_expand_prologue): Use
arm_get_frame_size.
(thumb_expand_prologue, thumb_expand_epilogue): Use
thumb_get_frame_size.
* config/arm/arm.h (PREFERRED_STACK_BOUNDARY): Define.
(machine_function): Add frame_size member.
(THUMB_INITIAL_ELIMINATION_OFFSET): Use thumb_get_frame_size.

2002-11-07  Richard Earnshaw  <rearnsha@arm.com>

* arm.c (bit_count): Make argument unsigned long.  Return unsigned.
Adjust code to use portable unsigned bit manipulation.
(insn_flags, tune_flags): Change type to unsigned.
(struct processors): Make flags unsigned long.
(arm_override_options): Change type of count and current_bit_count
to unsigned.

From-SVN: r58901

21 years agobackport: MarshalledObject.java (equals): Check hashcode first.
Mark Wielaard [Thu, 7 Nov 2002 18:01:05 +0000 (18:01 +0000)]
backport: MarshalledObject.java (equals): Check hashcode first.

        Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
* java/rmi/MarshalledObject.java (equals): Check hashcode first.

* java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
annotation.
(loadClass): Take String as codebases.
(getClassAnnotation): Use MyClassLoader annotations.
* java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
call exportObject(this).

* gnu/java/rmi/RMIMarshalledObjectOutputStream.java
(RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
(setAnnotation): Don't set locBytesStream and locStream.
(replaceObject): Removed.
(flush): Don't test locStream.
(getLocBytes): LikeWise.
* gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
(leaseCache): New field.
(dirty): Use leaseCache.
(LeaseRecord): New inner class.
* gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
explicitly call exportObject().
* gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
false to communicate with Sun JDK130.
* gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
* gnu/java/rmi/server/RMIObjectInputStream.java
(UnicastConnectionManager): Removed field.
* gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
Use UnicastServer.getExportedRef().
* gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
(expireTime): Likewise.
(CONNECTION_TIMEOUT): Likewise.
(disconnect): Call sock.close().
(isExpired): New method.
(resetTime): Likewise.
(run): Use do while loop and catch Exception for discardConnection().
* gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
* gnu/java/rmi/server/UnicastRef.java: Lots of changes.
* gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
* gnu/java/rmi/server/UnicastServer.java (refcache): New field.
(exportObject): Use refcache.
(unexportObject): Likewise.
(getExportedRef): New method.
* gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
constructor.
(exportObject): Save manager.serverobj.
(getStub): New method.

From-SVN: r58900

21 years agonatField.cc (getBoolean): Use getType().
Mark Wielaard [Thu, 7 Nov 2002 17:57:09 +0000 (17:57 +0000)]
natField.cc (getBoolean): Use getType().

* java/lang/reflect/natField.cc (getBoolean): Use getType().
(getByte): Likewise.
(getShort): Likewise.
(getInt): Likewise.
(getLong): Likewise.
(getFloat): Likewise.
(getDouble): Likewise.
(get): Likewise.
(setChar): Likewise.
(setByte): Likewise.
(setShort): Likewise.
(setInt): Likewise.
(setLong): Likewise.
(setFloat): Likewise.
(setDouble): Likewise.

From-SVN: r58899

21 years ago* arm/elf.h (TYPE_OPERAND_FMT): Prefix type with %.
Richard Earnshaw [Thu, 7 Nov 2002 17:05:48 +0000 (17:05 +0000)]
* arm/elf.h (TYPE_OPERAND_FMT): Prefix type with %.

From-SVN: r58897

21 years ago* sh.h (DWARF_FRAME_RETURN_COLUMN): Use DWARF_FRAME_REGNUM.
J"orn Rennecke [Thu, 7 Nov 2002 15:51:27 +0000 (15:51 +0000)]
* sh.h (DWARF_FRAME_RETURN_COLUMN): Use DWARF_FRAME_REGNUM.

From-SVN: r58895

21 years agoremoved bogus ChangeLog entry
Tom Tromey [Thu, 7 Nov 2002 14:10:01 +0000 (14:10 +0000)]
removed bogus ChangeLog entry

From-SVN: r58894

21 years agodostime.c: Rewrote from scratch.
Tom Tromey [Thu, 7 Nov 2002 14:07:19 +0000 (14:07 +0000)]
dostime.c: Rewrote from scratch.

* dostime.c: Rewrote from scratch.
* dostime.h (dostime): Removed.

From-SVN: r58892

21 years agoChoice.java, [...]: Fixed documentation.
Michael Koch [Thu, 7 Nov 2002 13:01:34 +0000 (13:01 +0000)]
Choice.java, [...]: Fixed documentation.

2002-11-07  Michael Koch <konqueror@gmx.de>

* java/awt/Choice.java,
java/awt/Container.java,
java/awt/GridBagLayout.java:
Fixed documentation.
* java/awt/peer/ContainerPeer.java:
Reindented.

From-SVN: r58888

21 years ago* reg-stack.c (compensate_edge): Fix sanity check.
Jan Hubicka [Thu, 7 Nov 2002 10:21:49 +0000 (10:21 +0000)]
* reg-stack.c (compensate_edge): Fix sanity check.

From-SVN: r58886

21 years agoICC_Profile.java: Added missing constants.
Michael Koch [Thu, 7 Nov 2002 08:45:19 +0000 (08:45 +0000)]
ICC_Profile.java: Added missing constants.

2002-11-07  Michael Koch <konqueror@gmx.de>

* java/awt/color/ICC_Profile.java:
Added missing constants.
* java/awt/color/ICC_ColorSpace.java
(getMinValue): Added dummy implementation.
(getMaxValue): Added dummy implementation.
* java/awt/datatransfer/DataFlavor.java
(imageFlavor): Added.
(isMimeTypeEqual): Must be final.
(getDefaultRepresentationClass): Must be non-static.
(getDefaultRepresentationClassAsString): Must be non-static.
* java/awt/dnd/DragSourceContext.java
(dragExit): Corrected argument.
(dragDropEnd): Corrected argument.
* java/awt/dnd/DragSourceListener.java.java
(dragExit): Corrected argument.
(dragDropEnd): Corrected argument.
* java/awt/font/TextHitInfo.java
(toString): Added stubbed implementation.
* java/awt/geom/PathIterator.java:
The constants must be static.
* java/awt/image/VolatileImage.java
(IMAGE_INCOMPATIBLE): Fixed typo.
* java/awt/image/renderable/RenderableImage.java
(HINTS_OBSERVED): Must be static.
* java/beans/BeanInfo.java:
Constants must be final.

From-SVN: r58885

21 years agoDaily bump.
GCC Administrator [Thu, 7 Nov 2002 08:17:13 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r58884

21 years agoIndex: ChangeLog
Geoffrey Keating [Thu, 7 Nov 2002 06:00:07 +0000 (06:00 +0000)]
Index: ChangeLog
2002-11-05  Geoffrey Keating  <geoffk@apple.com>

* config.gcc: Don't create crtbegin, crtend on Darwin; do create
crt2.o.  Rearrange t-darwin makefiles.
* crtstuff.c [OBJECT_FORMAT_MACHO]: Delete.
* unwind-dw2-fde-darwin.c: New.
* unwind-dw2-fde-glibc.c: Correct comment.
* unwind-dw2-fde.c (__register_frame_info_bases)
[DWARF2_OBJECT_END_PTR_EXTENSION]: Clear fde_end.
(classify_object_over_fdes): Use last_fde.
(add_fdes): Likewise.
(linear_search_fdes): Likewise.
* unwind-dw2-fde.h (struct object)
[DWARF2_OBJECT_END_PTR_EXTENSION]: Add fde_end field.
(last_fde): New.
* config/darwin.h (STARTFILE_SPEC): Include crt2.o not crtbegin.o.
(ENDFILE_SPEC): No crtend.o.
* config/t-darwin: New.
* config/i386/t-darwin: Delete.
* config/darwin-crt2.c: New.
* config/rs6000/t-darwin: Delete contents duplicated in t-rs6000
or config/t-darwin.

Index: testsuite/ChangeLog
2002-11-05  Geoffrey Keating  <geoffk@apple.com>

* g++.old-deja/g++.eh/badalloc1.C: XFAIL excess errors test on
Darwin.

From-SVN: r58877

21 years agore PR libgcj/8481 (java.Random.nextInt(int) may return negative)
Tom Tromey [Thu, 7 Nov 2002 04:38:21 +0000 (04:38 +0000)]
re PR libgcj/8481 (java.Random.nextInt(int) may return negative)

From svens@it.uu.se.  For PR libgcj/8481.
* java/util/Random.java (nextInt(int)): Only use 31 bits.

From-SVN: r58876

21 years agore PR target/8480 (reload ICEs for LAPACK code on powerpc64-linux)
David Edelsohn [Thu, 7 Nov 2002 00:34:42 +0000 (00:34 +0000)]
re PR target/8480 (reload ICEs for LAPACK code on powerpc64-linux)

        PR target/8480
        * config/rs6000/rs6000.md (movdi_internal64): Discourage
        FPR to FPR moves.

From-SVN: r58873

21 years agocontrib.texi: Merge in the list from the Java web pages.
Janis Johnson [Thu, 7 Nov 2002 00:03:54 +0000 (00:03 +0000)]
contrib.texi: Merge in the list from the Java web pages.

2002-11-06  Janis Johnson  <janis187@us.ibm.com>

* doc/contrib.texi: Merge in the list from the Java web pages.

From-SVN: r58869

21 years agogjavah.c (print_stub_or_jni): Include JNIEXPORT and JNICALL in a JNI header.
Tom Tromey [Wed, 6 Nov 2002 22:10:30 +0000 (22:10 +0000)]
gjavah.c (print_stub_or_jni): Include JNIEXPORT and JNICALL in a JNI header.

* gjavah.c (print_stub_or_jni): Include JNIEXPORT and JNICALL in
a JNI header.

From-SVN: r58867

21 years agofreebsd: Fix typo.
David O'Brien [Wed, 6 Nov 2002 21:29:42 +0000 (21:29 +0000)]
freebsd: Fix typo.

2002-11-06  David O'Brien  <obrien@FreeBSD.org>
* config/sparc/freebsd: Fix typo.

From-SVN: r58865

21 years ago* pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define.
John David Anglin [Wed, 6 Nov 2002 19:13:34 +0000 (19:13 +0000)]
* pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define.

From-SVN: r58863

21 years agomips.md (call_value_multiple_internal2): Use dla for non-SImode addresses.
Alexandre Oliva [Wed, 6 Nov 2002 18:10:58 +0000 (18:10 +0000)]
mips.md (call_value_multiple_internal2): Use dla for non-SImode addresses.

* config/mips/mips.md (call_value_multiple_internal2): Use dla for
non-SImode addresses.

From-SVN: r58862

21 years agojni.cc (array_from_valist): Assume that jlong won't be promoted.
Tom Tromey [Wed, 6 Nov 2002 14:14:51 +0000 (14:14 +0000)]
jni.cc (array_from_valist): Assume that jlong won't be promoted.

* jni.cc (array_from_valist): Assume that jlong won't be
promoted.

From-SVN: r58859

21 years agoDaily bump.
GCC Administrator [Wed, 6 Nov 2002 08:17:10 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r58856

21 years ago* libjava.jacks/jacks.exp: New file.
Tom Tromey [Wed, 6 Nov 2002 01:02:19 +0000 (01:02 +0000)]
* libjava.jacks/jacks.exp: New file.

From-SVN: r58850

21 years ago* decl2.c (finish_file): Correct spelling.
Geoffrey Keating [Wed, 6 Nov 2002 00:44:49 +0000 (00:44 +0000)]
* decl2.c (finish_file): Correct spelling.

From-SVN: r58847

21 years agostd_sstream.h (basic_stringbuf::str(const __string_type&)): Prefer data() to c_str...
Jonathan Wakely [Wed, 6 Nov 2002 00:05:35 +0000 (00:05 +0000)]
std_sstream.h (basic_stringbuf::str(const __string_type&)): Prefer data() to c_str() thus avoiding assigning the unnecessary NULL-terminator.

2002-11-05  Jonathan Wakely  <cow@compsoc.man.ac.uk>

* include/std/std_sstream.h
(basic_stringbuf::str(const __string_type&)):
Prefer data() to c_str() thus avoiding assigning the
unnecessary NULL-terminator.

From-SVN: r58844

21 years agore PR java/6388 (Integer.MIN_VALUE == 0x80000000 optimized to false on powerpc)
Tom Tromey [Wed, 6 Nov 2002 00:01:01 +0000 (00:01 +0000)]
re PR java/6388 (Integer.MIN_VALUE == 0x80000000 optimized to false on powerpc)

Fix for PR java/6388.
* lex.h (JAVA_INTEGRAL_RANGE_ERROR): Wrap in do...while.
* java-tree.h (enum java_tree_index): New values
JTI_DECIMAL_INT_MAX_NODE, JTI_DECIMAL_LONG_MAX_NODE.
(decimal_int_max, decimal_long_max): New defines.
* lex.c (yylex): Rewrote range checking.  Sign extend literals.
(error_if_numeric_overflow): Rewrote range checking.
* decl.c (java_init_decl_processing): Initialize decimal_int_max,
decimal_long_max.

From-SVN: r58843

21 years agore PR libstdc++/8258 (basic_istream::readsome() with default buffer change stream...
Benjamin Kosnik [Tue, 5 Nov 2002 23:46:22 +0000 (23:46 +0000)]
re PR libstdc++/8258 (basic_istream::readsome() with default buffer change stream state to ios_base::eofbit)

2002-11-05  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/8258
* include/bits/istream.tcc (istream::readsome): Don't set eofbit
for null buffer.
(istream::operator>>(_CharT*)): Use traits_type.
(istream::ws): Same.
(istream::operator>>(string)): Same.
* testsuite/27_io/istream_unformatted.cc (test11): Add.

From-SVN: r58840

21 years agore PR libstdc++/8466 (basic_stringbuf::str(basic_string const&) modifies its argument)
Paolo Carlini [Tue, 5 Nov 2002 23:28:15 +0000 (00:28 +0100)]
re PR libstdc++/8466 (basic_stringbuf::str(basic_string const&) modifies its argument)

2002-11-05  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/8466
* include/std/std_sstream.h
(basic_stringbuf::str(const __string_type&)):
Cannot use simple assignment since the COW-nature of v3
basic_string is not taken into account in basic_stringbuf.
* testsuite/27_io/stringstream_members.cc: Add test04 from PR.

From-SVN: r58838

21 years ago* config/xtensa/elf.h (LIB_SPEC): Add "-lhal".
Bob Wilson [Tue, 5 Nov 2002 21:36:49 +0000 (21:36 +0000)]
* config/xtensa/elf.h (LIB_SPEC): Add "-lhal".

From-SVN: r58837

21 years ago* configure.target (hppa*): Define cpu_include_dir.
John David Anglin [Tue, 5 Nov 2002 21:24:37 +0000 (21:24 +0000)]
* configure.target (hppa*): Define cpu_include_dir.

From-SVN: r58835

21 years agoos_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define.
John David Anglin [Tue, 5 Nov 2002 19:17:37 +0000 (19:17 +0000)]
os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define.

* config/os/hpux/os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define.
* src/misc-inst.cc (std): Instantiate atomicity lock when
_GLIBCPP_INST_ATOMICITY_LOCK is defined.
* config/cpu/hppa/atomicity.h: New file.

From-SVN: r58831

21 years agopa64-hpux.h (LIB_SPEC): Fix p and pg options.
John David Anglin [Tue, 5 Nov 2002 16:51:10 +0000 (16:51 +0000)]
pa64-hpux.h (LIB_SPEC): Fix p and pg options.

* pa64-hpux.h (LIB_SPEC): Fix p and pg options.
(STARTFILE_SPEC): Remove p and pg options.

From-SVN: r58824

21 years agore PR libstdc++/8463 (std::ios_base has a non-virtual destructor)
Benjamin Kosnik [Tue, 5 Nov 2002 16:49:42 +0000 (16:49 +0000)]
re PR libstdc++/8463 (std::ios_base has a non-virtual destructor)

2002-11-05  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/8463
* include/bits/ios_base.h (~ios_base): Make virtual.

From-SVN: r58823

21 years agofold-const.c (fold): Don't transform (a0 op compound(a1,a2)) to (compound(a1,a0 op...
Andrew Haley [Tue, 5 Nov 2002 14:32:24 +0000 (14:32 +0000)]
fold-const.c (fold): Don't transform (a0 op compound(a1,a2)) to (compound(a1,a0 op a2)) if...

2002-11-05  Andrew Haley  <aph@redhat.com>

        * fold-const.c (fold): Don't transform (a0 op compound(a1,a2))
        to (compound(a1,a0 op a2)) if a0 or a1 have side effects.

From-SVN: r58822

21 years agomips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to...
Richard Sandiford [Tue, 5 Nov 2002 12:41:52 +0000 (12:41 +0000)]
mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to...

* config/mips/mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to...
* config/mips/mips.c (mips_cannot_change_mode_class): ...here.

From-SVN: r58821

21 years agoDaily bump.
GCC Administrator [Tue, 5 Nov 2002 08:17:10 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r58818

21 years ago941014-1.x: thumb-elf was deprecated, use -mthumb.
Adam Nemet [Tue, 5 Nov 2002 05:41:39 +0000 (05:41 +0000)]
941014-1.x: thumb-elf was deprecated, use -mthumb.

* gcc.c-torture/execute/941014-1.x: thumb-elf was deprecated, use
-mthumb.  Only xfail with -O0.

From-SVN: r58809

21 years ago* MAINTAINERS (Write After Approval): Add myself.
Adam Nemet [Tue, 5 Nov 2002 05:14:42 +0000 (05:14 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r58808

21 years agoSHA.java (engineGetDigestLength): Return 20.
R. A. Rivas Diaz [Tue, 5 Nov 2002 04:12:04 +0000 (04:12 +0000)]
SHA.java (engineGetDigestLength): Return 20.

2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>

* gnu/java/security/provider/SHA.java (engineGetDigestLength):
Return 20.
* gnu/java/security/provider/MD5.java (engineGetDigestLength):
Return 16.

From-SVN: r58807

21 years ago* libjava.compile/pr7912.java: New file.
Tom Tromey [Tue, 5 Nov 2002 04:07:39 +0000 (04:07 +0000)]
* libjava.compile/pr7912.java: New file.

From-SVN: r58806

21 years agore PR ada/8358 (Ada accesses freed memory)
Graham Stott [Tue, 5 Nov 2002 00:49:44 +0000 (00:49 +0000)]
re PR ada/8358 (Ada accesses freed memory)

PR ada/8358
* trans.c (gnu_pending_elaboration_lists): New GC root.
(build_unit_elab): Use..

From-SVN: r58804

21 years agolinker-map.gnu: Export string operator+.
Benjamin Kosnik [Mon, 4 Nov 2002 22:57:00 +0000 (22:57 +0000)]
linker-map.gnu: Export string operator+.

2002-11-04  Benjamin Kosnik  <bkoz@redhat.com>

* config/linker-map.gnu: Export string operator+.
Export __default_alloc_template::_S_force_new.
* testsuite/abi_check.cc: Output tweaks.

From-SVN: r58801

21 years agoFix bugs that showed up building Spec on ppc darwin.
Dale Johannesen [Mon, 4 Nov 2002 20:06:28 +0000 (20:06 +0000)]
Fix bugs that showed up building Spec on ppc darwin.

From-SVN: r58800

21 years agos390.c (s390_decompose_address): Use arg_pointer_rtx for comparison.
Ulrich Weigand [Mon, 4 Nov 2002 19:04:46 +0000 (19:04 +0000)]
s390.c (s390_decompose_address): Use arg_pointer_rtx for comparison.

* config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx
for comparison.

From-SVN: r58799

21 years agoTop level configury changes for RDA.
Kevin Buettner [Mon, 4 Nov 2002 18:40:27 +0000 (18:40 +0000)]
Top level configury changes for RDA.

From-SVN: r58797

21 years agoutilTest.java: New.
Andrew Haley [Mon, 4 Nov 2002 17:34:09 +0000 (17:34 +0000)]
utilTest.java: New.

2002-11-04  Andrew Haley  <aph@redhat.com>

        * libjava.lang/utilTest.java: New.
        * libjava.lang/utilTest.out: New.

From-SVN: r58795

21 years agohard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New.
Aldy Hernandez [Mon, 4 Nov 2002 16:58:39 +0000 (16:58 +0000)]
hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New.

2002-11-04  Aldy Hernandez  <aldyh@redhat.com>

* hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New.

* config/rs6000/rs6000.h (CLASS_CANNOT_CHANGE_MODE_P): Remove.
(CLASS_CANNOT_CHANGE_MODE): Remove.
(CANNOT_CHANGE_MODE_CLASS): New.

* config/alpha/alpha.h: Same.

* config/ia64/ia64.h: Same.

* config/mips/mips.h: Same.

* config/s390/s390.h: Same.

* config/sh/sh.h: Same.

* config/pa/pa64-regs.h: Same.

* config/sh/sh-protos.h (sh_cannot_change_mode_class): Add prototype.

* config/sh/sh.c (sh_cannot_change_mode_class): New.

* config/mips/mips-protos.h (mips_cannot_change_mode_class): Add
prototype.

* config/mips/mips.c (mips_cannot_change_mode_class): New.

* doc/tm.texi (Register Classes): Remove
CLASS_CANNOT_CHANGE_MODE and CLASS_CANNOT_CHANGE_MODE_P.
Document CANNOT_CHANGE_MODE_CLASS.

* reload.c (push_reload): Use CANNOT_CHANGE_MODE_CLASS.
(push_reload): Same.

* simplify-rtx.c (simplify_subreg): Same.

* reload1.c (choose_reload_regs): Same.

* recog.c (register_operand): Same.

* regrename.c (mode_change_ok): Change to use new
CANNOT_CHANGE_MODE_CLASS infrastructure.

* regclass.c (cannot_change_mode_set_regs): New.
Declare subregs_of_mode.
(regclass): Use subregs_of_mode.
Remove references to reg_changes_mode.
(init_reg_sets_1): Remove class_can_change_mode and
reg_changes_mode code.
(invalid_mode_change_p): New.
(dump_regclass): Use invalid_mode_change_p instead of
class_can_change_mode.
(regclass): Same.
(record_operand_costs): Do not set reg_changes_mode.

* local-alloc.c (struct qty): Remove changes_mode field.
(alloc_qty): Remove changes_mode initialization.
(update_qty_class): Remove set of changes_mode.
(find_free_reg): Use subregs_of_mode.

* global.c (find_reg): Use subregs_of_mode info.

* rtl.h (cannot_change_mode_set_regs): New prototype.
(invalid_mode_change_p): Same.
(REG_CANNOT_CHANGE_MODE_P): New macro.

* flow.c (mark_used_regs): Calculate subregs_of_mode.  Remove
REG_CHANGES_MODE.
(life_analysis): Clear subregs_of_mode.

* combine.c (subst): Pass class to CLASS_CANNOT_CHANGE_MODE_P.
Remove use of CLASS_CANNOT_CHANGE_MODE.
(simplify_set): Same.
(gen_lowpart_for_combine): Calculate subregs_of_mode.  Remove
REG_CHANGES_MODE.

* regs.h: Add extern for subregs_of_mode;
Include hard-reg-set and basic-block.
(REG_CHANGES_MODE): Delete.

From-SVN: r58794

21 years agoMore test code.
Anthony Green [Mon, 4 Nov 2002 14:00:15 +0000 (14:00 +0000)]
More test code.

From-SVN: r58793

21 years agoDaily bump.
GCC Administrator [Mon, 4 Nov 2002 08:17:09 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r58792

21 years agoClassLoader.java (loadClass): Call loadClass on VMClassLoader, not findClass.
Tom Tromey [Mon, 4 Nov 2002 06:17:55 +0000 (06:17 +0000)]
ClassLoader.java (loadClass): Call loadClass on VMClassLoader, not findClass.

* java/lang/ClassLoader.java (loadClass): Call loadClass on
VMClassLoader, not findClass.

From-SVN: r58786

21 years agojump.c (never_reached_warning): Don't set contains_insn until the first line note...
John David Anglin [Mon, 4 Nov 2002 05:01:21 +0000 (05:01 +0000)]
jump.c (never_reached_warning): Don't set contains_insn until the first line note is seen.

* jump.c (never_reached_warning): Don't set contains_insn until the
first line note is seen.

From-SVN: r58785

21 years agoAdd missing file.
Anthony Green [Mon, 4 Nov 2002 04:19:47 +0000 (04:19 +0000)]
Add missing file.

From-SVN: r58784

21 years agoNew test code
Anthony Green [Mon, 4 Nov 2002 04:17:59 +0000 (04:17 +0000)]
New test code

From-SVN: r58783

21 years agoNew tests.
Anthony Green [Mon, 4 Nov 2002 04:17:38 +0000 (04:17 +0000)]
New tests.

From-SVN: r58782

21 years ago* config/rs6000/rs6000.md (movti_string): Use string instructions.
David Edelsohn [Mon, 4 Nov 2002 03:04:10 +0000 (03:04 +0000)]
* config/rs6000/rs6000.md (movti_string): Use string instructions.

From-SVN: r58781

21 years agoresolve.cc (METHOD_NOT_THERE, [...]): Remove.
Jeff Sturm [Mon, 4 Nov 2002 02:45:31 +0000 (02:45 +0000)]
resolve.cc (METHOD_NOT_THERE, [...]): Remove.

* resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
(_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
_Jv_DetermineVTableIndex, to determine vtable offset.
(_Jv_DetermineVTableIndex): Remove.
(_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.

* java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.

From-SVN: r58780

21 years agocall.c (build_special_member_call): Do not try to lookup VTTs by name.
Mark Mitchell [Mon, 4 Nov 2002 01:45:58 +0000 (01:45 +0000)]
call.c (build_special_member_call): Do not try to lookup VTTs by name.

* call.c (build_special_member_call): Do not try to lookup VTTs by
name.
* class.c (vtbl_init_data): Add generate_vcall_entries.
(get_vtable_decl): Do not look up virtual tables by name.
(copy_virtuals): Do not use BV_USE_VCALL_INDEX_P.
(set_primary_base): Do not set CLASSTYPE_RTTI.
(determine_primary_base): Likewise.
(get_matching_virtual): Remove.
(get_vcall_index): New function.
(update_vtable_entry_for_fn): Do not try to use virtual thunks
when they are not required.  Assign vcall indices at this point.
(finish_struct_1): Do not set CLASSTYPE_NEEDS_VIRTUAL_REINIT.
Do update dynamic_classes.
(build_vtt): Do not add VTTs to the symbol table.
(build_ctor_vtbl_group): Likewise.
(build_vtbl_initializer): Simplify handling of vcall indices.
(build_vcall_offset_vtbl_entries): Pretend to build vcall offsets
for the most derived class.
(add_vcall_offset_vtbl_entries_1): But do not actually add them to
the vtable.
* cp-tree.h (dynamic_classes): New macro.
(lang_type_class): Remove rtti.  Add vtables.  Add vcall_indices.
(CLASSTYPE_RTTI): Remove.
(CLASSTYPE_NEEDS_VIRTUAL_REINIT): Remove.
(CLASSTYPE_VCALL_INDICES): New macro.
(CLASSTYPE_VTABLES): Likewise.
(BV_USE_VCALL_INDEX_P): Remove.
(build_vtable_path): Remove.
* decl2.c (finish_vtable_vardecl): Remove.
(key_method): Remove #if 0'd code.
(finish_vtable_vardecl): Rename to ...
(maybe_emit_vtables): ... this.
(finish_file): Use it.
* search.c (look_for_overrides_here): Update comment.

* g++.dg/abi/thunk1.C: New test.
* g++.dg/abi/thunk2.C: Likewise.
* g++.dg/abi/vtt1.C: Likewise.

From-SVN: r58779

21 years agoNew files.
Anthony Green [Mon, 4 Nov 2002 01:31:12 +0000 (01:31 +0000)]
New files.

From-SVN: r58778

21 years agore PR c/7128 (Undeclared variables as asm argument cause ICE)
Roger Sayle [Mon, 4 Nov 2002 00:22:57 +0000 (00:22 +0000)]
re PR c/7128 (Undeclared variables as asm argument cause ICE)

PR c/7128
* c-typeck.c (c_expand_asm_operands): Defend against
error_mark_nodes in the output argument to avoid ICE.

From-SVN: r58777

21 years agore PR middle-end/8408 (simple legal c program ice in fixup_var_refs_1, at function...
Eric Botcazou [Sun, 3 Nov 2002 23:42:51 +0000 (00:42 +0100)]
re PR middle-end/8408 (simple legal c program ice in fixup_var_refs_1, at function.c:1938)

        PR middle-end/8408
        * genrecog.c (preds): Handle ADDRESSOF.
        (validate_pattern): Mark it as an lvalue.
* gcc.c-torture/compile/20021103-1.c: New.

From-SVN: r58774

21 years agoAlreadyConnectedException.java: Extend IllegalStateException, per spec.
Tom Tromey [Sun, 3 Nov 2002 21:18:32 +0000 (21:18 +0000)]
AlreadyConnectedException.java: Extend IllegalStateException, per spec.

* java/nio/channels/AlreadyConnectedException.java: Extend
IllegalStateException, per spec.

From-SVN: r58773

21 years agoGNU Classpath merge.
Mark Wielaard [Sun, 3 Nov 2002 20:27:31 +0000 (20:27 +0000)]
GNU Classpath merge.

2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>

* java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).

2002-10-31  Wu Gansha <gansha.wu@intel.com>:

        * java/util/ArrayList.java (readObject, writeObject): Only read/write
        size items.

2002-10-31  Wu Gansha <gansha.wu@intel.com>:

        * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
        initial estimated size to avoid enlarge buffer frequently.

2002-10-31  Wu Gansha <gansha.wu@intel.com>:

* java/lang/reflect/Proxy.java (ProxyType): Set loader to System
ClassLoader when null.
(ProxyType.hashCode): Loader null check no longer needed.
(ProxyType.sameTypes): New method.
(ProxyType.equals): Use new method.

2002-10-31  Mark Wielaard  <mark@klomp.org>

        * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
length of String.
* java/net/URLEncoder.java (encode): Likewise.

2002-10-31  Mark Wielaard  <mark@klomp.org>

* java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
when stream is closed.
(closeEntry): Likewise.
(read): Likewise.
* java/util/zip/ZipOutputStream.java (putNextEntry): Throw
ZipException when no entry active.
(closeEntry): Likewise.
(write): Likewise.

From-SVN: r58772

21 years agoDaily bump.
GCC Administrator [Sun, 3 Nov 2002 08:17:09 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r58771

21 years agoinitexc.java (fail): Static initializers must be able to complete normally.
Tom Tromey [Sun, 3 Nov 2002 01:30:28 +0000 (01:30 +0000)]
initexc.java (fail): Static initializers must be able to complete normally.

* libjava.lang/initexc.java (fail): Static initializers must be
able to complete normally.  From Eric Blake.

From-SVN: r58765

21 years agoClass.h: Move JV_STATE_ERROR before JV_STATE_DONE.
Tom Tromey [Sat, 2 Nov 2002 23:52:56 +0000 (23:52 +0000)]
Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.

* java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
* java/lang/natClass.cc (initializeClass): Don't return just
because self==thread.

From-SVN: r58763

21 years ago* java-tree.h: Move JV_STATE_ERROR before JV_STATE_DONE.
Tom Tromey [Sat, 2 Nov 2002 23:52:26 +0000 (23:52 +0000)]
* java-tree.h: Move JV_STATE_ERROR before JV_STATE_DONE.

From-SVN: r58762

21 years agoinitexc.java: New file.
Tom Tromey [Sat, 2 Nov 2002 23:36:47 +0000 (23:36 +0000)]
initexc.java: New file.

* libjava.lang/initexc.java: New file.
* libjava.lang/initexc.out: New file.

From-SVN: r58761

21 years agore PR rtl-optimization/8423 (CSE1 not propagating __builtin_constant_p enough)
Diego Novillo [Sat, 2 Nov 2002 22:58:54 +0000 (22:58 +0000)]
re PR rtl-optimization/8423 (CSE1 not propagating __builtin_constant_p enough)

PR optimization/8423
* gcc.c-torture/execute/builtin-constant.c: New test.

From-SVN: r58760

21 years agors6000.c (rs6000_override_options): Use string instructions when optimizing for size.
David Edelsohn [Sat, 2 Nov 2002 21:55:55 +0000 (21:55 +0000)]
rs6000.c (rs6000_override_options): Use string instructions when optimizing for size.

        * config/rs6000/rs6000.c (rs6000_override_options): Use string
        instructions when optimizing for size.

From-SVN: r58759

21 years agore PR java/8415 (reflection bug: exception info for Method)
Tom Tromey [Sat, 2 Nov 2002 21:33:54 +0000 (21:33 +0000)]
re PR java/8415 (reflection bug: exception info for Method)

* class.c (make_method_value): Put class name, not signature, into
`throws' field.  For PR java/8415.

From-SVN: r58758

21 years agoFor PR java/8415:
Tom Tromey [Sat, 2 Nov 2002 21:33:30 +0000 (21:33 +0000)]
For PR java/8415:

* java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
* prims.cc (_Jv_FindClassFromSignature): Indentation fix.

From-SVN: r58757

21 years agoReverted erroneous checkin
Tom Tromey [Sat, 2 Nov 2002 21:29:36 +0000 (21:29 +0000)]
Reverted erroneous checkin

From-SVN: r58756

21 years agore PR java/6388 (Integer.MIN_VALUE == 0x80000000 optimized to false on powerpc)
Tom Tromey [Sat, 2 Nov 2002 21:26:28 +0000 (21:26 +0000)]
re PR java/6388 (Integer.MIN_VALUE == 0x80000000 optimized to false on powerpc)

Fix for PR java/6388.
* lex.h (JAVA_INTEGRAL_RANGE_ERROR): Wrap in do...while.
* java-tree.h (enum java_tree_index): New values
JTI_DECIMAL_INT_MAX_NODE, JTI_DECIMAL_LONG_MAX_NODE.
(decimal_int_max, decimal_long_max): New defines.
* lex.c (yylex): Rewrote range checking.  Sign extend literals.
(error_if_numeric_overflow): Rewrote range checking.
* decl.c (java_init_decl_processing): Initialize decimal_int_max,
decimal_long_max.

From-SVN: r58755

21 years agoMakefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do pass GCJFLAGS.
Andreas Schwab [Sat, 2 Nov 2002 16:14:50 +0000 (16:14 +0000)]
Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do pass GCJFLAGS.

* Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
pass GCJFLAGS.
(FLAGS_TO_PASS): Define.
* Makefile.in: Regenerated.

From-SVN: r58752

21 years agonews.texi: Fix .f -> .r
Toon Moene [Sat, 2 Nov 2002 14:40:31 +0000 (14:40 +0000)]
news.texi: Fix .f -> .r

2002-11-02  Toon Moene  <toon@moene.indiv.nluug.nl>

* news.texi: Fix .f -> .r

From-SVN: r58751

21 years agog77.texi: Correct documentation on generating C++ prototypes of Fortran routines...
Toon Moene [Sat, 2 Nov 2002 14:36:45 +0000 (14:36 +0000)]
g77.texi: Correct documentation on generating C++ prototypes of Fortran routines with f2c.

2002-11-02  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.texi: Correct documentation on generating C++ prototypes
of Fortran routines with f2c.
* news.texi: Document fixes in GCC-3.3, 3.2 and 3.1.

From-SVN: r58750

21 years agog77.texi: Correct documentation on generating C++ prototypes of Fortran routines...
Toon Moene [Sat, 2 Nov 2002 14:30:12 +0000 (14:30 +0000)]
g77.texi: Correct documentation on generating C++ prototypes of Fortran routines with f2c.

2002-11-02  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.texi: Correct documentation on generating C++ prototypes
of Fortran routines with f2c.
* news.texi: Document fixes in GCC-3.3, 3.2 and 3.1.

From-SVN: r58749

21 years agoh8300.h: Fix comment typos.
Kazu Hirata [Sat, 2 Nov 2002 12:51:05 +0000 (12:51 +0000)]
h8300.h: Fix comment typos.

* config/h8300/h8300.h: Fix comment typos.
* config/h8300/h8300.md: Likewise.
* config/h8300/lib1funcs.asm: Likewise.

From-SVN: r58748

21 years agoRevert this change:
Gerald Pfeifer [Sat, 2 Nov 2002 10:28:09 +0000 (11:28 +0100)]
Revert this change:

*doc/install.texi (Installing GCC: Configuration): Clarify
the only supported ways to configure gcc.

From-SVN: r58746

21 years agoDaily bump.
GCC Administrator [Sat, 2 Nov 2002 08:17:09 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r58745

21 years agore PR libstdc++/8172 (undefined reference to operator+ for string)
Benjamin Kosnik [Sat, 2 Nov 2002 02:18:18 +0000 (02:18 +0000)]
re PR libstdc++/8172 (undefined reference to operator+ for string)

2002-11-01  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/8172
* src/string-inst.cc: Add instantiation.

From-SVN: r58738

21 years agoPR c/7353 redux
Zack Weinberg [Sat, 2 Nov 2002 02:17:41 +0000 (02:17 +0000)]
PR c/7353 redux

PR c/7353 redux
cp:
* decl2.c (grokfield): Reject TYPE_DECLs with initializers.
testsuite:
* g++.dg/ext/typedef-init.C, gcc.dg/typedef-init.C:
Add some more cases.

From-SVN: r58737

21 years agoh8300.md (anonymous and:QI pattern): Use 'n' instead of 'O' for the constraint for...
Kazu Hirata [Sat, 2 Nov 2002 01:44:00 +0000 (01:44 +0000)]
h8300.md (anonymous and:QI pattern): Use 'n' instead of 'O' for the constraint for the second operand.

* config/h8300/h8300.md (anonymous and:QI pattern): Use 'n'
instead of 'O' for the constraint for the second operand.

From-SVN: r58736

21 years agore PR libstdc++/7926 (i486 instructions in header files make c++ programs crash on...
Benjamin Kosnik [Sat, 2 Nov 2002 01:42:22 +0000 (01:42 +0000)]
re PR libstdc++/7926 (i486 instructions in header files make c++ programs crash on i386)

2002-11-01  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/7926
* configure.target: Simplify.
* config/cpu/i386/atomicity.h: Remove.
* config/cpu/i386: Remove.
* config/cpu/arm/atomicity.h: Remove.
* config/cpu/arm: Remove.
* config/cpu/x86-64/atomicity.h: Remove.
* config/cpu/x86-64: Remove.

From-SVN: r58735

21 years agore PR c++/8391 (infinite loop in cp/decl2.c(finish_file))
Mark Mitchell [Sat, 2 Nov 2002 01:03:03 +0000 (01:03 +0000)]
re PR c++/8391 (infinite loop in cp/decl2.c(finish_file))

PR c++/8391
* toplev.c (rest_of_compilation): Do not refuse to output code for
an inline function in a local class.

PR c++/8391
* g++.dg/opt/local1.C: New test.

From-SVN: r58734

21 years agoFor PR java/8415:
Tom Tromey [Sat, 2 Nov 2002 00:19:52 +0000 (00:19 +0000)]
For PR java/8415:

* libjava.lang/pr8415.java: New file.
* libjava.lang/pr8415.out: New file.

From-SVN: r58732

21 years agofreebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
David O'Brien [Fri, 1 Nov 2002 22:19:38 +0000 (22:19 +0000)]
freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.

2002-11-01  David O'Brien  <obrien@FreeBSD.org>
* config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
(TRANSFER_FROM_TRAMPOLINE): Reformat.
Add comment.

Approved by:  Mark Mitchell <mark@codesourcery.com>
              Message-ID: <15490000.1036182355@warlock.codesourcery.com>

From-SVN: r58730

21 years ago* config/h8300/h8300.h (CAN_ELIMINATE): Simplify.
Kazu Hirata [Fri, 1 Nov 2002 21:36:37 +0000 (21:36 +0000)]
* config/h8300/h8300.h (CAN_ELIMINATE): Simplify.

From-SVN: r58729

21 years ago* config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.
Toshiyasu Morita [Fri, 1 Nov 2002 21:22:15 +0000 (21:22 +0000)]
* config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.

From-SVN: r58728

21 years agoia64.h (MASK_INLINE_DIV_LAT): Remove.
Steve Ellcey [Fri, 1 Nov 2002 20:25:35 +0000 (20:25 +0000)]
ia64.h (MASK_INLINE_DIV_LAT): Remove.

* config/ia64/ia64.h (MASK_INLINE_DIV_LAT): Remove.
(MASK_INLINE_DIV_THR): Remove.
(TARGET_INLINE_DIV_LAT): Remove.
(TARGET_INLINE_DIV_THR): Remove.
(TARGET_INLINE_DIV): Remove.
(MASK_INLINE_FLOAT_DIV_LAT): New macro.
(MASK_INLINE_FLOAT_DIV_THR): New macro.
(MASK_INLINE_INT_DIV_LAT): New macro.
(MASK_INLINE_INT_DIV_THR): New macro.
(TARGET_INLINE_FLOAT_DIV_LAT): New macro.
(TARGET_INLINE_FLOAT_DIV_THR): New macro.
(TARGET_INLINE_INT_DIV_LAT): New macro.
(TARGET_INLINE_INT_DIV_THR): New macro.
(TARGET_INLINE_FLOAT_DIV): New macro.
(TARGET_INLINE_INT_DIV): New macro.
* config/ia64/ia64.md (divsi3): Change to use new macros.
(modsi3): Ditto.
(udivsi3): Ditto.
(umodsi3): Ditto.
(divsi3_internal): Ditto.
(divdi3): Ditto.
(moddi3): Ditto.
(udivdi3): Ditto.
(umoddi3): Ditto.
(divdi3_internal_lat): Ditto.
(divdi3_internal_thr): Ditto.
(divsf3): Ditto.
(divsf3_internal_lat): Ditto.
(divsf3_internal_thr): Ditto.
(divdf3): Ditto.
(divdf3_internal_lat): Ditto.
(divdf3_internal_thr): Ditto.
(divtf3): Ditto.
(divtf3_internal_lat): Ditto.
(divtf3_internal_thr): Ditto.
* config/ia64/ia64.c (ia64_override_options): Change
to check new macros for conflicts in settings.
* doc/invoke.texi (-minline-divide-min-latency): Remove.
(-minline-divide-max-throughput): Remove.
(-minline-float-divide-min-latency): New.
(-minline-float-divide-max-throughput): New.
(-minline-int-divide-min-latency): New.
(-minline-int-divide-max-throughput): New.

From-SVN: r58727

21 years agomauve.exp (find_mauve_sources): New proc.
Tom Tromey [Fri, 1 Nov 2002 19:32:21 +0000 (19:32 +0000)]
mauve.exp (find_mauve_sources): New proc.

* libjava.mauve/mauve.exp (find_mauve_sources): New proc.
(test_mauve): Use it.
(test_mauve_sim): Likewise.

From-SVN: r58725

21 years agore PR libstdc++/8197 (std::sin(float) causes undefined reference to sinf)
Christian Ehrhardt [Fri, 1 Nov 2002 17:54:51 +0000 (17:54 +0000)]
re PR libstdc++/8197 (std::sin(float) causes undefined reference to sinf)

2002-11-01  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>

PR libstdc++/8197
* config/link-map.gnu: Export math stubbs.

From-SVN: r58721

21 years agore PR libstdc++/8318 (Not all wide character based prototypes are included within...
Benjamin Kosnik [Fri, 1 Nov 2002 17:30:36 +0000 (17:30 +0000)]
re PR libstdc++/8318 (Not all wide character based prototypes are included within #ifdef _GLIBCPP_USE_WCHAR_T)

2002-11-01  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/8318
* include/std/std_iostream.h: Tweak.
* include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
* include/std/std_iomanip.h: Same.
* include/bits/stringfwd.h: Same.
* include/bits/basic_string.tcc: Same.
* include/bits/sstream.tcc: Same.
* include/bits/fstream.tcc: Same.
* include/bits/basic_ios.tcc: Same.
* include/bits/streambuf.tcc: Same.
* include/bits/locale_facets.tcc: Same.

From-SVN: r58720

21 years agore PR libstdc++/7961 (compare( char *) implemented incorrectly.)
John Carter [Fri, 1 Nov 2002 15:21:17 +0000 (15:21 +0000)]
re PR libstdc++/7961 (compare( char *) implemented incorrectly.)

2002-11-01  John Carter  <john.carter@tait.co.nz>

PR libstdc++/7961
* include/bits/basic_string.tcc
(compare(const _CharT* __s)): Don't access __s past its length.

From-SVN: r58717

21 years agore PR target/7856 ([arm] invalid offset in constant pool reference)
Richard Earnshaw [Fri, 1 Nov 2002 14:41:57 +0000 (14:41 +0000)]
re PR target/7856 ([arm] invalid offset in constant pool reference)

PR target/7856
* arm.c (use_return_insn): Don't use a return insn if there are
saved integer regs, but LR is not one of them.

From-SVN: r58716

21 years agoByteOrder.java: New file.
Michael Koch [Fri, 1 Nov 2002 12:03:40 +0000 (12:03 +0000)]
ByteOrder.java: New file.

2002-11-01  Michael Koch  <konqueror@gmx.de>

* java/nio/ByteOrder.java: New file.
* java/nio/channels/DatagramChannel.java:
(DatagramChannel): New constructor.
* java/nio/channels/Pipe.java: New file.
* java/nio/channels/SelectableChannel.java: New file.
* java/nio/channels/SelectionKey.java: New file.
* java/nio/channels/Selector.java: New file.
* java/nio/channels/ServerSocketChannel.java
(ServerSocketChannel): New constructor.
* java/nio/channels/SocketChannel.java
(SocketChannel): New constructor.
* java/nio/channels/Pipe.java: New file.
* java/nio/channels/spi/AbstractChannel.java: New file.
* java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
* java/nio/channels/spi/AbstractSelectableChannel.java:
License added
(AbstractSelectableChannel): New stubbed method.
* java/nio/channels/spi/AbstractSelectionKey.java: New file.
* java/nio/channels/spi/AbstractSelector.java: New file.
* java/nio/channels/spi/SelectorProvider.java: New file.
* java/nio/charset/Charset.java: New file.
* java/nio/charset/CoderMalfunctionError.java: New file.
* java/nio/charset/CodingErrorAction.java: New file.
* java/nio/charset/spi/CharsetProvider.java
(charsetForName): Uncommented.
* Makefile.am (java_native_source_files): Added new files.
* Makefile.in: Regenerated.

From-SVN: r58713

21 years agoexpr.c (emit_move_insn): Use SCALAR_FLOAT_MODE_P
Jan Hubicka [Fri, 1 Nov 2002 09:35:24 +0000 (10:35 +0100)]
expr.c (emit_move_insn): Use SCALAR_FLOAT_MODE_P

* expr.c (emit_move_insn):  Use SCALAR_FLOAT_MODE_P
* machmode.h (SCALAR_FLOAT_MODE_P): New macro.

From-SVN: r58712

21 years agoDaily bump.
GCC Administrator [Fri, 1 Nov 2002 08:17:07 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r58711

21 years agore PR inline-asm/6162 (i386 asm reloader ice in reload_cse_simplify_operands)
Nathanael Nerode [Fri, 1 Nov 2002 07:05:57 +0000 (07:05 +0000)]
re PR inline-asm/6162 (i386 asm reloader ice in reload_cse_simplify_operands)

PR optimization/6162
* md.texi: Document restriction on commutative operand
specification.

From-SVN: r58705