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]
Other format: [Raw text]

[PATCH] Remove some only set variables


There are some only written to variables in GCC's sources,
this remove most but not all as the one which I did not remove
could be used for debugging, ggc_stats in ggc-common.c.

Ok? Bootstrapped and tested (more than once) on x86_64-linux-gnu
with no regressions.

Thanks,
Andrew Pinski

ChangeLog:
	* tree-cfg.c (split_edge_bb_loc): Remove only set
	variable, src.
	* tree-ssa-copy.c (stmt_may_generate_copy): Remove
	only set variable, lhs.
	* gcse.c (debug_stderr): Kill.
	(gcse_main): Remove setting of debug_stderr.
	(bypass_jumps): Likewise.
	* c-decl.c (grokdeclarator): Remove only set
	variable, type_as_written.
	* builtins.c (apply_args_reg_offset): Kill
	(apply_args_size): Remove setting of apply_args_size.
	

Attachment: fix.diff.txt
Description: ASCII C program text


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