1. 10 Jul, 2010 7 commits
    • pault's avatar
      2010-07-10 Paul Thomas <pault@gcc.gnu.org> · e20c5d83
      pault authored
      	PR fortran/44773
      	* trans-expr.c (arrayfunc_assign_needs_temporary): No temporary
      	if the lhs has never been host associated, as well as not being
      	use associated, a pointer or a target.
      	* resolve.c (resolve_variable): Mark variables that are host
      	associated.
      	* gfortran.h: Add the host_assoc bit to the symbol_attribute
      	structure.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162038 138bc75d-0d04-0410-961f-82ee72b054a4
      e20c5d83
    • amylaar's avatar
      2010-07-10 Richard Guenther <rguenther@suse.de> · 6ceec668
      amylaar authored
      	    Joern Rennecke  <joern.rennecke@embecosm.com>
      
      	PR debug/44832
      	* tree-ssa-live.c (mark_all_vars_used_1): Set TREE_USED for
      	LABEL_DECL.
      	(remove_unused_scope_block_p): Don't drop TREE_USED LABEL_DECLs
      	unless they have DECL_IGNORED_P set.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162035 138bc75d-0d04-0410-961f-82ee72b054a4
      6ceec668
    • rguenth's avatar
      2010-07-10 Richard Guenther <rguenther@suse.de> · 816ede17
      rguenth authored
      	PR lto/44889
      	* gimple.c (gimple_fixup_complete_and_incomplete_subtype_p): New
      	helper function.
      	(gimple_types_compatible_p): Similar to pointed-to
      	types allow and merge a mix of complete and incomplete aggregate.
      	Use gimple_fixup_complete_and_incomplete_subtype_p for that.
      	(iterative_hash_gimple_type): Adjust for that.
      
      	* gcc.dg/lto/20100709-1_0.c: New testcase.
      	* gcc.dg/lto/20100709-1_1.c: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162032 138bc75d-0d04-0410-961f-82ee72b054a4
      816ede17
    • rsandifo's avatar
      gcc/ · 96fbe9dd
      rsandifo authored
      	* tree.h (DECL_REPLACEABLE_P): Strengthen check for weak symbols.
      
      gcc/testsuite/
      	* gcc.dg/attr-weak-hidden-1.c, gcc.dg/attr-weak-hidden-1a.c: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162031 138bc75d-0d04-0410-961f-82ee72b054a4
      96fbe9dd
    • iains's avatar
      · c4796e8b
      iains authored
      make ObjC do LTO.
      
      gcc/
      	PR objc/44140
      	* config/darwin.c (output_objc_section_asm_op): Save and restore
      	section when outputting ObjC section list.
      
      testsuite/
      
      	PR objc/44140
      	* objc.dg/lto/trivial-1_0.m: New.
      	* objc.dg/lto/lto.exp: New.
      	* obj-c++.dg/lto/trivial-1_0.mm: New.
      	* obj-c++.dg/lto/lto.exp: New.
      	* objc.dg/symtab-1.m: Adjust sizes.
      	* objc.dg/image-info.m: Do not run for gnu-runtime.
      
      gcc/objc/
      
      	PR objc/44140
      	* objc-act.c: build_objc_string_decl() remove declaration.
      	(finish_var_decl): Remove forcing of var output and marking
      	as "Used". 
      	(init_def_list): Use integer_zero_node. 
      	(init_objc_symtab): Use integer_zero_node, make the short
      	integer type specific on relevant nodes.
      	(generate_objc_symtab_decl): Remove call to 
      	forward_declare_categories().  Use null_pointer_node where
      	appropriate.  
      	(build_module_descriptor): Comment and mark this item as 
      	DECL_PRESERVE_P. 
      	(generate_static_references): Use gcc_unreachable instead of
      	abort (). 
      	(diagnose_missing_method): New.
      	(build_next_selector_translation_table): New.
      	(build_gnu_selector_translation_table): New.
      	(add_objc_string): Merge code from build_objc_string_decl...
      	... and delete build_objc_string_decl().
      	(generate_dispatch_table): Make integer types explicit.
      	(generate_category): Pass implent and arrange for the data
      	to be extracted within the routine.  Do not start new vars, 
      	but finish the ones collcted during parsing.
      	(generate_shared_structures): Likewise.
      	(finish_objc):  Reorder code so that we finish variables before
      	referencing them.  Save the global data before calling meta-data
      	creation routines, and pass the current reference to the two 
      	main routines.  Only call generate_objc_image_info () for the 
      	NeXT runtime.
      	(generate_classref_translation_entry): Comment on and make this
      	item DECL_PRESERVE_P.
      	(handle_class_ref): Use varpool interfaces, comment on and make
      	this item DECL_PRESERVE_P.
      	(handle_impent): Likewise.
      	(generate_objc_image_info): Only generate when the content is 
      	non-zero.  Make integer types explict.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162030 138bc75d-0d04-0410-961f-82ee72b054a4
      c4796e8b
    • gccadmin's avatar
      Daily bump. · 9c6bb141
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162029 138bc75d-0d04-0410-961f-82ee72b054a4
      9c6bb141
    • hubicka's avatar
      * lto-streamer-out.c (produce_symtab): Do not write alias cgraph/varpool · 30b30a87
      hubicka authored
      	nodes.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162025 138bc75d-0d04-0410-961f-82ee72b054a4
      30b30a87
  2. 09 Jul, 2010 29 commits
  3. 08 Jul, 2010 4 commits