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]

Re: [PATCH] Fix PR tree-opt/16808, Vops are not being renamed



On Nov 1, 2004, at 11:28 AM, Diego Novillo wrote:


On Sun, 2004-10-31 at 12:12, Andrew Pinski wrote:

	* tree-ssa.c (mark_all_v_defs): New function.
	(replace_immediate_uses): Call the new function.
	(pass_redundant_phi): Add TODO_fix_def_def_chains.

This is wrong.  TODO_rename_vars and TODO_fix_def_def_chains do
essentially the same thing.  If we have disappearing operands, you
should call mark_new_vars_to_rename.

Ok, what about this?


ChangeLog:
	* tree-ssa.c (replace_immediate_uses): If we call fold_stmt, make sure
	that the vops get marked for renaming.

Attachment: temp.diff.txt
Description: Text document



Thanks,
Andrew Pinski

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