[llvm-bugs] [Bug 44726] New: ADT/SmallVector.h: array subscript 1 is outside array bounds
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jan 31 02:08:29 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=44726
Bug ID: 44726
Summary: ADT/SmallVector.h: array subscript 1 is outside array
bounds
Product: libraries
Version: 10.0
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Core LLVM classes
Assignee: unassignedbugs at nondot.org
Reporter: ggreif at gmail.com
CC: llvm-bugs at lists.llvm.org
While compiling the 10.0.0rc1 on our nix builder:
```
/build/llvm/include/llvm/ADT/SmallVector.h: In member function 'void
llvm::ExecutionDomainFix::visitSoftInstr(llvm::MachineInstr*, unsigned int)':
/build/llvm/include/llvm/ADT/SmallVector.h:520:7: warning: array subscript 1 is
outside array bounds of 'int [1]' [-Warray-bounds]
520 | ++EltPtr;
| ^~
```
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200131/beca5333/attachment.html>
More information about the llvm-bugs
mailing list