aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-04-09sbitmap.c (sbitmap_union_of_diff, [...]): Do not return changed status.Richard Henderson5-123/+215
* sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b, sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c): Do not return changed status. (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg, sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg): New functions that do return changed status. * sbitmap.h: Update decls. * gcse.c, lcm.c: Use _cg functions as needed. From-SVN: r52094
2002-04-09config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h.J"orn Rennecke13-104/+150
* config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h. (sh64-*-elf*, sh-*-rtemself*): Likewise. * config/sh/embed_bb.c: New file. * config/sh/embed-elf.h: New file. * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__ if -m[12345]* option is given. Don't use subtarget_cpp_ptr_spec. (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and __PTRDIFF_TYPE__ . (SUBTARGET_CPP_PTR_SPEC): Don't define. (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec. Add subtarget_asm_endian_spec. (ASM_SPEC): Use subtarget_asm_endian_spec. (SUBTARGET_ASM_ENDIAN_SPEC): Define. (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5. (WCHAR_UNSIGNED): Define. (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define. (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER. (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5. Fix value. * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5. (sh_adjust_cost): Likewise. sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and __PTRDIFF_TYPE__ . (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define. (WCHAR_TYPE_SIZE): Likewise. (ASM_SPEC): Use subtarget_asm_endian_spec. (SH_ELF_WCHAR_TYPE): #undef/ #define. (MAX_WCHAR_TYPE_SIZE): Don't #undef. * config/sh/elf.h (WCHAR_UNSIGNED): #undef . (MAX_WCHAR_TYPE_SIZE): Don't #define . (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define . (USER_LABEL_PREFIX): Don't #undef /#define . (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER. * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define . (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise. (ASM_SPEC): Likewise. (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define . (CC1_SPEC): don't supply -m3 for -m4*, -m5*. * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE. (LIB2FUNCS_EXTRA): Define. * t-sh64 (LIB2FUNCS_EXTRA): Define. * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine. (LIB1ASMFUNCS_CACHE): Define. (LIB2FUNCS_EXTRA): Redefine empty. From-SVN: r52091
2002-04-09* reorg.c (get_branch_condition): Use reversed_comparison_code.Richard Henderson2-3/+12
From-SVN: r52090
2002-04-09larith.asm (__map_data_section): Fix condition and optimize for size.Stephane Carrez2-6/+20
* config/m68hc11/larith.asm (__map_data_section): Fix condition and optimize for size. (__do_global_ctors): Fix pointer comparison. (__do_global_dtors): Likewise. From-SVN: r52086
2002-04-09* win32.cc (_Jv_platform_initProperties): Use GetTempPath.Tom Tromey2-1/+5
From-SVN: r52084
2002-04-09re PR rtl-optimization/6189 (Regression from 3.0.x: g++ -O3 generates wrong ↵Jason Merrill1-0/+24
code) PR optimization/6189 * semantics.c (genrtl_start_function): Don't free DECL_SAVED_FUNCTION_DATA for inline functions. [[Split portion of a mixed commit.]] From-SVN: r52083.2
2002-04-09re PR rtl-optimization/6189 (Regression from 3.0.x: g++ -O3 generates wrong ↵Jason Merrill2-3/+12
code) PR optimization/6189 * semantics.c (genrtl_start_function): Don't free DECL_SAVED_FUNCTION_DATA for inline functions. From-SVN: r52082
2002-04-09sparc.c (sparc_extra_constraint_check): New function, implementing ↵David S. Miller4-34/+86
EXTRA_CONSTRAINTS. 2002-04-09 David S. Miller <davem@redhat.com> * config/sparc/sparc.c (sparc_extra_constraint_check): New function, implementing EXTRA_CONSTRAINTS. For memory constraints, allow reloading pseudos. * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it. * config/sparc/sparc-protos.h: Declare it. * config/sparc/sparc.c (const64_is_2insns): Kill signed vs. unsigned comparison warning. (output_restore_regs): Mark leaf_function as unused. From-SVN: r52080
2002-04-09init.c (build_member_call): For now, don't convert to intermediate base if ↵Jason Merrill3-3/+34
it would cause an error. * init.c (build_member_call): For now, don't convert to intermediate base if it would cause an error. From-SVN: r52078
2002-04-09expr.c (is_aligning_offset): New function.Richard Kenner2-0/+62
* expr.c (is_aligning_offset): New function. (expand_expr, case COMPONENT_EXPR): Call it. From-SVN: r52077
2002-04-09sstream.tcc: Clean up bit ops.Benjamin Kosnik3-8/+13
2002-04-09 Benjamin Kosnik <bkoz@redhat.com> Richard Henderson <rth@redhat.com> * include/bits/sstream.tcc: Clean up bit ops. * include/bits/fstream.tcc: Same. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r52070
2002-04-09locale_facets.h (__num_base::_S_scale_hex): Remove.Jakub Jelinek3-11/+7
2002-04-09 Jakub Jelinek <jakub@redhat.com> * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove. (__num_base::_S_scale_oct): Remove. * src/locale.cc (__num_base::_S_scale_hex): Remove. (__num_base::_S_scale_oct): Remove. From-SVN: r52068
2002-04-09bitset_members.cc: New test.Benjamin Kosnik5-649/+762
2002-04-09 Benjamin Kosnik <bkoz@redhat.com> libstdc++/6124 * testsuite/23_containers/bitset_members.cc: New test. * include/std/std_bitset.h (_Bit_count::_S_bit_count): Move.. (_S_bit_count): Here. (_First_one::_S_first_one): Move... (_S_first_one): Here. Format. * src/bitset.cc: Adjust. * config/linker-map.gnu: Export. From-SVN: r52066
2002-04-09Daily bump.GCC Administrator6-6/+6
From-SVN: r52064
2002-04-09Fix ChangeLog dateHans-Peter Nilsson1-1/+1
From-SVN: r52059
2002-04-09re PR objc/6107 (sparc-sun-solaris2.7 gcc-3.1 extra objc testsuite failures ↵Hans-Peter Nilsson2-2/+8
w/-m64) PR objc/6107 * objc/objc-api.h (struct objc_protocol_list): Change type of member count from int to size_t. From-SVN: r52058
2002-04-09fstream.tcc (filebuf::seekpos): Fix.Benjamin Kosnik6-53/+109
2002-04-08 Benjamin Kosnik <bkoz@redhat.com> libstdc++/5180 * include/bits/fstream.tcc (filebuf::seekpos): Fix. * include/std/std_fstream.h: Clean. * include/bits/ostream.tcc: Remove extraneous variables. * include/bits/sstream.tcc (stringbuf::seekoff): Be strict about open modes and which modes. (stringbuf::seekpos): Same. * testsuite/27_io/stringbuf_virtuals.cc: New tests. From-SVN: r52057
2002-04-09re PR java/6204 (gcj generates invalid byte code)Bryce McKinlay5-0/+81
* libjava.lang/PR6204.java, libjava.lang/PR6204.out: New test case. * libjava.lang/PR6085.java, libjava.lang/PR6085.out: Likewise. From-SVN: r52056
2002-04-09* include/private/gcconfig.h (DATAEND): Clarify comment.Loren J. Rittle2-0/+7
From-SVN: r52054
2002-04-09gc_priv.h (WARN macro): Add "GC warning:" prefix.Hans Boehm6-12/+68
* include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix. (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed): declare. * allchblk.c (GC_allchblk_nth): Change text and support reduced frequency for blacklist warning message. * misc.c (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed): define. (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and GC_LARGE_ALLOC_WARN_INTERVAL environment variables. * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate. (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation. * dyn_load.c (_DYNAMIC): Move declaration to file scope. From-SVN: r52053
2002-04-08java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE correctly.Hans Boehm4-10/+44
* src/java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLE correctly. * src/ia64/unix.S: Add unwind information. Fix comments. Save sp in a way that's compatible with unwind info. (ffi_call_unix): Correctly restore sp in all cases. * src/ia64/ffi.c: Add, fix comments. From-SVN: r52048
2002-04-08Fix commit goof: s/istarget/ishost/ for hostHans-Peter Nilsson7-7/+7
From-SVN: r52047
2002-04-08980628-4.x, [...]: New, xfail cross-endian tests.Hans-Peter Nilsson8-0/+78
* g77.f-torture/execute/980628-4.x, g77.f-torture/execute/980628-5.x, g77.f-torture/execute/980628-6.x, g77.f-torture/execute/alpha2.x, g77.f-torture/execute/auto0.x, g77.f-torture/execute/auto1.x, g77.f-torture/compile/alpha1.x: New, xfail cross-endian tests. From-SVN: r52046
2002-04-08Make-lang.in (f/target.o): Depend on diagnostic.h.Hans-Peter Nilsson3-3/+52
* Make-lang.in (f/target.o): Depend on diagnostic.h. * target.c: Include diagnostic.h. (ffetarget_memcpy_): Call sorry if host and target endians are not matching. From-SVN: r52043
2002-04-08* src/sparc/v8.S: Make .eh_frame dependent on target word size.Jakub Jelinek2-6/+20
From-SVN: r52041
2002-04-08re PR libgcj/6068 (libgcj build picks up libgcj.spec from install tree)Tom Tromey2-0/+9
* configure.in: Add FLAGS_FOR_TARGET to GCJ_FOR_TARGET. Fixes PR libgcj/6068. From-SVN: r52038
2002-04-08For PR libgcj/5303:Tom Tromey4-3/+162
* .cvsignore: Added rmic.1 and rmiregistry.1. * gcj.texi (Top): Link to new nodes. (Invoking rmic): New node. (Invoking rmiregistry): Likewise. * Make-lang.in (java.generated-manpages): Added rmic.1 and rmiregistry.1. (java.maintainer-clean): Likewise. ($(srcdir)/java/rmic.1): New target. ($(srcdir)/java/rmiregistry.1): Likewise. (java.install-man): Handle rmic.1 and rmiregistry.1. From-SVN: r52035
2002-04-08re PR target/6082 (memory model wrong for FreeBSD/sparc64)David S. Miller11-33/+102
2002-04-08 David S. Miller <davem@redhat.com> PR target/6082 * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW Make init_priority work on Sparc when using GNU ld. * config/sparc/linux.h, config/sparc/linux64.h, config/sparc/netbsd-elf.h, config/sparc/freebsd.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine. * config/sparc/sol2-gld.h: New file to do the same. * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add sparc/sol2-gld.h to tm_file. PR optimization/4328 * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'. * doc/md.texi: Document it. * config/sparc/sparc.md (movdi_insn_sp64_novis, movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis, movdf_insn_v9only_vis, movdf_insn_sp64_novis, movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers. * config/sparc/sparc.c (mem_min_alignment): Fix comment. From-SVN: r52031
2002-04-08Revert last patch from Richard Henderson.Andreas Jaeger2-35/+17
From-SVN: r52029
2002-04-08re PR libgcj/6187 (method distance of class java.awt.geom.Point2D causes ↵Alberto Biancardi2-1/+7
infinite recursion) 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it> Fix for PR libgcj/6187: * java/awt/geom/Point2D.java (distance): Call distanceSq, not distance. From-SVN: r52027
2002-04-08parse.y (namespace_qualifier, [...]): Add ending ';', in accordance with POSIX.Paolo Carlini2-0/+18
2002-04-08 Paolo Carlini <pcarlini@unitus.it> * parse.y (namespace_qualifier, maybe_identifier, begin_explicit_instantiation, end_explicit_instantiation, apparent_template_type, .finish_template_type, do_id, maybe_init, defarg_again, component_decl_1): Add ending ';', in accordance with POSIX. From-SVN: r52026
2002-04-08contrib.texi (Contributors): Add John David Anglin and Loren J. Rittle (the ↵Gerald Pfeifer2-0/+24
latter also to Testers). * doc/contrib.texi (Contributors): Add John David Anglin and Loren J. Rittle (the latter also to Testers). Update David O'Brien's entry. * doc/contrib.texi (Contributors): Add David O'Brien. From-SVN: r52024
2002-04-08gcj.texi (Invocation): Update JvAttachCurrentThread documentation.Bryce McKinlay2-9/+49
* gcj.texi (Invocation): Update JvAttachCurrentThread documentation. Add note about handling uncaught exceptions. Add an exception handler to example. From-SVN: r52022
2002-04-08Oops, commit right file.Alan Modra1-2/+2
From-SVN: r52021
2002-04-08configure.in (auto-build.h): Use target_alias and build_alias when running ↵Alan Modra3-54/+54
configure. * configure.in (auto-build.h): Use target_alias and build_alias when running configure. (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too. (gcc_cv_nm, gcc_cv_objdump): Set for build != host too. * configure: Regenerate. From-SVN: r52020
2002-04-08Daily bump.GCC Administrator6-6/+6
From-SVN: r52019
2002-04-08parse.y (resolve_qualified_expression_name): Clear "from_super" flag after ↵Bryce McKinlay2-0/+6
using it to patch CALL_EXPR. * parse.y (resolve_qualified_expression_name): Clear "from_super" flag after using it to patch CALL_EXPR. From-SVN: r52015
2002-04-08* gcj.texi (Invocation): Document CNI invocation API.Bryce McKinlay2-1/+67
From-SVN: r52012
2002-04-07config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.David S. Miller2-1/+5
2002-04-07 David S. Miller <davem@redhat.com> * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file. From-SVN: r52011
2002-04-08AbstractMap.java (putAll): Use entrySet size.Mark Wielaard2-5/+10
* java/util/AbstractMap.java (putAll): Use entrySet size. (toString): Explicitly use getKey() and getValue(). From-SVN: r52008
2002-04-07xfails: Add CASE_INSENSITIVE_ORDER...Mark Wielaard2-0/+18
* libjava.mauve/xfails: Add CASE_INSENSITIVE_ORDER, result was unspecified and test should be updated to match latest spec. Add AcuniaPropertiesTest, known bug #6219. Add test_getClassLoader, what we do seems to be not really right or wrong. From-SVN: r52006
2002-04-07re PR c++/5933 (HP-UX: broken MI of virtual classes)John David Anglin2-9/+68
PR 5933 * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when generating 32-bit pic code. From-SVN: r52004
2002-04-07re PR rtl-optimization/6086 (Reload misoptimizes DImode PREINC on PPC)Franz Sirl2-0/+64
2002-04-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> PR optimization/6086 * g++.dg/opt/preinc1.C: New test. From-SVN: r52001
2002-04-07Hashtable.java (contains): Remove NullPointer check.Mark Wielaard2-15/+16
* java/util/Hashtable.java (contains): Remove NullPointer check. (containsValue): Add NullPointer check. (remove): Always throw NullPointerException when key is null. From-SVN: r51994
2002-04-07typoBryce McKinlay1-1/+1
From-SVN: r51991
2002-04-07natSystem.cc (init_properties): Call new function _Jv_platform_initProperties.Adam King6-16/+167
2002-04-07 Adam King <aking@dreammechanics.com> * java/lang/natSystem.cc (init_properties): Call new function _Jv_platform_initProperties. * win32 (_Jv_platform_initProperties): New function that adds Win32 support for the System properties os.name, os.arch, os.version, user.name, user.home, and user.dir. * include/posix.h, include/win32.h, posix.cc: New function _Jv_platform_initProperties. From-SVN: r51989
2002-04-07mauve.exp: Use libgcj.jar not libgcj.zip.Mark Wielaard3-1/+12
* libjava.mauve/mauve.exp: Use libgcj.jar not libgcj.zip. * libjava.mauve/xfails: add Character.classify12 (number 1), Character.getType (number 11), Character.getType (number 20) and Character.getType (number 22). We implement 1.4 Character. From-SVN: r51987
2002-04-07Daily bump.GCC Administrator6-6/+6
From-SVN: r51986
2002-04-07* java/lang/Character,java (isDefined): getType() != UNASSIGNED.Mark Wielaard2-1/+5
From-SVN: r51982
2002-04-07ArrayList.java (addAll(int,Collection)): System.arraycopy all of the ↵Mark Wielaard3-5/+28
remaining elements. * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy all of the remaining elements. * java/util/Vector.java (addAll(int,Collection)): Likewise. (removeRange): If toIndex == fromIndex do nothing, if toIndex < fromIndex throw IndexOutIfBoundsException. (removeAll): Always throw NullPointerException when collection is null. (retrainAll): Likewise. From-SVN: r51979