This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/60472] New: Warning: array subscript is above array bounds when compiling crtstuff.c
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 09 Mar 2014 12:02:19 +0000
- Subject: [Bug middle-end/60472] New: Warning: array subscript is above array bounds when compiling crtstuff.c
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60472
Bug ID: 60472
Summary: Warning: array subscript is above array bounds when
compiling crtstuff.c
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: ubizjak at gmail dot com
Created attachment 32314
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32314&action=edit
Preprocessed source
This warning gets emitted during x86_64-linux-gnu bootstrap when compiling
crtstuff with -O2 -Wall:
/home/uros/gcc-svn/trunk/libgcc/crtstuff.c: In function âframe_dummyâ:
/home/uros/gcc-svn/trunk/libgcc/crtstuff.c:463:19: warning: array subscript is
above array bounds [-Warray-bounds]
if (__JCR_LIST__[0])
^
Preprocessed file is attached:
~/gcc-build/gcc/cc1 -O2 -Wall -quiet crtstuff.i
/home/uros/gcc-svn/trunk/libgcc/crtstuff.c: In function âframe_dummyâ:
/home/uros/gcc-svn/trunk/libgcc/crtstuff.c:463:19: warning: array subscript is
above array bounds [-Warray-bounds]
if (__JCR_LIST__[0])
^