[LLVMbugs] [Bug 23335] New: array-bounds warnigns building clang with gcc 4.9.1
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Apr 23 21:44:26 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23335
Bug ID: 23335
Summary: array-bounds warnigns building clang with gcc 4.9.1
Product: new-bugs
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: yaron.keren at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Thread model: posix
gcc version 4.9.1 (i686-posix-dwarf-rev1cee, Built by MinGW-W64 project)
[ 76%] Building CXX object
lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/AArch64AddressTypePromotion.cpp.obj
In file included from
C:/llvm/tools/clang/include/clang/Basic/PartialDiagnostic.h:19:0,
from
C:/llvm/tools/clang/include/clang/AST/DeclarationName.h:17,
from C:/llvm/tools/clang/include/clang/AST/DeclBase.h:18,
from C:/llvm/tools/clang/include/clang/AST/Decl.h:18,
from C:/llvm/tools/clang/include/clang/AST/ASTTypeTraits.h:20,
from C:/llvm/tools/clang/include/clang/AST/ASTContext.h:18,
from C:/llvm/tools/clang/include/clang/Sema/SemaInternal.h:18,
from
C:/llvm/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:13:
C:/llvm/tools/clang/include/clang/Basic/Diagnostic.h: In member function 'bool
clang::Sema::InstantiatingTemplate::CheckInstantiationDepth(clang::SourceLocation,
clang::SourceRange)':
C:/llvm/tools/clang/include/clang/Basic/Diagnostic.h:983:39: warning: array
subscript is above array bounds [-Warray-bounds]
DiagObj->DiagArgumentsKind[NumArgs] = Kind;
^
C:/llvm/tools/clang/include/clang/Basic/Diagnostic.h:984:40: warning: array
subscript is above array bounds [-Warray-bounds]
DiagObj->DiagArgumentsVal[NumArgs++] = V;
^
C:/llvm/tools/clang/include/clang/Basic/Diagnostic.h:983:39: warning: array
subscript is above array bounds [-Warray-bounds]
DiagObj->DiagArgumentsKind[NumArgs] = Kind;
^
C:/llvm/tools/clang/include/clang/Basic/Diagnostic.h:984:40: warning: array
subscript is above array bounds [-Warray-bounds]
DiagObj->DiagArgumentsVal[NumArgs++] = V;
^
C:/llvm/tools/clang/include/clang/Basic/Diagnostic.h:983:39: warning: array
subscript is above array bounds [-Warray-bounds]
DiagObj->DiagArgumentsKind[NumArgs] = Kind;
^
C:/llvm/tools/clang/include/clang/Basic/Diagnostic.h:984:40: warning: array
subscript is above array bounds [-Warray-bounds]
DiagObj->DiagArgumentsVal[NumArgs++] = V;
^
C:/llvm/tools/clang/include/clang/Basic/Diagnostic.h:983:39: warning: array
subscript is above array bounds [-Warray-bounds]
DiagObj->DiagArgumentsKind[NumArgs] = Kind;
^
C:/llvm/tools/clang/include/clang/Basic/Diagnostic.h:984:40: warning: array
subscript is above array bounds [-Warray-bounds]
DiagObj->DiagArgumentsVal[NumArgs++] = V;
^
--
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/20150424/5e30cab2/attachment.html>
More information about the llvm-bugs
mailing list