https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89689
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jeff Law <l...@gcc.gnu.org>: https://gcc.gnu.org/g:0de349f108d963219bd59aa374a68c15355236be commit r10-6332-g0de349f108d963219bd59aa374a68c15355236be Author: Jeff Law <l...@redhat.com> Date: Wed Jan 29 12:23:53 2020 -0700 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.