This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/84047] [6/7/8 Regression] missing -Warray-bounds on a negative offset into a string
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Jan 2018 22:57:01 +0000
- Subject: [Bug tree-optimization/84047] [6/7/8 Regression] missing -Warray-bounds on a negative offset into a string
- Auto-submitted: auto-generated
- References: <bug-84047-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84047
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Known to work| |4.5.4
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=83776
Summary|missing -Warray-bounds on a |[6/7/8 Regression] missing
|negative offset into a |-Warray-bounds on a
|string |negative offset into a
| |string
Known to fail| |5.4.0, 6.4.0, 7.2.0, 8.0
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
The root cause of this regression is different from that of pr83776. Bisection
leads to r161655 (committed in the GCC 4.6.0 cycle):
r161655 | rguenth | 2010-07-01 04:49:19 -0400 (Thu, 01 Jul 2010) | 341 lines
2010-07-01 Richard Guenther <rguenther@suse.de>
PR middle-end/42834
PR middle-end/44468