* omp-low.c (optimize_omp_library_calls): Use types_compatible_p
authormatz <matz@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Aug 2009 14:29:52 +0000 (14:29 +0000)
committermatz <matz@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Aug 2009 14:29:52 +0000 (14:29 +0000)
commit1ea6a73cf7bb61c4a80ad96d66329038114d0d79
tree8489ea3ed78727eeb377ad35611c3a1779e5bb14
parente1b3b79beacf0e6747eb7e6a1055d3cd0a436327
    * omp-low.c (optimize_omp_library_calls): Use types_compatible_p
        instead of comparing TYPE_MAIN_VARIANT for equality.
        * tree-vect-patterns.c (vect_recog_dot_prod_pattern,
        vect_recog_widen_mult_pattern, vect_recog_widen_sum_pattern): Ditto.
        * tree-vect-loop.c (vect_is_simple_reduction): Ditto.
        * gimplify.c (goa_lhs_expr_p): Ditto and use
        STRIP_USELESS_TYPE_CONVERSION.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150936 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimplify.c
gcc/omp-low.c
gcc/tree-vect-loop.c
gcc/tree-vect-patterns.c