aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-11-08* config/h8300/h8300.md (two anonymous test insns): New.Kazu Hirata2-0/+22
From-SVN: r58930
2002-11-08atomicity.h: Provide atomic __exchange_and_add and __atomic_add.Phil Edwards2-6/+27
2002-11-07 Phil Edwards <pme@gcc.gnu.org> Richard Earnshaw <rearnsha@arm.com> * config/cpu/generic/atomicity.h: Provide atomic __exchange_and_add and __atomic_add. Co-Authored-By: Richard Earnshaw <rearnsha@arm.com> From-SVN: r58929
2002-11-08monetary_members.cc (moneypunct<wchar_t, [...]): Tweak parameters for ↵Paolo Carlini2-1/+18
glibc2.3 systems, thus avoiding unused parameter warnings. 2002-11-08 Paolo Carlini <pcarlini@unitus.it> * config/locale/gnu/monetary_members.cc (moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale, const char*), moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale, const char*)): Tweak parameters for glibc2.3 systems, thus avoiding unused parameter warnings. From-SVN: r58928
2002-11-08jump.c (mark_jump_label): Handle subregs of label_refs.Jan Hubicka4-1/+15
* jump.c (mark_jump_label): Handle subregs of label_refs. * gcc.c-torture/compile/20021108-1.c: New testcase for x86-64 failure. From-SVN: r58921
2002-11-08Daily bump.GCC Administrator2-2/+2
From-SVN: r58919
2002-11-08class.c (add_vcall_offset_vtbl_entries_1): Correct ordering of vcall offfsets.Mark Mitchell4-95/+166
* class.c (add_vcall_offset_vtbl_entries_1): Correct ordering of vcall offfsets. Split out ... (add_vcall_offset): ... new function. * g++.dg/abi/vthunk3.C: New test. From-SVN: r58912
2002-11-08re PR c++/8338 (Infinite loop on illegal code)Mark Mitchell4-20/+97
PR c++/8338 * pt.c (for_each_template_parm): Add htab parameter. (process_partial_specialization): Adjust call. (push_template_decl_real): Likewise. (pair_fn_data): Add visited. (for_each_template_parm_r): Avoid walking duplicates more than once. (uses_template_parms): Adjust call to for_each_template_parm. PR c++/8338 * g++.dg/template/crash2.C: New test. From-SVN: r58911
2002-11-07crtend.asm: Include "auto-host.h".David Mosberger9-314/+438
* 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
2002-11-07class.c (add_implicitly_declared_members): Put implicitly declared functions ↵Mark Mitchell5-6/+64
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
2002-11-07[multiple changes]Jason Thorpe4-18/+171
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
2002-11-07backport: MarshalledObject.java (equals): Check hashcode first.Mark Wielaard18-196/+597
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
2002-11-07natField.cc (getBoolean): Use getType().Mark Wielaard2-42/+44
* 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
2002-11-07* arm/elf.h (TYPE_OPERAND_FMT): Prefix type with %.Richard Earnshaw2-1/+5
From-SVN: r58897
2002-11-07* sh.h (DWARF_FRAME_RETURN_COLUMN): Use DWARF_FRAME_REGNUM.J"orn Rennecke2-1/+6
From-SVN: r58895
2002-11-07removed bogus ChangeLog entryTom Tromey1-4/+0
From-SVN: r58894
2002-11-07dostime.c: Rewrote from scratch.Tom Tromey3-102/+57
* dostime.c: Rewrote from scratch. * dostime.h (dostime): Removed. From-SVN: r58892
2002-11-07Choice.java, [...]: Fixed documentation.Michael Koch5-14/+20
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
2002-11-07* reg-stack.c (compensate_edge): Fix sanity check.Jan Hubicka1-0/+4
From-SVN: r58886
2002-11-07ICC_Profile.java: Added missing constants.Michael Koch11-20/+195
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
2002-11-07Daily bump.GCC Administrator2-2/+2
From-SVN: r58884
2002-11-07Index: ChangeLogGeoffrey Keating13-132/+457
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
2002-11-07re PR libgcj/8481 (java.Random.nextInt(int) may return negative)Tom Tromey2-2/+7
From svens@it.uu.se. For PR libgcj/8481. * java/util/Random.java (nextInt(int)): Only use 31 bits. From-SVN: r58876
2002-11-06re PR target/8480 (reload ICEs for LAPACK code on powerpc64-linux)David Edelsohn2-1/+7
PR target/8480 * config/rs6000/rs6000.md (movdi_internal64): Discourage FPR to FPR moves. From-SVN: r58873
2002-11-07contrib.texi: Merge in the list from the Java web pages.Janis Johnson2-13/+250
2002-11-06 Janis Johnson <janis187@us.ibm.com> * doc/contrib.texi: Merge in the list from the Java web pages. From-SVN: r58869
2002-11-06gjavah.c (print_stub_or_jni): Include JNIEXPORT and JNICALL in a JNI header.Tom Tromey2-1/+9
* gjavah.c (print_stub_or_jni): Include JNIEXPORT and JNICALL in a JNI header. From-SVN: r58867
2002-11-06freebsd: Fix typo.David O'Brien2-1/+5
2002-11-06 David O'Brien <obrien@FreeBSD.org> * config/sparc/freebsd: Fix typo. From-SVN: r58865
2002-11-06* pa64-hpux.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Define.John David Anglin2-0/+19
From-SVN: r58863
2002-11-06mips.md (call_value_multiple_internal2): Use dla for non-SImode addresses.Alexandre Oliva2-2/+7
* config/mips/mips.md (call_value_multiple_internal2): Use dla for non-SImode addresses. From-SVN: r58862
2002-11-06jni.cc (array_from_valist): Assume that jlong won't be promoted.Tom Tromey2-2/+13
* jni.cc (array_from_valist): Assume that jlong won't be promoted. From-SVN: r58859
2002-11-06Daily bump.GCC Administrator2-2/+2
From-SVN: r58856
2002-11-06* libjava.jacks/jacks.exp: New file.Tom Tromey2-0/+85
From-SVN: r58850
2002-11-06* decl2.c (finish_file): Correct spelling.Geoffrey Keating2-1/+5
From-SVN: r58847
2002-11-06std_sstream.h (basic_stringbuf::str(const __string_type&)): Prefer data() to ↵Jonathan Wakely2-1/+8
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
2002-11-06re PR java/6388 (Integer.MIN_VALUE == 0x80000000 optimized to false on powerpc)Tom Tromey5-42/+67
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
2002-11-05re PR libstdc++/8258 (basic_istream::readsome() with default buffer change ↵Benjamin Kosnik3-9/+43
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
2002-11-05re PR libstdc++/8466 (basic_stringbuf::str(basic_string const&) modifies its ↵Paolo Carlini3-1/+27
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
2002-11-05* config/xtensa/elf.h (LIB_SPEC): Add "-lhal".Bob Wilson2-1/+5
From-SVN: r58837
2002-11-05* configure.target (hppa*): Define cpu_include_dir.John David Anglin2-0/+4
From-SVN: r58835
2002-11-05os_defines.h (_GLIBCPP_INST_ATOMICITY_LOCK): Define.John David Anglin4-0/+102
* 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
2002-11-05pa64-hpux.h (LIB_SPEC): Fix p and pg options.John David Anglin2-8/+9
* pa64-hpux.h (LIB_SPEC): Fix p and pg options. (STARTFILE_SPEC): Remove p and pg options. From-SVN: r58824
2002-11-05re PR libstdc++/8463 (std::ios_base has a non-virtual destructor)Benjamin Kosnik2-1/+6
2002-11-05 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/8463 * include/bits/ios_base.h (~ios_base): Make virtual. From-SVN: r58823
2002-11-05fold-const.c (fold): Don't transform (a0 op compound(a1,a2)) to ↵Andrew Haley2-1/+8
(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
2002-11-05mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to...Richard Sandiford3-18/+21
* config/mips/mips.h (CANNOT_CHANGE_MODE_CLASS): Move comment to... * config/mips/mips.c (mips_cannot_change_mode_class): ...here. From-SVN: r58821
2002-11-05Daily bump.GCC Administrator2-2/+2
From-SVN: r58818
2002-11-05941014-1.x: thumb-elf was deprecated, use -mthumb.Adam Nemet2-3/+18
* gcc.c-torture/execute/941014-1.x: thumb-elf was deprecated, use -mthumb. Only xfail with -O0. From-SVN: r58809
2002-11-05* MAINTAINERS (Write After Approval): Add myself.Adam Nemet2-0/+5
From-SVN: r58808
2002-11-05SHA.java (engineGetDigestLength): Return 20.R. A. Rivas Diaz3-3/+10
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
2002-11-05* libjava.compile/pr7912.java: New file.Tom Tromey2-0/+12
From-SVN: r58806
2002-11-05re PR ada/8358 (Ada accesses freed memory)Graham Stott2-0/+16
PR ada/8358 * trans.c (gnu_pending_elaboration_lists): New GC root. (build_unit_elab): Use.. From-SVN: r58804
2002-11-04linker-map.gnu: Export string operator+.Benjamin Kosnik3-8/+81
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