public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/55085] New: [4.8 regression] false positive -Warray-bounds @ 2012-10-26 15:56 dimhen at gmail dot com 2012-10-26 15:56 ` [Bug tree-optimization/55085] " dimhen at gmail dot com ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: dimhen at gmail dot com @ 2012-10-26 15:56 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55085 Bug #: 55085 Summary: [4.8 regression] false positive -Warray-bounds Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned@gcc.gnu.org ReportedBy: dimhen@gmail.com $ gcc -Werror -Wall -Wextra -O2 -funroll-loops -c 1.c 1.c: In function 'bar': 1.c:12:11: error: array subscript is above array bounds [-Werror=array-bounds] if(!a[i]) ^ void bar(unsigned m) { void *a[3]; int i; for(i=0; i<(int)m; i++) a[i]=0; // missing warning ? switch(m) { case 2: for(i=0; i<(int)m; i++) if(!a[i]) return; } } ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/55085] [4.8 regression] false positive -Warray-bounds 2012-10-26 15:56 [Bug tree-optimization/55085] New: [4.8 regression] false positive -Warray-bounds dimhen at gmail dot com @ 2012-10-26 15:56 ` dimhen at gmail dot com 2012-10-29 14:34 ` rguenth at gcc dot gnu.org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: dimhen at gmail dot com @ 2012-10-26 15:56 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55085 --- Comment #1 from Dmitry G. Dyachenko <dimhen at gmail dot com> 2012-10-26 15:56:16 UTC --- $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/local/gcc_current/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /home/dima/src/gcc-current/configure --prefix=/usr/local/gcc_current --with-multilib-list=m64 --enable-shared --enable-checking=release --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,lto --enable-plugin --with-tune=native --enable-version-specific-runtime-libs Thread model: posix gcc version 4.8.0 20121026 (experimental) [trunk revision 192841] (GCC) ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/55085] [4.8 regression] false positive -Warray-bounds 2012-10-26 15:56 [Bug tree-optimization/55085] New: [4.8 regression] false positive -Warray-bounds dimhen at gmail dot com 2012-10-26 15:56 ` [Bug tree-optimization/55085] " dimhen at gmail dot com @ 2012-10-29 14:34 ` rguenth at gcc dot gnu.org 2012-10-30 9:33 ` rguenth at gcc dot gnu.org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: rguenth at gcc dot gnu.org @ 2012-10-29 14:34 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55085 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.8.0 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/55085] [4.8 regression] false positive -Warray-bounds 2012-10-26 15:56 [Bug tree-optimization/55085] New: [4.8 regression] false positive -Warray-bounds dimhen at gmail dot com 2012-10-26 15:56 ` [Bug tree-optimization/55085] " dimhen at gmail dot com 2012-10-29 14:34 ` rguenth at gcc dot gnu.org @ 2012-10-30 9:33 ` rguenth at gcc dot gnu.org 2012-11-02 20:56 ` hubicka at gcc dot gnu.org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: rguenth at gcc dot gnu.org @ 2012-10-30 9:33 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55085 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> 2012-10-30 09:32:45 UTC --- dup. *** This bug has been marked as a duplicate of bug 55079 *** ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/55085] [4.8 regression] false positive -Warray-bounds 2012-10-26 15:56 [Bug tree-optimization/55085] New: [4.8 regression] false positive -Warray-bounds dimhen at gmail dot com ` (2 preceding siblings ...) 2012-10-30 9:33 ` rguenth at gcc dot gnu.org @ 2012-11-02 20:56 ` hubicka at gcc dot gnu.org 2012-11-02 20:57 ` hubicka at gcc dot gnu.org 2012-12-09 3:15 ` pinskia at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: hubicka at gcc dot gnu.org @ 2012-11-02 20:56 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55085 Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org Resolution|DUPLICATE |FIXED --- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-11-02 20:55:58 UTC --- This one is solved now (and not a duplicate) ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/55085] [4.8 regression] false positive -Warray-bounds 2012-10-26 15:56 [Bug tree-optimization/55085] New: [4.8 regression] false positive -Warray-bounds dimhen at gmail dot com ` (3 preceding siblings ...) 2012-11-02 20:56 ` hubicka at gcc dot gnu.org @ 2012-11-02 20:57 ` hubicka at gcc dot gnu.org 2012-12-09 3:15 ` pinskia at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: hubicka at gcc dot gnu.org @ 2012-11-02 20:57 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55085 Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nately@t-online.de --- Comment #4 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-11-02 20:57:34 UTC --- *** Bug 55133 has been marked as a duplicate of this bug. *** ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/55085] [4.8 regression] false positive -Warray-bounds 2012-10-26 15:56 [Bug tree-optimization/55085] New: [4.8 regression] false positive -Warray-bounds dimhen at gmail dot com ` (4 preceding siblings ...) 2012-11-02 20:57 ` hubicka at gcc dot gnu.org @ 2012-12-09 3:15 ` pinskia at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu.org @ 2012-12-09 3:15 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55085 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |akim.demaille at gmail dot | |com --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-12-09 03:14:52 UTC --- *** Bug 55222 has been marked as a duplicate of this bug. *** ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-12-09 3:15 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-10-26 15:56 [Bug tree-optimization/55085] New: [4.8 regression] false positive -Warray-bounds dimhen at gmail dot com 2012-10-26 15:56 ` [Bug tree-optimization/55085] " dimhen at gmail dot com 2012-10-29 14:34 ` rguenth at gcc dot gnu.org 2012-10-30 9:33 ` rguenth at gcc dot gnu.org 2012-11-02 20:56 ` hubicka at gcc dot gnu.org 2012-11-02 20:57 ` hubicka at gcc dot gnu.org 2012-12-09 3:15 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).