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

--- Comment #6 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:e63d76234d18cac731c4f3610d513bd8b39b5520

commit r12-2590-ge63d76234d18cac731c4f3610d513bd8b39b5520
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.

Reply via email to