public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "caolanm at redhat dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/41847] New: warning: array subscript is above array bounds Date: Tue, 27 Oct 2009 14:46:00 -0000 [thread overview] Message-ID: <bug-41847-8961@http.gcc.gnu.org/bugzilla/> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1093 bytes --] # gcc -Wall -O2 -c demo.cxx demo.cxx: In function void isInvertible(): demo.cxx:12: warning: array subscript is above array bounds gcc --version gcc (GCC) 4.4.2 20091019 (Red Hat 4.4.2-5) I've the same results with... gcc (GCC) 4.4.2 20091019 (Red Hat 4.4.2-5) (gcc-4.4.2-5.el6.s390x) gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-3) (gcc-4.4.1-3.s390x) gcc (GCC) 4.4.0 20090506 (Red Hat 4.4.0-4) (gcc-4.4.0-4.s390x) Possibly a duplicate of #35392 so its not a very recent thing. I only get this warning (and related runtime failure) with s390x. Equivalent x86_64/x86/ppc/ppc64/arm gcc's appear fine -- Summary: warning: array subscript is above array bounds Product: gcc Version: 4.4.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: caolanm at redhat dot com GCC build triplet: s390x-ibm-linux GCC host triplet: s390x-ibm-linux GCC target triplet: s390x-ibm-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41847
next reply other threads:[~2009-10-27 14:46 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-10-27 14:46 caolanm at redhat dot com [this message] 2009-10-27 14:47 ` [Bug c++/41847] " caolanm at redhat dot com 2009-10-27 16:34 ` jakub at gcc dot gnu dot org 2009-10-27 16:53 ` jakub at gcc dot gnu dot org 2009-10-27 20:17 ` caolanm at redhat dot com 2009-10-31 17:59 ` caolanm at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-41847-8961@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).