This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/25513] [4.1/4.2 Regression] static complex variable and LIM
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Dec 2005 16:58:13 -0000
- Subject: [Bug tree-optimization/25513] [4.1/4.2 Regression] static complex variable and LIM
- References: <bug-25513-8520@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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