diff options
author | Richard Biener <rguenther@suse.de> | 2021-07-21 09:14:24 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-07-29 08:13:29 +0200 |
commit | e63d76234d18cac731c4f3610d513bd8b39b5520 (patch) | |
tree | 2756a25fa6e99a59105ff653df8d5e8d7bf4bdc7 /gcc/tree-ssa-threadbackward.c | |
parent | 841548f0f7d375c5b7022e19d588061cda3acfa6 (diff) | |
download | gcc-e63d76234d18cac731c4f3610d513bd8b39b5520.zip gcc-e63d76234d18cac731c4f3610d513bd8b39b5520.tar.gz gcc-e63d76234d18cac731c4f3610d513bd8b39b5520.tar.bz2 |
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 <rguenther@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.
Diffstat (limited to 'gcc/tree-ssa-threadbackward.c')
0 files changed, 0 insertions, 0 deletions