<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - array-bounds warnigns building clang with gcc 4.9.1"
href="https://llvm.org/bugs/show_bug.cgi?id=23335">23335</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>array-bounds warnigns building clang with gcc 4.9.1
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>yaron.keren@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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;
^</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>