- 28 Mar, 2000 13 commits
-
-
From-SVN: r32785
Zack Weinberg committed -
* gcc.c (handle_braces): In {x*...} case, break out of loop if switch is found. From-SVN: r32784
Tom Tromey committed -
* expr.c (store_constructor): SIZE now signed. For EXPR_SIZE, don't evaluate size; just needed if constant. * fold-const.c (fold): Fix a number of cases when folded tree is wrong type. * function.c (flush_addressof): Reenable. * tree.h (flush_addressof): Likewise. * toplev.c (independent_decode_option): Look at strings_processed. * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned. From-SVN: r32783
Richard Kenner committed -
* regmove.c (struct csa_memlist): Make mem field rtx *. (record_one_stack_ref): Accept rtx * instead of rtx as parameter. (try_apply_stack_adjustment): Replace whole MEM rtx. (combine_stack_adjustments_for_block): Update calls to record_one_stack_ref. From-SVN: r32782
Jan Hubicka committed -
* (cpplex.c) _cpp_read_and_prescan. Mark end of input buffer with '\\' rather than a null character, so nulls are not special. Fix "\\\n" handling in end-of-buffer conditions. Use trigraph map to speed trigraph conversion. (_cpp_init_input_buffer) Initialize trigraph map. From-SVN: r32781
Neil Booth committed -
From-SVN: r32780
Jeff Law committed -
2000-03-28 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse-scan.y (pop_class_context): Reset `inner_qualifier_length' to 0 when it reaches -1. 2000-03-27 Alexandre Petit-Bianco <apbianco@cygnus.com> * jcf-parse.c (get_constant): Properly cast `num' during the invocation of `add_double call'. * jcf-write.c (push_long_const): Properly cast `lo' before comparing it to short bounds. * parse-scan.y (interface_declaration:): Rule re-arrange so that `interface_body:' is reduced after the current interface is pushed. 2000-02-28 Alexandre Petit-Bianco <apbianco@cygnus.com> * parse-scan.y (inner_qualifier, inner_qualifier_length): New static globals. (push_class_context, pop_class_context): New function. (class_body:): Call pop_class_context. (interface_body:): Likewise. (INNER_QUALIFIER): New macro. (report_class_declaration): Changed output format and use INNER_QUALIFIER. Call push_class_context. From-SVN: r32779
Alexandre Petit-Bianco committed -
* config/i386/i386.c (output_387_binary_op): Correct intel mode assembly output, and add spaces after commas in AT&T output. Correct Unixware assembler comment. Document input constraints. Comment fp operations. Reduce profligate buffer size. Remove extraneous abort. Localize temp var. (SYSV386_COMPAT): Define. Add !SYSV386_COMPAT code. (output_fix_trunc): Add spaces after commas in assembly output. From-SVN: r32778
Alan Modra committed -
From-SVN: r32777
Richard Henderson committed -
From-SVN: r32776
Bryce McKinlay committed -
From-SVN: r32775
Bryce McKinlay committed -
From-SVN: r32774
Richard Kenner committed -
* Makefile.in: New #defines and friends for Thread.h. * posix-threads.cc: (struct starter): Remove `object'. (_Jv_CondWait): Use interruptable condition variables and new recursive mutexes. New return codes on interrupt or non-ownership of mutex. (_Jv_CondNotify): Ditto. (_Jv_CondNotifyAll): Ditto. (_Jv_ThreadInterrupt): Set thread interrupt flag directly. Interrupt the target thread by signaling its wait condition. (_Jv_ThreadInitData): Set `thread_obj' in the thread data struct, not the starter struct. Initialize wait_mutex and wait_cond. (_Jv_MutexLock): New recursive mutex implementation. Moved from posix-threads.h. (_Jv_MutexUnlock): Ditto. (really_start): Set info->data->thread from pthread_self() to work around a race condition. Destroy wait_mutex and wait_cond when run() returns. * java/lang/Thread.java: (isInterrupted_): Renamed to overloaded `isInterrupted(boolean)'. Clear interrupted flag if clear_flag is set. startable_flag: New private field. (Thread): Initialize `startable_flag'. (toString): Check for null thread group. * java/lang/natThread.cc: (struct natThread): New fields `join_mutex', `join_cond'. Removed fields `joiner', `next'. (class locker): Removed. (initialize_native): Initialize `join_cond' and `join_mutex'. (interrupt): Now just calls _Jv_ThreadInterrupt(). (join): Simplified. Just wait on the target thread's join condition. (finish_): Remove join list code. Unset thread group. Signal potential joiners by notifying the dying threads join_cond. (start): Check for illegal restarts. * java/lang/natObject.cc: Check for return value of _Jv_CondWait and act appropriatly. * include/posix-threads.h: Remove all HAVE_RECURSIVE_MUTEX related #defines and #ifdefs. (struct _Jv_Thread_t): New fields `thread_obj', `wait_cond', `wait_mutex', `next'. (struct _Jv_ConditionVariable_t): Define as a struct instead of directly mapping to pthread_cond_t. (struct _Jv_Mutex_t): New recursive implementation. (_Jv_PthreadCheckMonitor): Reimplemented. Simple `owner' check. _Jv_HaveCondDestroy: Never define this for posix-threads. (_Jv_CondNotify): Remove inline implementation(s), prototype instead. (_Jv_CondNotifyAll): Ditto. (_Jv_MutexLock): Ditto. (_Jv_MutexUnlock): Ditto. (_Jv_MutexInit): Changed to reflect new mutex implementation. (_Jv_MutexDestroy): Ditto. (_Jv_CondDestroy): Removed. (_Jv_PthreadGetMutex): Removed. * include/win32-threads.h: (_Jv_CondNotify): Guess _JV_NOT_OWNER on an error. Add a FIXME about this. (_Jv_CondNotifyAll): Ditto. * win32-threads.cc: (_Jv_CondWait): Return 0 on a timeout. Guess _JV_NOT_OWNER on other errors. Add FIXME. From-SVN: r32773
Bryce McKinlay committed
-
- 27 Mar, 2000 14 commits
-
-
* resource.h (mark_resource_type): New. * resource.c (find_dead_or_set_registers, mark_target_live_regs, find_free_register): Use mark_resource_type. (mark_set_resources): Change include_delayed_effects to mark_resource_type. * reorg.c (steal_delay_list_from_target, try_merge_delay_insns, redundant_insn, fill_simple_delay_slots, fill_slots_from_thread): Use mark_resource_type. From-SVN: r32771
Stan Cox committed -
* jni.cc (_Jv_JNI_PopSystemFrame): If environment has exception set, throw it. (call): Don't throw exception here. From-SVN: r32770
Tom Tromey committed -
* libjava.lang/test_long.out: New file. * libjava.lang/test_long.java: New file. From-SVN: r32769
Tom Tromey committed -
* i386.md (call_pop_0, call_value_pop_0): New. (call_pop_1): Remove constraint from unused arg. Support sibcalls. (call_value_pop_1): Likewise. (call_0, call_value_0): New. (call_1, call_value_1): Remove constraint from unused arg. From-SVN: r32768
Richard Henderson committed -
From-SVN: r32767
Nick Clifton committed -
From-SVN: r32765
Bruce Korb committed -
From-SVN: r32764
Richard Kenner committed -
* libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD if not defined. From-SVN: r32763
Jakub Jelinek committed -
From-SVN: r32762
Richard Kenner committed -
From-SVN: r32761
Jeff Law committed -
From-SVN: r32760
Jason Merrill committed -
* c-convert.c (convert): Return if output or input type is ERROR_MARK. * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI and DECL_INLINE if FUNCTION_DECL. (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE. (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK. Use DECL_WEAK, not DECL_RESULT, to flag for already seen. (combine_parm_decls): Likewise. * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD. * print-tree.c (print_node): Likewise. Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and DECL_TRANSPARENT_UNION on proper decl types. Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS. * stor-layout.c (layout_decl): Only check DECL_PACKED and DECL_BIT_FIELD of FIELD_DECL. * tree.h (DECL_RESULT_FLD): New macro. * cp/class.c (check_field_decl): Fix typo. (build_vtbl_or_vbase_field): Don't clear DECL_SAVED_INSNS. (check_methods): Likewise. (check_field_decls): Likewise. Use DECL_CONTEXT, not DECL_FIELD_CONTEXT. * cp-tree.h (DECL_SHADOWED_FOR_VAR, DECL_TEMPLATE_RESULT): Use DECL_RESULT_FLD, not DECL_RESULT. * cp/decl.c (xref_tag): Use DECL_TEMPLATE_RESULT. * cp/lex.c (identifier_type): Likewise. * cp/pt.c (determine_specialization, lookup_template_class): Likewise. (tsubst_friend_function, tsubst_decl, instantiate_template): Likewise. (resolve_overloaded_unification, more_specialized): Likewise. * cp/semantics.c (finish_member_declaration): Likewise. * cp/typeck.c (build_x_function_call): Likewise. From-SVN: r32759
Richard Kenner committed -
* calls.c (expand_call): Pass parms not original exp to optimize_tail_recursion. Mind return value instead of looking for a barrier. * stmt.c (optimize_tail_recursion): Take parameter list, not entire call_expr. Move checks for call_expr and current_function_decl ... (expand_return): ... here. From-SVN: r32758
Richard Henderson committed -
* jvspec.c (jvgenmain_spec): Add `%{<...}' construct for each Java-specific `-f' option. From-SVN: r32757
Tom Tromey committed
-
- 26 Mar, 2000 13 commits
-
-
* gcc.c (handle_braces): Recognize `%{<S}' construct. (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New defines. (process_command): Use them. (check_live_switch): Likewise. (give_switch): Skip ignored switches. From-SVN: r32756
Tom Tromey committed -
* jump.c (jump_optimize_1): Fix typo in elide optimizations for minimal jump pass test. From-SVN: r32755
Jan Hubicka committed -
2000-03-26 Tom Tromey <tromey@cygnus.com> * java/lang/mprec.h: Use SIZEOF_VOID_P. * interpret.cc: Use SIZEOF_VOID_P. * include/java-cpool.h (_Jv_storeLong): Use SIZEOF_VOID_P. (_Jv_loadLong): Likewise. (_Jv_storeDouble): Likewise. * configure: Rebuilt. * configure.in: Check size of void*. * resolve.cc (ncode): Use FFI_PREP_RAW_CLOSURE and FFI_RAW_SIZE. 2000-03-26 Hans Boehm <boehm@acm.org> * include/java-cpool.h (_Jv_storeLong, _Jv_loadLong, _Jv_storeDouble, _Jv_loadDouble): Define differently on 64 bit machine. * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN appropriately on IA64. * java/lang/mprec.h: Don't define Pack_32 on 64 bit machine. * javaprims.h (_Jv_word): Added `l' and `d' entries in 64 bit case. * resolve.cc (FFI_PREP_RAW_CLOSURE): New define. (FFI_RAW_SIZE): Likewise. (_Jv_InterpMethod::ncode): Use them. * interpret.cc (PUSHL, PUSHD, POPL, POPD, LOADL, LOADD, STOREL, STORED): Define differently on a 64 bit machine. (continue1): Use ffi_java_raw_call when appropriate. From-SVN: r32754
Tom Tromey committed -
From-SVN: r32753
Tom Tromey committed -
* integrate.c (function_cannot_inline_p): Do inline functions that return `void'. From-SVN: r32752
Mark Mitchell committed -
* stor-layout.c (layout_type, set_sizetype): early_type_list is now a list of TREE_LIST entries, not types. * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets. * java/decl.c (init_decl_processing): Call initialize_sizetypes once. Adjust order of making types. Make bitsize_*_node values. From-SVN: r32751
Richard Kenner committed -
* class.c (layout_empty_base): Handle empty bases with non-byte alignment. (build_base_field): Likewise. (layout_virtual_bases): Likewise. * class.c (finish_struct_1): Fix typo in this change: Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> From-SVN: r32750
Mark Mitchell committed -
* expr.c (expand_assignment): Add code to handle variable-sized BLKmode case. From-SVN: r32749
Richard Kenner committed -
* expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX. * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and int_bit_position. * config/mips/mips.c (function_arg): Likewise; also remove cast and make variables unsigned or HOST_WIDE_INT and use tree_low_cst. (mips_function_value): Use int_byte_position and make HOST_WIDE_INT. * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned. * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned. (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise. (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise. (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed. (struct mips_arg): arg_number, arg_words, fp_arg_words, and num_adjusts now unsigned. (FUNCTION_ARG_BOUNDARY): Remove unneeded cast. * config/sparc/sparc.c (struct function_arg_record_value_parms): NREGS now unsigned. (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT as is BITPOS variable; use host_integerp and int_bit_position. (function_arg_record_value_2): Likewise. (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT. Variable REGNO now unsigned. (function_arg_record_value): NREGS now unsigned. From-SVN: r32748
Richard Kenner committed -
From-SVN: r32747
Bernd Schmidt committed -
From-SVN: r32746
Bernd Schmidt committed -
From-SVN: r32744
Jeff Law committed -
decl.c (grokdeclarator): Count partial specializations when keeping track of how many template classes... * decl.c (grokdeclarator): Count partial specializations when keeping track of how many template classes have been seen. * dump.c (dequeue_and_dump): Dump DECL_TEMPLATE_RESULT. From-SVN: r32743
Mark Mitchell committed
-