This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] gimple and fold_stmt
- From: law at redhat dot com
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 12 Nov 2003 21:51:33 -0700
- Subject: Re: [tree-ssa] gimple and fold_stmt
- Reply-to: law at redhat dot com
In message <20031113002553.GK7961@kam.mff.cuni.cz>, Jan Hubicka writes:
>Hi,
>I am running into problem with fold_stmt turning:
> if (T.1 != __complex__ (1.0e+0, 0.0))
>
>into:
> if (REALPART_EXPR <SAVE_EXPR <T.1>> != 1.0e+0 || IMAGPART_EXPR <SAVE_EXPR <
>T.1>> != 0.0)
>That is no more generic. THis happens via fold:
Yes, there's been a significant thread about this problem. SAVE_EXPRs need
to be eliminated from the generic folding routines.
Roger and myself will probably be the ones that ultimately have to tackle
rewriting the folders to be sane.
Jeff