[Bug tree-optimization/28952] [4.2 regression] tree check: expected class 'expression', have 'exceptional' (ssa_name) in vectorizable_condition, at tree-vect-transform.c:2122

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Sep 4 19:15:00 GMT 2006



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-09-04 19:15 -------
Confirmed, we have:
  D.1539_10 = pplayer_4->spaceship.structure[j_11];
  iftmp.1_2 = D.1539_10 ? 49 : 48;

Which is valid.
It is caued by:
  /* We do not handle two different vector types for the condition
     and the values.  */
  if (TREE_TYPE (TREE_OPERAND (cond_expr, 0)) != TREE_TYPE (vectype))
    return false;

Which was added by:
2006-05-06   Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/27151
        * tree-vect-transform.c (vectorizable_condition): Punt on
        values that have a different type than the condition.

I also bet this is a latent (or even ICE only when checking) bug on the 4.1
branch too.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenther at suse dot de
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to work|                            |4.1.0
   Last reconfirmed|0000-00-00 00:00:00         |2006-09-04 19:15:48
               date|                            |
   Target Milestone|---                         |4.2.0


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



More information about the Gcc-bugs mailing list