aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-08-17BigInteger.java (randBytes): New method.Mark J Roberts2-12/+16
2001-08-17 Mark J Roberts <mjr@anarcast.net> * java/math/BigInteger.java (randBytes): New method. (BigInteger(int,Random)): Use randBytes. From-SVN: r44984
2001-08-17sbitmap.c: Fix comment formatting.Kazu Hirata13-37/+52
* sbitmap.c: Fix comment formatting. * sched-deps.c: Likewise. * sibcall.c: Likewise. * simplify-rtx.c: Likewise. * ssa.c: Likewise. * ssa-ccp.c: Likewise. * stor-layout.c: Likewise. * timevar.c: Likewise. * toplev.c: Likewise. * unwind-dw2.c: Likewise. * unwind-dw2-fde.c: Likewise. * varasm.c: Likewise. From-SVN: r44983
2001-08-17[multiple changes]Alexandre Petit-Bianco8-157/+371
2001-08-16 Alexandre Petit-Bianco <apbianco@redhat.com> * jcf-parse.c (load_class): New locals saved and class_loaded. If loading a class_or_name fails, try considering an innerclass name and load the enclosing context. * parse.y (resolve_inner_class): New function. (find_as_inner_class): Added leading comment. (register_incomplete_type): Keep the current context as enclosing context for JDEP_FIELD dependencies. (do_resolve_class): Locals new_class_decl and super initialized to NULL. Call resolve_inner_class, explore the enclosing context superclass if necessary. Fixes PR java/4007 2001-08-12 Alexandre Petit-Bianco <apbianco@redhat.com> * decl.c (init_decl_processing): exception_type_node, class_not_found_type_node, and no_class_def_found_type_node initialized. predef_filenames augmented accordingly. instinit_identifier_node initialized. * java-tree.def (INSTANCE_INITIALIZERS_EXPR): Entry removed. * java-tree.h (enum java_tree_index): New entries JTI_EXCEPTION_TYPE_NODE, JTI_CLASS_NOT_FOUND_TYPE_NODE, JTI_NO_CLASS_DEF_FOUND_TYPE_NODE, JTI_INSTINIT_IDENTIFIER_NODE. (exception_type_node): New macro. (class_not_found_type_node): Likewise. (no_class_def_found_type_node): Likewise. (instinit_identifier_node): Likewise. (PREDEF_FILENAMES_SIZE): Adjusted. (TYPE_HAS_FINAL_VARIABLE): Fixed typo. (struct lang_type): Fixed typo in bitfield name. (DECL_INSTINIT_P): New macro. (ID_INSTINIT_P): Likewise. * jcf-write.c (generate_classfile): instinit$ bears the Synthetic attribute. * parse.y (encapsulate_with_try_catch): New function. (generate_instinit): Likewise. (build_instinit_invocation): Likewise. (ctors_unchecked_throws_clause_p): Likewise. (add_instance_initializer): Deleted. (build_instance_initializer): Likewise. (in_instance_initializer): Likewise. (check_method_redefinition): instinit$ not to be verified. (java_complete_expand_methods): Generate instinit$, simplified code. (build_dot_class_method): Eliminated unnecessary locals. Use encapsulate_with_try_catch, removed unnecessary code. (fix_constructors): New local iii. Use build_instinit_invocation. (patch_method_invocation): Added comment. (maybe_use_access_method): Don't consider instinit$. (find_applicable_accessible_methods_list): Shorten the search for instinit$ too. (java_complete_lhs): case INSTANCE_INITIALIZERS_EXPR removed. (patch_return): Use DECL_INSTINIT_P instead of in_instance_initializer. (patch_throw_statement): Likewise. Fixed typo. 2001-08-09 Alexandre Petit-Bianco <apbianco@redhat.com> * expr.c (java_lang_expand_expr): Call `expand_end_bindings' and `poplevel' in the right order. (http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01061.html ) From-SVN: r44982
2001-08-17pa.h (RETURN_IN_MEMORY): Return types with a size that is varable or larger ↵John David Anglin2-2/+9
than an integer in memory. * pa.h (RETURN_IN_MEMORY): Return types with a size that is varable or larger than an integer in memory. From-SVN: r44981
2001-08-17system.h: Forward-declare struct rtx_def, struct rtvec_def, and union tree_node.Zack Weinberg4-95/+107
* system.h: Forward-declare struct rtx_def, struct rtvec_def, and union tree_node. Typedef rtx, rtvec, and tree. Fix comment. * rtl.h: Don't forward-declare union tree_node here. Don't typedef rtx or rtvec here. Change all uses of struct rtx_def *, struct rtvec_def *, or union tree_node * to use rtx, rtvec, and tree respectively. * tree.h: Don't forward-declare struct rtx_def here. Don't typedef tree here. Change all uses of struct rtx_def *, struct rtvec_def *, or union tree_node * to use rtx, rtvec, and tree respectively. From-SVN: r44980
2001-08-17configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.Christopher Faylor3-72/+92
* configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin. * configure: Regenerate. From-SVN: r44979
2001-08-17Add commentary.Richard Henderson1-1/+24
From-SVN: r44978
2001-08-17elf.h, [...]: Fix typos last change.Richard Henderson5-24/+29
* config/mips/elf.h, config/mips/elf64.h, config/mips/netbsd.h, config/mips/openbsd.h: Fix typos last change. From-SVN: r44977
2001-08-17invoke.texi (Optimize Options): The default for -finline-limit is 600.Gerald Pfeifer2-1/+7
* doc/invoke.texi (Optimize Options): The default for -finline-limit is 600. From-SVN: r44975
2001-08-17* doc/tm.texi (Sections): Document TEXT_SECTION.Richard Henderson2-0/+9
From-SVN: r44974
2001-08-17varasm.c (text_section): Allow TEXT_SECTION to override the printing of ↵Richard Henderson10-60/+128
TEXT_SECTION_ASM_OP. * varasm.c (text_section): Allow TEXT_SECTION to override the printing of TEXT_SECTION_ASM_OP. * dwarf2out.c (TEXT_SECTION_NAME): Rename from TEXT_SECTION. (DATA_SECTION, BSS_SECTION): Remove. * dwarfout.c (TEXT_SECTION_NAME, DATA_SECTION_NAME, DATA1_SECTION_NAME, RODATA_SECTION_NAME, RODATA1_SECTION_NAME, BSS_SECTION_NAME): Rename from s/_NAME//. * config/mips/mips.h (TARGET_FILE_SWITCHING): Add !TARGET_MIPS16. (ASM_DECLARE_FUNCTION_NAME): Move file switching ... (TEXT_SECTION): ... here. New. * config/mips/elf.h (TEXT_SECTION): New; no file switching. * config/mips/elf64.h, config/mips/netbsd.h: Likewise. * config/mips/openbsd.h: Likewise. * config/mips/mips.c (mips_asm_file_start): Tidy file switching test. (mips_asm_file_end): Likewise test. (mips_output_function_epilogue): Likewise. Switch back to data section after emitting the function. From-SVN: r44973
2001-08-17Initial revisionTom Tromey15-0/+11927
From-SVN: r44969
2001-08-17dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.Richard Henderson2-12/+17
* dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here. (dwarf2out_finish): Do it here. Emit .debug_loc before .debug_info. From-SVN: r44968
2001-08-17varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN.Richard Henderson3-17/+37
* varasm.c (assemble_variable): Don't overalign if DECL_USER_ALIGN. * crtstuff.c (__CTOR_LIST__, __DTOR_LIST__, __EH_FRAME_BEGIN__, __JCR_LIST__, __CTOR_END__, __DTOR_END__, __FRAME_END__,__JCR_END__): Add aligned attribute. From-SVN: r44966
2001-08-17* gnu/gcj/convert/IOConverter.java: Add `646' alias.Tom Tromey2-0/+9
From-SVN: r44965
2001-08-17* BigInteger.java: fix right shifts by nonzero multiples of 32.Hans Boehm1-0/+4
From-SVN: r44964
2001-08-17* BigInteger.java: fix right shifts by nonzero multiples of 32.Hans Boehm1-1/+1
From-SVN: r44963
2001-08-17sh.md: Add modes to unspecs in first insn to match those in the second.Andrew Haley3-3/+10
2001-08-10 Andrew Haley <aph@cambridge.redhat.com> * config/sh/sh.md: Add modes to unspecs in first insn to match those in the second. * Makefile.in: Fix collect2 copy for Cygwin. From-SVN: r44962
2001-08-17Install the proper patch.Jan Hubicka4-23/+40
* function.c (put_var_into_stack): Temporarily clear DECL_RTL. (assign_params): Avoid setting DECL_RTL to unfinished RTX. (expand_function_start): Likewise. * stmt.c (expand_decl): Likewise. * varasm.c (make_decl_rtx): Likewise. From-SVN: r44961
2001-08-17final.c: Undo my previous accidental checkin.Jan Hubicka4-133/+64
* final.c: Undo my previous accidental checkin. * output.h: Likewise. * tm.texi: Likewise. From-SVN: r44960
2001-08-17Daily bump.GCC Administrator6-6/+6
From-SVN: r44959
2001-08-17cvt.c (convert_to_void): Preserve TREE_SIDE_EFFECTS on COMPOUND_EXPRs.Mark Mitchell2-2/+12
* cvt.c (convert_to_void): Preserve TREE_SIDE_EFFECTS on COMPOUND_EXPRs. From-SVN: r44956
2001-08-16varasm.c (named_section_flags): Remove align parameter.Richard Henderson19-147/+191
* varasm.c (named_section_flags): Remove align parameter. * varasm.c, dwarf2out.c: Update all callers. * output.h: Update prototypes. * target.h (target.asm_out.named_section): Remove align parameter. * varasm.c, config/a29k/a29k.c, config/alpha/alpha.c, config/arm/arm.c, config/c4x/c4x.c, config/h8300/h8300.c, config/i386/i386.c, config/i386/winnt.c, config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.c, config/rs6000/rs6000.c, config/sh/sh.c, config/sparc/sparc.c: Update implementations to match. * varasm.c (in_named_entry_eq, in_named_entry_hash): New. (get_named_section_flags, set_named_section_flags): New. (named_section_flags): Use them. (named_section): Do decl vs section flags check here... (default_section_type_flags): ... not here. (init_varasm_once): Create in_named_htab. (resolve_unique_section): Mark reloc unused. From-SVN: r44953
2001-08-16varasm.c (force_const_mem): Keep pool alignment in bits.Richard Henderson2-8/+10
* varasm.c (force_const_mem): Keep pool alignment in bits. (output_constant_pool): Use assemble_align. From-SVN: r44952
2001-08-17* doc/tm.texi: Remove extra @table command.Zack Weinberg2-1/+4
From-SVN: r44951
2001-08-16* hashtab.c (htab_hash_string): New.Richard Henderson2-0/+20
From-SVN: r44950
2001-08-16* hashtab.h (htab_hash_string): Declare.Richard Henderson2-0/+7
From-SVN: r44949
2001-08-17final.c (shorten_branches): Clear the end of the label_align array only if ↵Zack Weinberg5-54/+90
we made it larger. * final.c (shorten_branches): Clear the end of the label_align array only if we made it larger. Break up messy expressions for clarity. * diagnostic.c (internal_error): Check for error recursion before doing ICE suppression. * timevar.c: Timing variables now count in milliseconds. (init_timevar): Set up ticks_to_msec and clocks_to_msec here. (get_time): Not here. (timevar_print): Don't print any timer whose user, cpu, and wall times are all zero as displayed. * timevar.h: Update comment aboout units. Make timevar counters unsigned. From-SVN: r44948
2001-08-16jcf-dump.c (main): Updated for change to jcf_path_seal.Tom Tromey6-10/+47
* jcf-dump.c (main): Updated for change to jcf_path_seal. * gjavah.c (main): Updated for change to jcf_path_seal. * lang.c (version_flag): New global. (java_decode_option): Recognize `-version'. (java_init): Update for change to jcf_path_seal. * jcf.h (jcf_path_seal): Added `print' argument. * jcf-path.c (jcf_path_seal): Added `print' argument. From-SVN: r44946
2001-08-16pr3743.x: Do not return 1 for xfail.David Billinghurst3-4/+9
2001-08-16 David Billinghurst <David.Billinghurst@riotinto.com> * g77.f-torture/compile/pr3743.x: Do not return 1 for xfail. Fix thinko. * g77.f-torture/execute/f90-intrinsic-bit.x: Do not return 1 for xfail. From-SVN: r44945
2001-08-16configure.target: Set LIMITSH for powerpc-*-*.Franz Sirl3-0/+42
2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * configure.target: Set LIMITSH for powerpc-*-*. * config/cpu/powerpc/bits/limits.h: New file. From-SVN: r44944
2001-08-16tweak commentJason Merrill1-1/+5
From-SVN: r44942
2001-08-16Add myself to people who can write after approvalJanis Johnson1-0/+1
From-SVN: r44941
2001-08-16Thu Aug 16 17:39:45 CEST 2001 Jan Hubicka <jh@suse.cz>Jan Hubicka4-58/+134
* function.c (put_var_into_stack): Temporarily clear DECL_RTL. (assign_params): Avoid setting DECL_RTL to unfinished RTX. (expand_function_start): Likewise. * stmt.c (expand_decl): Likewise. * varasm.c (make_decl_rtx): Likewise. From-SVN: r44940
2001-08-16stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN.Jason Merrill2-2/+7
* stor-layout.c (layout_decl): Don't set DECL_USER_ALIGN. (finalize_record_size): Don't set TYPE_USER_ALIGN. From-SVN: r44937
2001-08-16i386.c (ix86_init_mmx_sse_builtins): Remove unused variables.Matt Kraai2-17/+5
* config/i386/i386.c (ix86_init_mmx_sse_builtins): Remove unused variables. From-SVN: r44936
2001-08-16configure.in: Check for <sys/types.h>.Marc Espie4-5/+15
2001-08-16 Marc Espie <espie@openbsd.org> * configure.in: Check for <sys/types.h>. * configure: Rebuild. * config.h.in: Rebuild. * libmath/mathconf.h: Include <sys/types.h> prior to <machine/endian.h> if available. From-SVN: r44935
2001-08-16s390.c: Include "debug.h" for dwarf2out_do_frame prototype.Andreas Jaeger2-1/+6
* config/s390/s390.c: Include "debug.h" for dwarf2out_do_frame prototype. From-SVN: r44933
2001-08-16Daily bump.GCC Administrator6-6/+6
From-SVN: r44931
2001-08-15jni.cc: Include IdentityHashMap.h, not Hashtable.h.Tom Tromey7-11/+442
* jni.cc: Include IdentityHashMap.h, not Hashtable.h. (local_ref_table, global_ref_table): Now IdentityHashMap. (_Jv_JNI_Init): Updated for new types. (mark_for_gc): Likewise. (unmark_for_gc): Likewise. * gcj/javaprims.h: Rebuilt class list. * Makefile.in: Rebuilt. * Makefile.am (core_java_source_files): Added new file. * java/util/IdentityHashMap.java: New file. From-SVN: r44929
2001-08-15natIconv.cc (read): Handle EINVAL and E2BIG correctly.Tom Tromey2-4/+12
* gnu/gcj/convert/natIconv.cc (read): Handle EINVAL and E2BIG correctly. From-SVN: r44928
2001-08-15rtl.h (only_sets_cc0_p): New prototype.John Wehle6-6/+42
* rtl.h (only_sets_cc0_p): New prototype. * jump.c (sets_cc0_p): Handle INSN. (only_sets_cc0_p): New function. * flow.c (merge_blocks_nomove): Use only_sets_cc0_p. (tidy_fallthru_edge): Likewise. * integrate.c (copy_insn_list): Likewise. * unroll.c (unroll_loop): Likewise. (copy_loop_body): Likewise. From-SVN: r44927
2001-08-15* config/i960/i960.md (trap): Change "faulteq.t" to "faulte.t".Jason Eckhardt2-1/+5
From-SVN: r44926
2001-08-15configure.target (cpu_include_dir): Set to `config/cpu/m68k' for m68k and ↵Andreas Schwab2-0/+65
m680[246]0. * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for m68k and m680[246]0. * config/cpu/m68k/bits/atomicity.h: New file. From-SVN: r44925
2001-08-15std_limits.h [...]: Define appropriate long double limits for m68k extended ↵Andreas Schwab3-3/+41
floating point. * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]: Define appropriate long double limits for m68k extended floating point. (__glibcpp_f32_digits10): Corrected, off by one. (__glibcpp_f80_digits10): Likewise. (__glibcpp_f128_digits10): Likewise. * config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_double_bits) [__mc68000__]: Define to 96. From-SVN: r44924
2001-08-15predict.c (struct block_info_def): Remove nvisited.Jan Hubicka3-15/+79
* predict.c (struct block_info_def): Remove nvisited. (propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions. (estimate_bb_frequencies): Call mark_dfs_back_edges. * i386.c (ix86_agi_depdendant): Lea causes AGI only on the Pentium (ix86_adjust_cost): Teach scheduler that latency to load operand can be masked. From-SVN: r44921
2001-08-15* predict.def: Update hitrates.Jan Hubicka2-29/+14
From-SVN: r44920
2001-08-15* except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.Richard Henderson2-1/+5
From-SVN: r44919
2001-08-15Daily bump.GCC Administrator6-6/+6
From-SVN: r44917
2001-08-15g77-dg.exp: Use prune.exp for common proceduresDavid Billinghurst3-29/+8
2001-08-14 David Billinghurst <David.Billinghurst@riotinto.com> * lib/g77-dg.exp: Use prune.exp for common procedures (g77-dg-prune): Replace prune_g77_output with prune_gcc_output * lib/g77.exp: (g77-dg-prune) Remove From-SVN: r44916