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] Remove useless code from dce


On Mon, 2006-01-30 at 10:18 +0100, Zdenek Dvorak wrote:
> Hello,
> 
> the code in mark_stmt_if_obviously_necessary removed by this patch
> can never be executed, as SSA_NAME_VAR of a real def cannot be
> a global variable.
> 
> 	* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Remove
> 	unreachable code.
OK.

Thanks,
Jeff



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