This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/79159] [7 regression] spurious array-bounds warning
- 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: Fri, 20 Jan 2017 03:24:08 +0000
- Subject: [Bug tree-optimization/79159] [7 regression] spurious array-bounds warning
- Auto-submitted: auto-generated
- References: <bug-79159-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79159
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Known to work| |6.3.0
Keywords| |diagnostic
Last reconfirmed| |2017-01-20
Component|c++ |tree-optimization
CC| |msebor at gcc dot gnu.org
Ever confirmed|0 |1
Known to fail| |7.0
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed. r235817 is the first revision that issues the warning. Changing
finalDigits to take n by value eliminates the warning,