1. 24 Jun, 2004 34 commits
  2. 23 Jun, 2004 6 commits
    • gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Adjust. · 42dfcf84
      2004-06-23  Wu Yongwei  <adah@sh163.net>
      
      	* gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Adjust.
      	(__gthr_i486_lock_cmp_xchg): New inline assembly function.
      	(__GTHR_W32_InterlockedCompareExchange): New macro to choose a
      	suitable function for interlocked compare-and-exchange.
      	(__gthread_mutex_trylock): Use
      	__GTHR_W32_InterlockedCompareExchange.
      	(__gthread_mutex_init_function, __gthread_mutex_lock,
      	__gthread_mutex_trylock, __gthread_mutex_unlock): Adjust the
      	initial counter value to work correctly under Windows 95.
      	* config/i386/gthr-win32.c: Adjust include order.
      	Define __GTHREAD_I486_INLINE_LOCK_PRIMITIVES before including
      	gthr-win32.h.
      	(__gthr_win32_mutex_init_function, __gthr_win32_mutex_lock,
      	__gthr_win32_mutex_trylock, __gthr_win32_mutex_unlock): Adjust
      	to match inline versions in gthr-win32.h.
      
      From-SVN: r83569
      Wu Yongwei committed
    • rs6000.c (rs6000_use_dfa_pipeline_interface): Delete. · 11ac38b2
      	* config/rs6000/rs6000.c (rs6000_use_dfa_pipeline_interface): Delete.
      	(TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Redefine a hook_int_void_1.
      	(insvdi_rshift_rlwimi_p): New function.
      	* config/rs6000/rs6000.md (insvdi_internal2/3): New patterns.
      	(extendsfdf2): Convert to define_insn_and_split.
      	* config/rs6000/rs6000-protos.h (insvdi_rshift_rlwimi_p): Prototype.
      
      From-SVN: r83568
      David Edelsohn committed
    • c-typeck.c (composite_type, [...]): Abort if we have type qualifiers at all. · de46b2fe
      2004-06-23  Andrew Pinski  <apinski@apple.com>
      
              * c-typeck.c (composite_type, <case ARRAY_TYPE>): Abort if we have
              type qualifiers at all.
              If both of the type domains are null and the new element type is
              the same as one of the, return the one which the element type.
              matches.
              Do not call qualify_type on the new type.
      
      2004-06-23  Andrew Pinski  <apinski@apple.com>
      
              * gcc.dg/c90-array-quals-2.c: New test.
      
      From-SVN: r83567
      Andrew Pinski committed
    • * config/s390/s390.h (DEFAULT_MAIN_RETURN): Remove. · 07f266ae
      From-SVN: r83566
      Ulrich Weigand committed
    • convert.c (strip_float_extension): Skip both NOP_EXPR and CONVERT_EXPR floating point extensions. · 7c243eef
      
      	* convert.c (strip_float_extension): Skip both NOP_EXPR and
      	CONVERT_EXPR floating point extensions.
      
      From-SVN: r83565
      Roger Sayle committed
    • Makefile.in (tree-vn.o): New. · 33c94679
      
      	* Makefile.in (tree-vn.o): New.
      	(tree-ssa-pre.o): Don't depend on RTL_H.
      	* tree-dfa.c (find_referenced_vars): Don't call init_tree_ssa.
      	* tree-flow.h (struct var_ann_d): Remove field expr_set.
      	(add_to_value, expressions_equal_p, get_value_handle, vn_compute,
      	vn_lookup_or_add, vn_add, vn_lookup, vn_init, vn_delete): Declare.
      	* tree-optimize.c (execute_init_datastructures): New local function.
      	(pass_init_datastructures): New local variable.
      	(init_tree_optimization_passes): Sequence pass_init_datastructures.
      	* tree-pretty-print.c (MASK_POINTER): Remove.
      	(dump_generic_node): Handle VALUE_HANDLE.
      	* tree-ssa-pre.c: Move all value numbering routines to tree-vn.c.
      	Update callers to use new function names.
      	Use VALUE_HANDLE_ID and VALUE_HANDLE_EXPR_SET instead of
      	variable annotations.
      	* tree-ssa.c (init_tree_ssa): Call vn_init.
      	(delete_tree_ssa): Call vn_delete.
      	* tree-vn.c: New file.
      	* tree.c (tree_size): Handle VALUE_HANDLE.
      	(tree_node_structure): Likewise.
      	(iterative_hash_expr): Likewise.
      	* tree.def (VALUE_HANDLE): New code.
      	* tree.h (struct tree_value_handle): New.
      	(VALUE_HANDLE_ID): Define.
      	(VALUE_HANDLE_EXPR_SET): Define.
      	(enum tree_node_structure_enum): Add TS_VALUE_HANDLE.
      	(union tree_node): Add struct tree_value_handle.
      
      From-SVN: r83564
      Diego Novillo committed