Silence array-bounds warnings when with gcc 4.9.1

Joerg Sonnenberger joerg at britannica.bec.de
Tue Apr 28 02:34:15 PDT 2015


On Tue, Apr 28, 2015 at 09:14:27AM +0300, Yaron Keren wrote:
> http://llvm.org/pr23335
> 
> When building clang with gcc 4.9.1, there are many 'array subscript is
> above array bounds' warnings from clang/Basic/Diagnostic.h. This patch
> silences these warnings.

But why do they happen?

Joerg



More information about the cfe-commits mailing list