This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: DCE eliminating valid statement for ACATS c34007p
- From: Richard Henderson <rth at redhat dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: richard dot guenther at gmail dot com, gcc at gcc dot gnu dot org
- Date: Tue, 6 Sep 2005 10:02:02 -0700
- Subject: Re: DCE eliminating valid statement for ACATS c34007p
- References: <10509061204.AA04707@vlsi1.ultra.nyu.edu>
On Tue, Sep 06, 2005 at 08:04:29AM -0400, Richard Kenner wrote:
> if (TREE_CODE (TREE_TYPE (op)) == COMPLEX_TYPE)
> DECL_COMPLEX_GIMPLE_REG_P (new_var) = 1;
You should not have set this; you're taking the address of
the variable after all.
> I don't care for the duplication of code in
> internal_get_tmp_var from a maintainability point of view ...
Well, since you essentially shouldn't have used ought but
create_tmp_var, that point is moot.
r~