------- Comment #2 from rguenth at gcc dot gnu dot org  2005-12-21 16:58 -------
lsm needs to special case handling of complex somehow, as we don't take complex
vars to ssa form (appearantly).

(gdb) call debug_generic_expr(stmt)
#   t_lsm.21D.1571 = V_MUST_DEF <t_lsm.21D.1571>;
t_lsm.21D.1571 = __complex__ (5.0e-1, 0.0)

so

  else if (TREE_CODE (*rhs) == SSA_NAME
           || is_gimple_min_invariant (*rhs))

triggers because the RHS is gimple_min_invariant.  And the LHS
is gimple_reg_type because it's not AGGREGATE_TYPE either.

Zdenek, can you have a look?


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rakdver at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25513

Reply via email to