diff options
author | Richard Biener <rguenther@suse.de> | 2021-05-17 13:56:14 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-05-17 15:27:32 +0200 |
commit | e0a5daf81f2c79a0275eccd7c1a25349990a7a4d (patch) | |
tree | 93eb4a844627d64ca4589144a94d9ae784b2d516 /gcc/c/gimple-parser.c | |
parent | bdd8e3dd60c4f6080df74fe02b6579451fda6a21 (diff) | |
download | gcc-e0a5daf81f2c79a0275eccd7c1a25349990a7a4d.zip gcc-e0a5daf81f2c79a0275eccd7c1a25349990a7a4d.tar.gz gcc-e0a5daf81f2c79a0275eccd7c1a25349990a7a4d.tar.bz2 |
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 <rguenther@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.
Diffstat (limited to 'gcc/c/gimple-parser.c')
0 files changed, 0 insertions, 0 deletions