aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2002-11-04Fix bugs that showed up building Spec on ppc darwin.Dale Johannesen3-13/+29
From-SVN: r58800
2002-11-04s390.c (s390_decompose_address): Use arg_pointer_rtx for comparison.Ulrich Weigand2-6/+10
* config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx for comparison. From-SVN: r58799
2002-11-04Top level configury changes for RDA.Kevin Buettner4-6/+19
From-SVN: r58797
2002-11-04utilTest.java: New.Andrew Haley3-0/+66
2002-11-04 Andrew Haley <aph@redhat.com> * libjava.lang/utilTest.java: New. * libjava.lang/utilTest.out: New. From-SVN: r58795
2002-11-04hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New.Aldy Hernandez26-232/+303
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
2002-11-04More test code.Anthony Green4-0/+40
From-SVN: r58793
2002-11-04Daily bump.GCC Administrator2-2/+2
From-SVN: r58792
2002-11-04ClassLoader.java (loadClass): Call loadClass on VMClassLoader, not findClass.Tom Tromey2-8/+17
* java/lang/ClassLoader.java (loadClass): Call loadClass on VMClassLoader, not findClass. From-SVN: r58786
2002-11-04jump.c (never_reached_warning): Don't set contains_insn until the first line ↵John David Anglin2-1/+6
note is seen. * jump.c (never_reached_warning): Don't set contains_insn until the first line note is seen. From-SVN: r58785
2002-11-04Add missing file.Anthony Green1-1/+2
From-SVN: r58784
2002-11-04New test codeAnthony Green1-0/+5
From-SVN: r58783
2002-11-04New tests.Anthony Green2-0/+52
From-SVN: r58782
2002-11-03* config/rs6000/rs6000.md (movti_string): Use string instructions.David Edelsohn2-8/+19
From-SVN: r58781
2002-11-04resolve.cc (METHOD_NOT_THERE, [...]): Remove.Jeff Sturm3-227/+15
* 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
2002-11-04call.c (build_special_member_call): Do not try to lookup VTTs by name.Mark Mitchell10-245/+291
* 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
2002-11-04New files.Anthony Green8-0/+147
From-SVN: r58778
2002-11-04re PR c/7128 (Undeclared variables as asm argument cause ICE)Roger Sayle2-1/+11
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
2002-11-03re PR middle-end/8408 (simple legal c program ice in fixup_var_refs_1, at ↵Eric Botcazou3-7/+25
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
2002-11-03AlreadyConnectedException.java: Extend IllegalStateException, per spec.Tom Tromey2-5/+8
* java/nio/channels/AlreadyConnectedException.java: Extend IllegalStateException, per spec. From-SVN: r58773
2002-11-03GNU Classpath merge.Mark Wielaard9-32/+109
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
2002-11-03Daily bump.GCC Administrator2-2/+2
From-SVN: r58771