https://bugs.llvm.org/show_bug.cgi?id=28351

Davide Italiano <dav...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
                 CC|                            |dav...@freebsd.org
             Status|NEW                         |RESOLVED

--- Comment #1 from Davide Italiano <dav...@freebsd.org> ---
[davide@localhost bin]$ ./clang -O3 vec.c -c
vec.c:5:5: warning: array index 1 is past the end of the array (which contains
1 element) [-Warray-bounds]
    a[b][1] = 1;
    ^    ~
vec.c:1:1: note: array 'a' declared here
short a[2][1];
^
1 warning generated.
[davide@localhost bin]$ git log
commit 2257563e92784ac63855930f5c3dfb7602d14172
Author: davide <davide@91177308-0d34-0410-b5e6-96231b3b80d8>
Date:   Wed Apr 19 17:26:57 2017 +0000

    [InstCombine] Reduce visitLoadInst() code duplication. NFCI.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300717
91177308-0d34-0410-b5e6-96231b3b80d8

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to