aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/std/numeric
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2020-02-19 11:13:52 +0100
committerMartin Jambor <mjambor@suse.cz>2020-02-19 11:15:30 +0100
commit51faf07cef9293af544bfacc7d0b320ab90d7d60 (patch)
tree533e82edecf8fb0aaf3972966db494361c113dec /libstdc++-v3/include/std/numeric
parent665c5bad168ab63629b29ed2ce08ed042c088dc2 (diff)
downloadgcc-51faf07cef9293af544bfacc7d0b320ab90d7d60.zip
gcc-51faf07cef9293af544bfacc7d0b320ab90d7d60.tar.gz
gcc-51faf07cef9293af544bfacc7d0b320ab90d7d60.tar.bz2
sra: Do not create zero sized accesses (PR 93776)
SRA can get a bit confused with zero-sized accesses like the one in the testcase. Since there is nothing in the access, nothing is scalarized, but we can get order of the structures wrong, which the verifier is not happy about. Fixed by simply ignoring such accesses. 2020-02-19 Martin Jambor <mjambor@suse.cz> PR tree-optimization/93776 * tree-sra.c (create_access): Do not create zero size accesses. (get_access_for_expr): Do not search for zero sized accesses. testsuite/ * gcc.dg/tree-ssa/pr93776.c: New test.
Diffstat (limited to 'libstdc++-v3/include/std/numeric')
0 files changed, 0 insertions, 0 deletions