------- Comment #1 from pinskia at gcc dot gnu dot org  2008-03-25 04:23 -------
2005-12-22  Richard Guenther  <[EMAIL PROTECTED]>

        * tree.c (tree_fold_gcd): Use build_int_cst where appropriate.
        * tree-ssa-loop-ivcanon.c (create_canonical_iv): Likewise.
        * varasm.c (array_size_for_constructor): Likewise.
        * fold-const.c (size_diffop, invert_truthvalue,
        optimize_bit_field_compare, make_range, build_range_check,
        fold_cond_expr_with_comparison, fold_truthop,
        fold_single_bit_test_into_sign_test, fold_binary): Likewise.

Caused it though using BIT_IOR_EXPR on a complex type does not make sense does
it?
Anyways adding INTEGRAL_TYPE_P makes it work.

Also I think there are some missed optimization due to a full equality check of
the types rather than a weaker one, I will file them as seperate bugs.

Mine, I am testing the obvious patch which adds the check for INTEGRAL_TYPE_P.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-03-15 01:27:39         |2008-03-25 04:23:41
               date|                            |


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

Reply via email to