1. 09 Mar, 2012 11 commits
    • vms-c.c (vms_construct_include_filename): New function. · 575a6235
      2012-03-09  Tristan Gingold  <gingold@adacore.com>
      
      	* config/vms/vms-c.c (vms_construct_include_filename): New function.
      	(vms_c_register_includes): Reference it.
      
      From-SVN: r185133
      Tristan Gingold committed
    • ada-tree.h (TYPE_VAX_FLOATING_POINT_P): Move around. · 0d7de0e1
      	* gcc-interface/ada-tree.h (TYPE_VAX_FLOATING_POINT_P): Move around.
      	(TYPE_UNCONSTRAINED_ARRAY): Adjust comment.
      	* gcc-interface/trans.c (Attribute_to_gnu) <Attr_Pool_Address>: Tidy
      	up.  Add comment and use canonical predicate for thin pointers.
      	(gnat_to_gnu) <N_Free_Statement>: Tidy up and reorder.  Add comment
      	and use canonical predicate for thin pointers.
      	* gcc-interface/utils.c (convert_to_fat_pointer): Remove superfluous
      	'else' and use standard name.
      	(convert_to_thin_pointer): Delete.
      	(convert) <POINTER_TYPE>: Do the difference in sizetype directly and
      	change obsolete idioms.  Do not call above function.
      	(unchecked_convert): Fix formatting.
      	* gcc-interface/utils2.c (build_unary_op) <INDIRECT_REF>: In the thin
      	pointer case, use byte_position to get the field position.
      
      From-SVN: r185132
      Eric Botcazou committed
    • re PR tree-optimization/51988 (value_replacement in PHIOPT should handle even… · 210ac0b7
      re PR tree-optimization/51988 (value_replacement in PHIOPT should handle even the cases where there are other PHIs even with non equal value)
      
      2012-03-09  Andrew Pinski  <apinski@cavium.com>
      
      	PR middle-end/51988
      	* tree-ssa-phiopt.c: Include tree-pretty-print.h for
      	print_generic_expr.
      	(tree_ssa_phiopt_worker): Go through all the PHIs for
      	value_replacement instead of just the singleton one.
      	(value_replacement): Change return type to int.  Return 0 instead of
      	false.
      	Allow the middle basic block to contain more than just the definings
      	tatement. 
      	Handle non empty middle basic blocks.
      	* Makefile.in (tree-ssa-phiopt.o): Add tree-pretty-print.h.
      
      2012-03-09  Andrew Pinski  <apinski@cavium.com>
      
      	PR middle-end/51988
      	* gcc.dg/tree-ssa/phi-opt-8.c: New testcase.
      	* gcc.dg/tree-ssa/phi-opt-9.c: New testcase.
      
      From-SVN: r185131
      Andrew Pinski committed
    • tree-scalar-evolution (interpret_rhs_expr): generate chrec for array reference… · bef28ced
      tree-scalar-evolution (interpret_rhs_expr): generate chrec for array reference and component reference.
      
      2012-03-09  Jiangning Liu  <jiangning.liu@arm.com>                                                        
      
      	* tree-scalar-evolution (interpret_rhs_expr): generate chrec for
      	array reference and component reference.
      	(analyze_scalar_evolution_for_address_of): New.
      
      2012-03-09  Jiangning Liu  <jiangning.liu@arm.com>                                                        
      
      	* gcc.dg/tree-ssa/scev-3.c: New.
      	* gcc.dg/tree-ssa/scev-4.c: New.
      
      From-SVN: r185129
      Jiangning Liu committed
    • compiler: Be more careful to follow GENERIC type rules. · 68c5d97b
      	* go-gcc.cc (Gcc_backend::assignment_statement): Convert the rhs
      	to the lhs type if necessary.
      
      From-SVN: r185128
      Ian Lance Taylor committed
    • compiler: Correct handling of sink receiver. · 762c2799
      From-SVN: r185127
      Ian Lance Taylor committed
    • debug/dwarf: Support DWARF versions 3 and 4. · 896977b3
      From-SVN: r185126
      Ian Lance Taylor committed
    • re PR target/49862 (bfin.c warnings) · 9916d7ea
      	PR target/49862
      	* config/bfin/bfin.c (hwloop_optimize): Fix unused variable
      	warnings.
      	(hwloop_pattern_reg): Fix set but not used warning.
      	(bfin_reorg_loops): Remove unused parameter.
      	(bfin_reorg): Update use of bfin_reorg_loops.
      
      From-SVN: r185125
      Jie Zhang committed
    • debug/elf: Don't crash if line numbers are not available. · 060b4284
      From-SVN: r185124
      Ian Lance Taylor committed
    • Use word_mode to push/pop register for x86 · cc845923
      2012-03-08  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* config/i386/i386.c (setup_incoming_varargs_64): Use word_mode
      	with integer parameters in registers.
      	(gen_push): Push register in word_mode instead of Pmode.
      	(ix86_emit_save_regs): Likewise.
      	(ix86_emit_save_regs_using_mov): Save integer registers in
      	word_mode.
      	(gen_pop): Pop register in word_mode instead of Pmode.
      	(ix86_emit_restore_regs_using_pop): Likewise.
      	(ix86_expand_prologue): Replace Pmode with word_mode for push
      	immediate.  Use ix86_gen_pro_epilogue_adjust_stack.  Save and
      	restore RAX and R10 in word_mode.
      	(ix86_emit_restore_regs_using_mov): Restore integer registers
      	in word_mode.
      	(ix86_expand_split_stack_prologue): Save R10_REG and restore in
      	word_mode.
      	(ix86_split_to_parts): Use word_mode with PUT_MODE for push.
      	(ix86_split_long_move): Likewise.
      
      	* config/i386/i386.md (W): New.
      	(*push<mode>2_prologue): Replace :P with :W.
      	(*pop<mode>1): Likewise.
      	(*pop<mode>1_epilogue): Likewise.
      	(push/pop peephole2): Use word_mode scratch registers.
      
      From-SVN: r185123
      H.J. Lu committed
    • Daily bump. · 78d16236
      From-SVN: r185120
      GCC Administrator committed
  2. 08 Mar, 2012 12 commits
  3. 07 Mar, 2012 17 commits