This is the mail archive of the gcc@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: DCE eliminating valid statement for ACATS c34007p


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~


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