diff options
author | Jeff Law <law@redhat.com> | 2020-01-29 12:23:53 -0700 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2020-01-29 12:26:35 -0700 |
commit | 0de349f108d963219bd59aa374a68c15355236be (patch) | |
tree | 5ac0fe26ef9542fb34274a9a502095b4e213f6a2 /gcc/go | |
parent | 2812a28418b72b24979805cfca1f140dda4963b7 (diff) | |
download | gcc-0de349f108d963219bd59aa374a68c15355236be.zip gcc-0de349f108d963219bd59aa374a68c15355236be.tar.gz gcc-0de349f108d963219bd59aa374a68c15355236be.tar.bz2 |
Improve DSE which in turn eliminates the need for jump threading and block duplication for the original testcase in pr89689 which in turn eliminates the false positive -Warray-bounds warning for the original testcase.
PR tree-optimization/89689
* builtins.def (BUILT_IN_OBJECT_SIZE): Make it const rather than pure.
PR tree-optimization/89689
* gcc.dg/pr89689.c: New test.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions