1. 21 Nov, 2008 3 commits
  2. 20 Nov, 2008 21 commits
  3. 19 Nov, 2008 16 commits
    • mips.c (mips_gimplify_va_arg_expr): Use -rsize with the same type as the first… · 3179cf8c
      mips.c (mips_gimplify_va_arg_expr): Use -rsize with the same type as the first operand of the AND expression.
      
      	* config/mips/mips.c (mips_gimplify_va_arg_expr): Use -rsize
      	with the same type as the first operand of the AND expression.
      
      testsuite/
      	* gcc.c-torture/compile/20081119-1.c: New test.
      
      From-SVN: r142024
      Adam Nemet committed
    • re PR c++/35405 (Internal compiler error) · b55276c8
      gcc/cp/ChangeLog:
      2008-11-19  Dodji Seketeli  <dodji@redhat.com>
      
      	PR c++/35405
      	* pt.c (lookup_template_class): Check pointers before dereferencing
      	  Them.
      	* error.c (dump_template_decl): Likewise.
      
      gcc/testsuite/ChangeLog:
      2008-11-19  Dodji Seketeli  <dodji@redhat.com>
      
      	PR c++/35405
      	* g++.dg/template/crash84.C: New test.
      
      From-SVN: r142022
      Dodji Seketeli committed
    • pr11832.c: XFAIL even on s390*-*-*. · ff367ac9
      	* gcc.c-torture/compile/pr11832.c: XFAIL even on s390*-*-*.
      	* gcc.c-torture/compile/pr33009.c: Likewise.
      
      From-SVN: r142021
      Jakub Jelinek committed
    • below100.S (.chip_info): Use position-independent expressions for the fillers. · 34323e64
      * gcc.target/xstormy16/below100.S (.chip_info): Use
      position-independent expressions for the fillers.
      
      From-SVN: r142020
      DJ Delorie committed
    • re PR c++/36410 (ICE with transparent union) · 01d685cc
              PR c++/36410
              * decl2.c (grokfield): Pass ATTR_FLAG_TYPE_IN_PLACE for a typedef
              that names a class for linkage purposes.
      
      From-SVN: r142019
      Jason Merrill committed
    • re PR bootstrap/37859 (Bootstrap failure on mips64octeon-unknown-linux-gnu) · ea1c67e6
      2008-11-19  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR bootstrap/37859
      	* ira-int.h (struct ira_loop_tree_node): New member
      	entered_from_non_parent_p.
      
      	* ira-color.c (print_loop_title): Print loop bbs.
      
      	* ira-emit.c (entered_from_non_parent_p,
      	setup_entered_from_non_parent_p): New functions.
      	(not_modified_p): Rename to store_can_be_removed_p.  Check there
      	is no side entries.
      	(generate_edge_moves): Use store_can_be_removed_p instead of
      	not_modified_p.
      	(ira_emit): Call setup_entered_from_non_parent_p.
      	
      	* ira-build.c (copy_info_to_removed_store_destinations):
      	Accumulate CALL_FREQ, CALL_CROSSED_NUM, and
      	ALLOCNO_EXCESS_PRESSURE_POINTS_NUM.
      	(ira_flattening): Don't CHECK MEM_OPTIMIZED_DEST[_P], always
      	update all accumulated attributes.
      
      From-SVN: r142018
      Vladimir Makarov committed
    • re PR middle-end/37790 (limits-fnargs.c takes very long time to compile at -O2) · 3553f0bb
      2008-11-15  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR bootstrap/37790
      	* ira-int.h (ira_copy_allocno_live_range_list,
      	ira_merge_allocno_live_ranges,
      	ira_allocno_live_ranges_intersect_p,
      	ira_finish_allocno_live_range_list): New prototypes.
      	(ira_allocno_live_ranges_intersect_p,
      	ira_pseudo_live_ranges_intersect_p): Remove.
      	
      	* ira-conflicts.c (ira_allocno_live_ranges_intersect_p,
      	ira_pseudo_live_ranges_intersect_p): Rename to
      	allocnos_have_intersected_live_ranges_p and
      	pseudos_have_intersected_live_ranges_p.  Move them from here to
      	...
      
      	* ira-color.c: ... here
      	(coalesced_allocno_conflict_p): Use
      	allocnos_have_intersected_live_ranges_p.
      	(coalesced_allocnos_living_at_program_points,
      	coalesced_allocnos_live_at_points_p,
      	set_coalesced_allocnos_live_points): Remove.
      	(slot_coalesced_allocnos_live_ranges,
      	slot_coalesced_allocno_live_ranges_intersect_p,
      	setup_slot_coalesced_allocno_live_ranges): New.
      	(coalesce_spill_slots): Use ranges of coalesced allocnos.
      	(ira_sort_regnos_for_alter_reg): Use
      	allocnos_have_intersected_live_ranges_p.
      	(ira_reuse_stack_slot): Use
      	pseudos_have_intersected_live_ranges_p.
      
      	* global.c (pseudo_for_reload_consideration_p): Check
      	flag_ira_share_spill_slots too.
      
      	* ira-build.c (copy_allocno_live_range_list): Rename to
      	ira_copy_allocno_live_range_list.  Make it external.
      	(merge_ranges): Rename to ira_merge_allocno_live_ranges.  Make it
      	external.
      	(ira_allocno_live_ranges_intersect_p): New.
      	(ira_finish_allocno_live_range_list): New.
      	(finish_allocno): Use it.
      	(remove_unnecessary_allocnos): Use ira_merge_allocno_live_ranges.
      	(copy_info_to_removed_store_destinations): Ditto.  Use
      	ira_copy_allocno_live_range_list.
      	(ira_flattening): Use ira_merge_allocno_live_ranges.
      	
      	* ira.c (too_high_register_pressure_p): New function.
      	(ira): Switch off sharing spill slots if the pressure is too high.
      
      From-SVN: r142017
      Vladimir Makarov committed
    • re PR c++/37563 (Trouble calling qualified member function) · 2de6c675
              PR c++/37563
              * parser.c (cp_parser_pseudo_destructor_name): A pseudo-destructor
              name is not a declaration.
      
      From-SVN: r142015
      Jason Merrill committed
    • re PR c++/37256 (extern template / explicit instantiation broken in 4.4.0-pre) · da3933ba
              PR c++/37256
              * pt.c (instantiate_decl): Don't require a definition of
              a template that is explicitly instantiated 'extern'.
      
      From-SVN: r142014
      Jason Merrill committed
    • include/ · 2ad646bd
      	* xtensa-config.h (XCHAL_HAVE_MUL16, XCHAL_HAVE_MUL32, XCHAL_HAVE_DIV32)
      	(XCHAL_HAVE_MINMAX, XCHAL_HAVE_SEXT, XCHAL_HAVE_THREADPTR)
      	(XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): Change to 1.
      	(XCHAL_NUM_AREGS): Change to 32.
      	(XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE): Change to 16K.
      	(XCHAL_ICACHE_LINESIZE, XCHAL_DCACHE_LINESIZE): Change to 32.
      	(XCHAL_ICACHE_LINEWIDTH, XCHAL_DCACHE_LINEWIDTH): Change to 5.
      	(XCHAL_DCACHE_IS_WRITEBACK): Change to 1.
      	(XCHAL_DEBUGLEVEL): Change to 6.
      
      From-SVN: r142012
      Bob Wilson committed
    • tree.c (build2_stat): Allow non-POINTER_PLUS_EXPRs with non-sizetype offsets if... · 98665861
      2008-11-19  Richard Guenther  <rguenther@suse.de>
      
      	* tree.c (build2_stat): Allow non-POINTER_PLUS_EXPRs with
      	non-sizetype offsets if their precision matches that of
      	the pointer.
      	* expr.c (expand_expr_real_1): Always sign-extend the offset
      	operand of a POINTER_PLUS_EXPR.
      
      From-SVN: r142009
      Richard Guenther committed
    • config.gcc: Unobsolete mips-sgi-irix[56]*. · 059c51ec
      	* config.gcc: Unobsolete mips-sgi-irix[56]*.
      	(mips-sgi-irix[56]*): No need to use fixproto.
      
      From-SVN: r142008
      Rainer Orth committed
    • lb1sf68.asm: Add GNU-stack annotation to avoid executable stack. · 74cc88a6
      	* config/m68k/lb1sf68.asm: Add GNU-stack annotation to avoid
      	executable stack.
      
      Co-Authored-By: Paul Brook <paul@codesourcery.com>
      
      From-SVN: r142007
      Maxim Kuvyrkov committed
    • m68k.c (sched_attr_op_type): Handle all CONSTs. · 00b2ef14
      	* config/m68k/m68k.c (sched_attr_op_type): Handle all CONSTs.
      
      	* gcc.target/m68k/xgot-1.c (dg-options): Add -O2.
      
      From-SVN: r142005
      Maxim Kuvyrkov committed
    • re PR tree-optimization/38156 (gcc.dg/tree-ssa/update-unswitch-1.c fails when… · c0399c47
      re PR tree-optimization/38156 (gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4)
      
      2008-11-19  Razya Ladelsky  <razya@il.ibm.com>
      
              PR target/38156
              * tree-parloops.c (loop_parallel_p): NULL vect_dump.
              (separate_decls_in_region): Create shared struct even when there
              are only reductions.
      
      From-SVN: r142004
      Razya Ladelsky committed