From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 127675 invoked by alias); 1 Jun 2015 23:49:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 127636 invoked by uid 48); 1 Jun 2015 23:49:43 -0000 From: "daniel at imperfectcode dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/59124] [4.8/4.9/5/6 Regression] Wrong warnings "array subscript is above array bounds" Date: Mon, 01 Jun 2015 23:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.8.3 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel at imperfectcode dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-06/txt/msg00095.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D59124 daniel at imperfectcode dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel at imperfectcode do= t com --- Comment #15 from daniel at imperfectcode dot com --- FYI, I'm seeing a similar error on Arch Linux using 5.1.0. =3D=3D Build lib/librte_eal/linuxapp/eal CC eal.o CC eal_hugepage_info.o CC eal_memory.o .../dpdk-2.0.0/lib/librte_eal/linuxapp/eal/eal_memory.c: In function =E2=80=98rte_eal_hugepage_init=E2=80=99: .../dpdk-2.0.0/lib/librte_eal/linuxapp/eal/eal_memory.c:1193:35: error: arr= ay subscript is above array bounds [-Werror=3Darray-bounds] internal_config.hugepage_info[j].hugepage_sz) { ^ .../dpdk-2.0.0/lib/librte_eal/linuxapp/eal/eal_memory.c:1198:34: error: arr= ay subscript is above array bounds [-Werror=3Darray-bounds] internal_config.hugepage_info[j].num_pages[socket]++; ^ .../dpdk-2.0.0/lib/librte_eal/linuxapp/eal/eal_memory.c:1198:34: error: arr= ay subscript is above array bounds [-Werror=3Darray-bounds] cc1: all warnings being treated as errors .../dpdk-2.0.0/mk/internal/rte.compile-pre.mk:126: recipe for target 'eal_memory.o' failed [...] >>From gcc-bugs-return-487764-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jun 02 00:11:04 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 21290 invoked by alias); 2 Jun 2015 00:11:04 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 21255 invoked by uid 48); 2 Jun 2015 00:11:00 -0000 From: "chrisloonam at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug objc/66367] Objective-C Variadic Method Not Compiling Date: Tue, 02 Jun 2015 00:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: objc X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: chrisloonam at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-06/txt/msg00096.txt.bz2 Content-length: 251 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66367 --- Comment #2 from Chris Loonam --- I think that being able to use `id` as an argument to va_arg is the expected behavior, not an extension provided by the compiler.