This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug string/20260] New: ../sysdeps/x86/bits/string.h:1092:3: error: array subscript is below array bounds [-Werror=array-bounds]
- From: "schwab at linux-m68k dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 15 Jun 2016 10:39:10 +0000
- Subject: [Bug string/20260] New: ../sysdeps/x86/bits/string.h:1092:3: error: array subscript is below array bounds [-Werror=array-bounds]
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20260
Bug ID: 20260
Summary: ../sysdeps/x86/bits/string.h:1092:3: error: array
subscript is below array bounds [-Werror=array-bounds]
Product: glibc
Version: 2.24
Status: NEW
Severity: normal
Priority: P2
Component: string
Assignee: unassigned at sourceware dot org
Reporter: schwab@linux-m68k.org
Target Milestone: ---
Host: i586-*-*
Building the tests with gcc-6 triggers this error in strncat on i586:
In file included from ../string/string.h:627:0,
from ../include/string.h:54,
from tester.c:32,
from inl-tester.c:6:
tester.c: In function 'test_strncat':
../sysdeps/x86/bits/string.h:1092:3: error: array subscript is below array
bounds [-Werror=array-bounds]
--__tmp;
^~~~~~~
--
You are receiving this mail because:
You are on the CC list for the bug.