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

--- Comment #5 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:e0a5daf81f2c79a0275eccd7c1a25349990a7a4d

commit r12-837-ge0a5daf81f2c79a0275eccd7c1a25349990a7a4d
Author: Richard Biener <rguent...@suse.de>
Date:   Mon May 17 13:56:14 2021 +0200

    middle-end/100582 - fix array_at_struct_end_p for vector indexing

    Vector indexing leaves us with ARRAY_REFs of VIEW_CONVERT_EXPRs,
    sth which array_at_struct_end_p considers a array-at-struct-end
    even when there's an underlying decl visible.  The following fixes
    the latter.

    2021-05-17  Richard Biener  <rguent...@suse.de>

            PR middle-end/100582
            * tree.c (array_at_struct_end_p): Get to the base of the
            reference before looking for the underlying decl.

            * gcc.target/i386/pr100582.c: New testcase.

Reply via email to