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

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

https://gcc.gnu.org/g:129bf4f2efc0ec22ee14affd8c8a3bfe07896356

commit r11-8830-g129bf4f2efc0ec22ee14affd8c8a3bfe07896356
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Jul 21 09:14:24 2021 +0200

    c/101512 - fix missing address-taking in c_common_mark_addressable_vec

    c_common_mark_addressable_vec fails to look through C_MAYBE_CONST_EXPR
    in the case it isn't at the toplevel.

    2021-07-21  Richard Biener  <rguent...@suse.de>

            PR c/101512
    gcc/c-family/
            * c-common.c (c_common_mark_addressable_vec): Look through
            C_MAYBE_CONST_EXPR even if not at the toplevel.

    gcc/testsuite/
            * gcc.dg/torture/pr101512.c: New testcase.

    (cherry picked from commit e63d76234d18cac731c4f3610d513bd8b39b5520)

Reply via email to