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] | |
On Tue, 2004-03-16 at 18:06, Richard Henderson wrote:
On Tue, Mar 16, 2004 at 02:30:35PM -0800, Devang Patel wrote:Oh, right. Devang, when you create COND_EXPRs, make sure you either (a)# VUSE <A_24>; T.0_26 = if (1) { A[i_22]; } else { T.0_26 };
This isn't GIMPLE. The operands to the if need to be is_gimple_val, not is_gimple_rhs. You need to introduce a temporary.
call the gimplifier to request is_gimple_val, or (b) gimplify the
operands yourself before building it. In this case, (b) is probably
just as easy.
-- Devang
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |