1. 25 Sep, 2009 9 commits
  2. 24 Sep, 2009 23 commits
  3. 23 Sep, 2009 8 commits
    • gengtype.c (nb_plugin_files): Make it unsigned to match num_gt_files. · 9f78bf05
      2009-09-23  Basile Starynkevitch  <basile@starynkevitch.net>
                  Rafael Avila de Espindola  <espindola@google.com>
      
      	* gengtype.c (nb_plugin_files): Make it unsigned to match
      	num_gt_files. Adjust other variables to avoid warnings.
      	(main): Allocate an all zero lang_bitmap before each plugin file name
      	to match regular file names.
      
      
      Co-Authored-By: Rafael Avila de Espindola <espindola@google.com>
      
      From-SVN: r152106
      Basile Starynkevitch committed
    • tm.texi (STATIC_CHAIN, [...]): Remove. · 2b4fa409
              * doc/tm.texi (STATIC_CHAIN, STATIC_CHAIN_INCOMING): Remove.
              (TARGET_STATIC_CHAIN): Mention that this hook must be used for
              static chain passed in memory.
              * system.h (STATIC_CHAIN, STATIC_CHAIN_INCOMING): Poison.
              * targhooks.c (default_static_chain): Don't handle STATIC_CHAIN,
              STATIC_CHAIN_INCOMING.  Issue a sorry if there's no
              STATIC_CHAIN_REGNUM defined.
      
              * config/picochip/picochip-protos.h: s/class/klass/.
              * config/picochip/picochip.c (TARGET_STATIC_CHAIN): New.
              (picochip_static_chain): New.
              * config/picochip/picochip.h (STATIC_CHAIN): Remove.
              (STATIC_CHAIN_INCOMING): Remove.
      
              * config/xtensa/xtensa.c (TARGET_STATIC_CHAIN): New.
              (xtensa_static_chain): New.
              * config/xtensa/xtensa.h (STATIC_CHAIN, STATIC_CHAIN_INCOMING):
              * Remove.
      
      From-SVN: r152104
      Richard Henderson committed
    • pa.h (FUNCTION_VALUE): Remove macro. · 9193312a
      	* config/pa/pa.h (FUNCTION_VALUE): Remove macro.
      	* config/pa/pa-protos.h (function_value): Remove.
      	* config/pa/pa.c (pa_function_value): Rename from function_value.
      	Make static, add 'outgoing' argument.
      	(TARGET_FUNCTION_VALUE): Define.
      
      From-SVN: r152094
      Anatoly Sokolov committed
    • avr.c (avr_regs_to_save): Use current_function_is_leaf instead of cfun->machine->is_leaf. · 9ed74235
      	* config/avr/avr.c (avr_regs_to_save): Use current_function_is_leaf
      	instead of cfun->machine->is_leaf.
      	* config/avr/avr.h (machine_function): Remove is_leaf field.
      
      From-SVN: r152093
      Anatoly Sokolov committed
    • re PR debug/41439 (choose DW_OP_stack_value over DW_OP_implicit_value more often, please) · abab57ef
      	PR debug/41439
      	* dwarf2out.c (address_of_int_loc_descriptor): Don't emit
      	DW_OP_piece after DW_OP_stack_value, adjust size calculations
      	for it, when DW_OP_stack_value and DW_OP_implicit_value has
      	the same size, prefer DW_OP_stack_value.
      	(loc_descriptor, loc_list_for_address_of_addr_expr_of_indirect_ref,
      	loc_list_from_tree): Don't emit DW_OP_piece after DW_OP_stack_value.
      
      From-SVN: r152091
      Jakub Jelinek committed
    • re PR debug/41353 (VTA missed-debug issues) · 7168dc47
      PR debug/41353
      * var-tracking.c (add_with_sets): Sort MO_VAL_LOC last among uses.
      
      From-SVN: r152088
      Alexandre Oliva committed
    • re PR debug/41248 (VTA: Assertion at 2910 of cfgexpand.c (expand_debug_locations)) · dda2da58
      gcc/ChangeLog:
      PR debug/41248
      * cfgexpand.c (convert_debug_memory_address): New.
      (expand_debug_expr): Convert base address and offset to the same
      mode.  Use it to convert addresses to other modes.  Accept
      ptr_mode addresses.
      gcc/testsuite/ChangeLog:
      PR debug/41248
      * gcc.dg/pr41248.c: New.
      
      From-SVN: r152087
      Alexandre Oliva committed
    • re PR debug/41065 (DW_TAG_enumeration_type+DW_TAG_enumerator is sometimes missing) · b646ba3f
      Fix PR debug/41065
      
      gcc/ChangeLog:
      	PR debug/41065
      	* function.h (types_used_by_vars_hash): Declare new hash table.
      	(types_used_by_vars_eq, types_used_by_var_decl_insert): Declare
      	equality and hash function for the hash table.
      	(types_used_by_cur_var_decl): Declare a new global chained list.
      	(types_used_by_var_decl_insert): Declare new function.
      	* function.c (types_used_by_vars_hash): Define the hashtable ...
      	(types_used_by_vars_eq, types_used_by_vars_do_hash): ... as well as
      	its equality and hash functions.
      	(hash_types_used_by_vars_entry): New hash helper.
      	(types_used_by_cur_var_decl): Define the global chained list.
      	(used_types_insert): Update the list of types used by the global
      	variable being parsed.
      	(types_used_by_var_decl_insert): Define new function.
      	* c-common.h (record_types_used_by_current_var_decl): Declare ...
      	* c-common.c (record_types_used_by_current_var_decl): ... new
      	function.
      	* c-decl.c (finish_decl): Record the types used by the global
      	variable declaration we've just parsed.
      	* dwarf2out.c (premark_used_types): Insert a new line between
      	comment and function.
      	(premark_used_types_helper): Fix comment.
      	(premark_types_used_by_global_vars_helper,
      	premark_types_used_by_global_vars): New functions.
      	(prune_unused_types): Do not prune types used by global variables.
      
      gcc/cp/ChangeLog:
      	PR debug/41065
      	* decl.c (cp_finish_decl): Record the types used by the global
      	variable declaration we've just parsed.
      
      gcc/testsuite/ChangeLog:
      	PR debug/41065
      	* gcc.dg/debug/dwarf2/global-used-types.c: New test.
      
      From-SVN: r152085
      Dodji Seketeli committed