https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98674

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:2182274f510c180ea92a4f826a0f6cf5f1f55b66

commit r11-6670-g2182274f510c180ea92a4f826a0f6cf5f1f55b66
Author: Richard Biener <rguent...@suse.de>
Date:   Thu Jan 14 14:08:41 2021 +0100

    tree-optimization/98674 - improve dependence analysis

    This improves dependence analysis on refs that access the same
    array but with different typed but same sized accesses.  That's
    obviously safe for the case of types that cannot have any
    access function based off them.  For the testcase this is
    signed short vs. unsigned short.

    2021-01-14  Richard Biener  <rguent...@suse.de>

            PR tree-optimization/98674
            * tree-data-ref.c (base_supports_access_fn_components_p): New.
            (initialize_data_dependence_relation): For two bases without
            possible access fns resort to type size equality when determining
            shape compatibility.

            * gcc.dg/vect/pr98674.c: New testcase.

Reply via email to