------- Comment #6 from rguenth at gcc dot gnu dot org  2008-03-26 21:51 -------
Hm, fold_binary_to_constant (LT_EXPR, boolean_type_node, &"raw_"[0], &""[0])
returns "raw_" < "" (which has TREE_CONSTANT set).  tree-vrp.c:operand_less_p
doesn't expect that, but only expects 0 or non-0:

      tcmp = fold_binary_to_constant (LT_EXPR, boolean_type_node, val, val2);

      if (!tcmp)
        return -2;

      if (!integer_zerop (tcmp))
        return 1;


-- 


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

Reply via email to