- 29 Jan, 2000 2 commits
-
-
Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz> * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New function. * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare. * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro. (FLOW_LOOP_LAST_BLOCK): Likewise. 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz> * basic-block.h (struct loop): New fields 'first' and 'last'. * flow.c (flow_loops_find): Compute loop->first and loop->last. (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG and loop->last to check for NOTE_INSN_LOOP_END. Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com> * predict.c (estimate_probability): Use the new FIRST and LAST fields of the loop descriptor rather than HEADER and LATCH. Also added missing break statements as well making some coding style modifications as suggested by Michael Hayes. From-SVN: r31679
Jason Eckhardt committed -
* gcconfig.h (DATASTART): Add missing extern declaration for data_start on powerpc. From-SVN: r31677
Anthony Green committed
-
- 28 Jan, 2000 18 commits
-
-
* flow.c (find_basic_blocks): Remove do_cleanup argument. Break out that code ... (cleanup_cfg): ... here. (commit_one_edge_insertion): Detect a return instruction being emitted to an edge. Emit a barrier following; clear fallthru. (commit_edge_insertions): Verify CFG consistency. * function.c (expand_function_start): Kill unused variable. (expand_function_end): Likewise. (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge to insert the epilogue. * gcse.c (gcse_main): Adjust for find_basic_blocks change. (delete_null_pointer_checks): Likewise. * output.h: Likewise. * reg-stack.c (reg_to_stack): Likewise. * toplev.c (rest_of_compilation): Likewise. Run thread_prologue_and_epilogue_insns after rebuilding the CFG. From-SVN: r31676
Richard Henderson committed -
* haifa-sched.c (schedule_insns): Don't recompute reg info after reload. From-SVN: r31675
Richard Henderson committed -
* Makefile.in (flow.o): Revert 24 Jan change. * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode FUNCTION_VALUE result to DECL_RESULT's mode. From-SVN: r31674
Richard Henderson committed -
* configure.in: Make --enable-cpplib the default. * configure: Regenerate. * gcc.dg/990119-1.c: No longer expected to fail. From-SVN: r31673
Zack Weinberg committed -
* Makefile.in: Rebuilt. * Makefile.am (LIBFFIINCS): Added MULTIBUILDTOP. From-SVN: r31672
Tom Tromey committed -
From-SVN: r31671
Mike Stump committed -
From-SVN: r31670
Bernd Schmidt committed -
* diagnostic.c (build_message_string, output_printf, line_wrapper_printf): Add ATTRIBUTE_PRINTF_*. (build_location_prefix): Fix non-literal format string. From-SVN: r31669
Kaveh R. Ghazi committed -
* cp-tree.h (new_abi_rtti_p): New macro. (emit_support_tinfos): Prototype new function. (tinfo_decl_p): Likewise. (emit_tinfo_decl): Likwise. * rtti.c (TINFO_PSEUDO_TYPE, TINFO_VTABLE_DECL): New accessor macros. (doing_runtime): New local static. (init_rtti_processing): Add new-abi initializer. (get_tinfo_decl): Add new-abi logic. (tinfo_from_decl): Likewise. (build_dynamic_cast_1): Likewise. (qualifier_flags): New static function. (tinfo_base_init): Likewise. (generic_initializer): Likewise. (ptr_ref_initializer): Likewise. (ptmd_initializer): Likewise. (class_hint_flags): Likewise. (class_initializer): Likewise. (synthesize_tinfo_var): Likewise. (create_real_tinfo_var): Likewise. (create_pseudo_type_info): Likewise. (get_vmi_pseudo_type_info): Likewise. (create_tinfo_types): Likewise. (emit_support_tinfos): New global function. (tinfo_decl_p): New global predicate. (emit_tinfo_decl): New global function. * class.c (set_rtti_entry): Generalize for old and new rtti. (build_vtbl_initializer): Likewise. * decl2.c (finish_file): Likewise. From-SVN: r31668
Nathan Sidwell committed -
* compile/20000127-1.c: New test. * execute/991228-1.c: New test. From-SVN: r31667
Jakub Jelinek committed -
* fstream.h (ifstream::ifstream): Add ios::in to mode. (ifstream::open): Likewise. (ofstream::ofstream): Add ios::out to mode. (ofstream::open): Likewise. From-SVN: r31666
Martin v. Löwis committed -
From-SVN: r31664
Jeff Law committed -
* cp/optimize.c (remap_decl): Add walk_tree calls for DECL_SIZE (t) and TYPE_MAX_VALUE (TYPE_DOMAIN (TREE_TYPE (t))). From-SVN: r31663
Jim Wilson committed -
From-SVN: r31662
Richard Henderson committed -
From-SVN: r31661
Mike Stump committed -
From-SVN: r31660
Andrew Hobson committed -
* dbz/dbz.c, dbz/dbzmain.c: Include stdlib.h. Don't declare malloc, calloc, free, atol, atoi, or errno. (errno.h was already being included.) From-SVN: r31659
Zack Weinberg committed -
From-SVN: r31658
Zack Weinberg committed
-
- 27 Jan, 2000 17 commits
-
-
From-SVN: r31656
Mike Stump committed -
* decl.c (pushdecl): Fix up shadow warnings with respect to implicit for scopes. Fixes for3.C From-SVN: r31655
Mike Stump committed -
* cppinit.c (cpp_handle_option): Recognize C++ comments under -std=gnu89. * cpplib.c (skip_block_comment, skip_line_comment): Split code out of... (skip_comment) ... here. Permit C++ comments in system headers always. Warn about C++ comments in user code under -std=gnu89 -pedantic. (copy_comment): Use skip_comment. (cpp_skip_hspace, cpp_get_token): skip_comment can no longer return EOF. (consider_directive_while_skipping, do_else, do_endif): Call validate_else unconditionally. (validate_else): Check CPP_PEDANTIC here. Accept non-comment text after the conditional in a system header. * cpplib.h (struct cpp_buffer): Add flag warned_cplusplus_comments. From-SVN: r31654
Zack Weinberg committed -
I made them up all by myself. From-SVN: r31653
Zack Weinberg committed -
From-SVN: r31652
Zack Weinberg committed -
* emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too. Use unshare_all_rtl_1. (unshare_all_rtl_again): New function. (unshare_all_rtl_1): New function split out of unshare_all_rtl. * function.c (purge_addressof_1): Use unshare_all_rtl_again rather than resetting the 'used' flags ourself. * toplev.c (rest_of_compilation): Add current_function_decl to the unshare_all_rtl call. * tree.h: Prototype unshare_all_rtl. * rtl.h: Prototype unshare_all_rtl_again here. From-SVN: r31651
Geoff Keating committed -
* genoutput.c (output_prologue): Include ggc.h in generated files. * Makefile.in (insn-output.o): Depends on ggc.h. From-SVN: r31650
Geoff Keating committed -
Co-Authored-By: Hans-Peter Nilsson <hp@bitrange.com> From-SVN: r31648
Ian Dall committed -
2000-01-27 Andrew Haley <aph@cygnus.com> * jcf-write.c (emit_goto): RESERVE 3 bytes for insn. (emit_if): Ditto. (emit_jsr): Ditto. From-SVN: r31647
Andrew Haley committed -
* gthr-posix.h: Fix typo; compatibily -> compatibility. * gthr-single.h: Likewise. * gthr-solaris.h: Likewise. * gthr-vxworks.h: Likewise. * gthr-win32.h: Likewise. * gthr.h: Likewise. From-SVN: r31646
Fred Fish committed -
* cppinit.c: Add " (cpplib)" to end of string printed by -v / --version. From-SVN: r31645
Zack Weinberg committed -
From-SVN: r31644
Joern Rennecke committed -
* alpha.c (alpha_emit_conditional_move): Use VOIDmode when testing for a signed comparison. (alpha_emit_floatuns): New. * alpha-protos.h: Declare it. * alpha.md (floatunsdisf2, floatunsdidf2): New. (extendsfdf2): Tidy. From-SVN: r31643
Richard Henderson committed -
From-SVN: r31642
Jeff Law committed -
* config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but no -g option specifying debugging format, default to -gstabs+. From-SVN: r31641
Jakub Jelinek committed -
* pt.c (unify): Use fold, not maybe_fold_nontype_arg. -------------------------------------------------------------------- From-SVN: r31640
Jason Merrill committed -
From-SVN: r31639
Zack Weinberg committed
-
- 26 Jan, 2000 3 commits
-
-
* gcj/method.h (JvNumMethods): Moved from Class.h. (JvGetFirstMethod): Likewise. * java/lang/Class.h (Object): Updated decl of _Jv_JNI_ToReflectedField. (Object): Added _Jv_JNI_ToReflectedMethod as a friend. * Makefile.in: Rebuilt. * Makefile.am (java/lang/reflect/Field.h): Added `jboolean' argument of _Jv_JNI_ToReflectedField. (java/lang/reflect/Constructor.h): Added _Jv_JNI_ToReflectedMethod as a friend. (java/lang/reflect/Method.h): Likewise. * include/jni.h (class _Jv_JNIEnv): Added `klass' member. Use __GCJ_JNI_IMPL__. (jweak): New typedef. (struct JNINativeInterface): Correctly declare remaining entries. * jni.cc: Include Class.h, ClassLoader.h. (_Jv_JNI_FindClass): New function. (_Jv_JNI_DefineClass): New function. (_Jv_JNI_conversion_call): New function. (_Jv_JNI_FindClass): Use current class loader to find class. (_Jv_JNI_ExceptionCheck): New function. (_Jv_JNI_FromReflectedField): Now static. (MethodClass): New define. (_Jv_JNI_FromReflectedMethod): New function. (_Jv_JNI_ToReflectedMethod): Likewise. Include Method.h. (_Jv_JNI_IsAssignableFrom): Renamed. (_Jv_JNI_GetStringRegion): New function. Include StringIndexOutOfBoundsException.h. (_Jv_JNI_GetStringUTFRegion): New function. (_Jv_JNIFunctions): Updated for new functions. (_Jv_JNI_GetPrimitiveArrayCritical): New function (_Jv_JNI_ReleasePrimitiveArrayCritical): Likewise. (_Jv_JNI_GetStringCritical): New function. (_Jv_JNI_ReleaseStringCritical): Likewise. (get_throwable): Removed. (GCJ_JV_JNIENV_FRIEND): Removed. (__GCJ_JNI_IMPL__): Define. Include method.h. From-SVN: r31638
Tom Tromey committed -
* resolve.cc (get_ffi_type_from_signature): Handle case where boolean is an int. From-SVN: r31637
Tom Tromey committed -
* calls.c (special_function_p): New argument fork_or_exec. (expand_call): When profile_arc_flag is set and the function is in the fork_or_exec group, call __bb_fork_func first. * libgcc2.c, _bb module (__bb_fork_func): New function. (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock output file. * config/svr4.h (TARGET_HAS_F_SETLKW): Define. * tree.h (special_function_p): Update prototype. From-SVN: r31636
Joern Rennecke committed
-