1. 10 Aug, 2001 3 commits
    • acconfig.h (_GLIBCPP_MEM_LIMITS): Define. · 58b08ac3
      
      2001-08-09  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
      	* config.h.in: Regenerate.
      	* acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
      	function.
      	* aclocal.m4: Regenerate.
      	* configure.in: Remove duplicate AM_CONFIG_HEADER.
      	(AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
      	Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
      	* configure: Regenerate.
      	* testsuite_hooks.h.in: Move to...
      	* testsuite_hooks.h: Here, include c++config.h. Use it.
      
      	* Makefile.am (SUBDIRS): Move testsuite to last directory.
      	* Makefile.in: Regenerate.
      	* po/Makefile.am (stamp-po): Add.
      
      From-SVN: r44752
      Benjamin Kosnik committed
    • stmt.c (expand_null_return_1): Remove code to generate simple returns and "use_goto" argument. · 396ad517
      	* stmt.c (expand_null_return_1): Remove code to generate simple returns
      	and "use_goto" argument.
      	(expand_null_return, expand_value_return): Update all callers.
      	* function.c (expand_function_end): Remove code to generate simple
      	return.
      	* config/vax/vax.md (epilogue): New expander for function return.
      	* doc/md.texi (epilogue): Remove "if defined".
      
      From-SVN: r44750
      John David Anglin committed
    • Fix sparcv9 typo. · e4124eb3
      From-SVN: r44749
      David Edelsohn committed
  2. 09 Aug, 2001 14 commits
    • Makefile.in: Partially revert my previous change... · e361dcd3
      	* Makefile.in: Partially revert my previous change:
      	put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
      	of the hashtab.o and safe-ctype.o rules.
      
      From-SVN: r44748
      Zack Weinberg committed
    • crtbegin.asm (__JCR_LIST__): New. · ef8d8b89
              * config/alpha/crtbegin.asm (__JCR_LIST__): New.
              (__do_global_dtors_aux): Use gp-relative static data to avoid
              one dynamic relocation.
              (__do_frame_setup): Register Java classes.
              * config/alpha/crtend.asm (__JCR_END__): New.
      
      From-SVN: r44746
      Richard Henderson committed
    • os_defines.h: Define std_limits.h macros. · 3b87de3d
      	* config/os/aix/bits/os_defines.h: Define std_limits.h macros.
      	* config/os/generic/bits/os_defines.h: Likewise.
      	* config/os/gnu-linux/bits/os_defines.h: Likewise.
      	* config/os/hpux/bits/os_defines.h: Likewise.
      	* config/os/irix/irix6.5/bits/os_defines.h: Likewise.
      	* config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
      
      From-SVN: r44745
      David Edelsohn committed
    • tweak comment · f237d906
      From-SVN: r44744
      Jason Merrill committed
    • Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE. · 1b0c37d7
      	 * Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
      	 (CONFIG_H, TCONFIG_H, TM_P_H): Update.
      	 (GEN, STAGESTUFF): Add new files.
      	 (insn-constants.h, s-constants, tm-preds.h, s-preds,
      	 genconstants, genpreds, genconstants.o, genpreds.o): New rules.
      	 (hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
      	 * mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
      	 as well as insn-codes.h and insn-flags.h in config.h; and no
      	 extra headers in tconfig.h and hconfig.h.
      
      	 * gencodes.c: Eliminate code to generate predicate declarations
      	 or #defines for md-file constants.
      	 * genconstants.c, genpreds.c: New files.
      
      	 * i386.md: Re-order guard expressions such that TARGET_64BIT
      	 comes first, when this permits better optimization.  Add
      	 TARGET_64BIT to more x86-64 patterns.  Add comment explaining
      	 why this is desirable.
      
      From-SVN: r44743
      Zack Weinberg committed
    • fde-glibc.c: Require glibc 2.2.4+ headers. · a734f2a3
      	* config/ia64/fde-glibc.c: Require glibc 2.2.4+ headers.
      	(find_fde_for_dso): Remove.
      	(_Unwind_IteratePhdrCallback): New.
      	(_Unwind_FindTableEntry): Use dl_iterate_phdr.
      	* config/ia64/crtbegin.asm (__ia64_app_header): Remove.
      
      From-SVN: r44742
      Jakub Jelinek committed
    • expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING. · 21d93687
      	* expr.c (emit_single_push_insn): Only exists ifdef PUSH_ROUNDING.
      	(move_by_pieces_1): If would call it, abort if no PUSH_ROUNDING.
      
      From-SVN: r44740
      Richard Kenner committed
    • sched-vis.c (MAX_VISUAL_NO_UNIT): Define. · b1b6b0cb
      
              * sched-vis.c (MAX_VISUAL_NO_UNIT): Define.
              (vis_no_unit): Use it.
              (visualize_no_unit): Add the insn only if room exists.
      
      From-SVN: r44739
      Graham Stott committed
    • predict.c (estimate_probability): Replace magic numbers with appropriate enumeration. · a4e11a5c
      
      	* predict.c (estimate_probability): Replace magic numbers with
      	appropriate enumeration.
      
      From-SVN: r44738
      Graham Stott committed
    • cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro parameter. · a0e4ce74
      
      	* cppexp.c (EXTRACT_PRIO): Uppercase and parenthsize macro
      	parameter.
      	(EXTRACT_FLAGS): Likewise.
      
      From-SVN: r44737
      Graham Stott committed
    • mips.c (mips_legitimate_address_p): Check for CONST_INT in last patch. · 77416b3d
              * config/mips/mips.c	(mips_legitimate_address_p): Check for
              CONST_INT in last patch.
      
      From-SVN: r44736
      Aldy Hernandez committed
    • Daily bump. · 86557ec2
      From-SVN: r44734
      GCC Administrator committed
    • check-init.c (flags.h): Include · 4009bb7d
      2001-08-08  Alexandre Petit-Bianco  <apbianco@redhat.com>
      
      	* check-init.c (flags.h): Include
      	(check_init): Don't report uninitialized static class
      	initialization flags, don't free bit index when doing static class
      	initialization optimization.
      	(check_for_initialization): Return type changed to `unsigned int.'
      	(attach_initialized_static_class): New function.
      	* class.c (add_method_1): Create the initialized static class
      	table if necessary.
      	(finish_class): Always emit deferred inline methods.
      	* decl.c (emit_init_test_initialization): Moved to expr.c
      	(complete_start_java_method): Don't traverse
      	DECL_FUNCTION_INIT_TEST_TABLE.
      	(lang_mark_tree): Mark hash tables in function decls.
      	* expr.c (emit_init_test_initialization): Moved from decl.c.
      	(build_class_init): Create LAG_DECL_SPECIFIC for the static class
      	initialization flag, set DECL_CONTEXT and
      	LOCAL_CLASS_INITIALIZATION_FLAG.
      	(java_lang_expand_expr): Emit initialization code for static class
      	initialized flags when entering block, if necessary.
      	* gcj.texi (-fno-optimize-static-class-initialization): Documented.
      	* java-tree.h (flag_optimize_sci): New global variable declaration.
      	(DECL_FUNCTION_INITIALIZED_CLASS_TABLE): New macro.
      	(DECL_FUNCTION_STATIC_METHOD_INVOCATION_COMPOUND): Likewise.
      	(LOCAL_FINAL_P): Fixed typo in comment.
      	(FINAL_VARIABLE_P): Likewise.
      	(LOCAL_CLASS_INITIALIZATIO_FLAG): New macro.
      	(LOCAL_CLASS_INITIALIZATIO_FLAG_P): Likewise.
      	(struct lang_decl): New fields `ict', `smic' and `cif.'
      	(check_for_initialization): New returned value for global.
      	(attach_initialized_static_class): New global function.
      	(STATIC_CLASS_INIT_OPT_P): New macro.
      	* lang-options.h (-fno-optimize-static-class-initialization): New flag.
      	* lang.c (java_decode_option): Handle
      	`-fno-optimize-static-class-initialization'
      	* parse.y (start_complete_expand_method): New function.
      	(java_expand_method_bodies): Likewise.
      	(attach_init_test_initialization_flags): Likewise.
      	(adjust_init_test_initialization): Likewise.
      	(emit_test_initialization): Likewise.
      	(java_complete_expand_methods): Nullify abstract and native method
      	bodies.
      	(java_complete_expand_method): New locals `fbody', `block_body'
      	and `exception_copy.' Reorganized: directly return on empty method
      	bodies, call `start_complete_expand_method', remember definitely
      	initialized static class in function, don't expand method bodies.
      	(java_expand_classes): Call `java_expand_method_bodies' before
      	`finish_class' when compiling to native.
      	(resolve_expression_name): Use `orig' after building outer class
      	field access.
      	(patch_invoke): Remember static method invokations.
      
      (http://gcc.gnu.org/ml/gcc-patches/2001-08/msg00454.html)
      
      From-SVN: r44733
      Alexandre Petit-Bianco committed
  3. 08 Aug, 2001 23 commits