This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch for "uninitialized" warnings


  In message <199912310516.AAA28533@caip.rutgers.edu>you write:
  > This zaps a bunch of "uninitialized" warnings.
  > 
  > Okay to install?
  > 
  > 		--Kaveh
  > 
  > 
  > 
  > 1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
  > 
  > 	* builtins.c (expand_builtin_strlen): Initialize variable `icode'.
  > 
  > 	* calls.c (expand_call): Likewise for
  > 	`old_stack_arg_under_construction'.
  > 
  > 	* cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
  > 
  > 	* function.c (pad_to_arg_alignment): Likewise for `save_var' and
  > 	`save_constant'.
  > 
  > 	* gcc.c (execute): Likewise for `ut' and `st'.
  > 
  > 	* genattrtab.c (attr_rtx): Likewise for `rt_val'.
  > 
  > 	* genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
  > 
  > 	* jump.c (jump_optimize_1): Likewise for `temp2'.
  > 
  > 	* local-alloc.c (block_alloc): Likewise for `r1'.
  > 
  > 	* loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
  > 
  > 	* reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
  > 	(subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
  > 	
  > 	* regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
  > 	and `set2'.
  > 
  > 	* reload.c (find_reloads): Likewise for `goal_alternative_number'
  > 	and `goal_earlyclobber'.
  > 
  > 	* scan-decls.c (scan_decls): Likewise for `prev_id_end'.
  > 
  > 	* sdbout.c (sdbout_one_type): Likewise for `member_scl'.
  > 
  > 	* stupid.c (stupid_life_analysis): Likewise for `chain'.
  > 
  > 	* unroll.c (copy_loop_body): Likewise for `copy'.
  > 
  > 	* varasm.c (output_constructor): Likewise for `byte'.	
  > 	
  > ch:
  > 	* actions.c (update_else_range_for_int_const): Initialize
  > 	variables `lowval' and `highval'.
  > 	(update_else_range_for_range): Likewise for `low_range_val' and
  > 	`high_range_val'.
  > 
  > cp:
  > 	* class.c (warn_hidden): Initialize variable `fndecl'.
This is fine.  Don't forget to update the copyright dates as you install
the patch.

Thanks,
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]