From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id VuiaN4DsNWG/CgAAWB0awg (envelope-from ) for ; Mon, 06 Sep 2021 06:25:04 -0400 Received: by simark.ca (Postfix, from userid 112) id D54C41EE22; Mon, 6 Sep 2021 06:25:04 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id B88D71EDF5 for ; Mon, 6 Sep 2021 06:25:02 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 246C5383942D for ; Mon, 6 Sep 2021 10:25:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 246C5383942D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1630923902; bh=SNiqd7dBHmaLPUf/rw6ltFEHMx6/bxuK0w7GrOtOsbI=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=Xz29bBdpEMCgNHs1ZiQhGFtrPLCqakoKo+W1UAJZi/Ic736Y0h4owUJ2JQQCN+9AG hjm8+dTyBqW6DLYqJslMPWE+NftwDLsxBsEEv33lp9Nk/0Y3rvQTnrejW1uWsOPF42 tYah5r+wlAI4S5EIvc046JN8PtBFtAL1H04EW/Qc= Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id AACFA3857419 for ; Mon, 6 Sep 2021 10:24:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AACFA3857419 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id E0BBC2214F; Mon, 6 Sep 2021 10:24:37 +0000 (UTC) Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id C68901363C; Mon, 6 Sep 2021 10:24:37 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id RkokL2XsNWE7DwAAGKfGzw (envelope-from ); Mon, 06 Sep 2021 10:24:37 +0000 Subject: Re: Array out of bounds To: Simon Marchi , Jan-Benedict Glaw , gdb@sourceware.org References: <20210905064035.azigz657cpfjonoo@lug-owl.de> <20210905180613.ykl6f3lvsio46jdg@lug-owl.de> <6e5e153c-e540-63d5-4f5d-e1e700ee08d7@polymtl.ca> Message-ID: <8d535493-e77b-05da-d7b1-afb4379801f1@suse.de> Date: Mon, 6 Sep 2021 12:24:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <6e5e153c-e540-63d5-4f5d-e1e700ee08d7@polymtl.ca> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Tom de Vries via Gdb Reply-To: Tom de Vries Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" On 9/6/21 3:48 AM, Simon Marchi via Gdb wrote: > > > On 2021-09-05 2:06 p.m., Jan-Benedict Glaw wrote: >> Hi! >> >> On Sun, 2021-09-05 08:40:35 +0200, Jan-Benedict Glaw wrote: >>> Hi! >>> >>> As I started with automated building/testing the GNU Toolchain again, >>> I found this when building GDB (make all-gdb) with a fairly recent GCC >>> on a Linux system (PC) when GDB is configured for >>> --target=aarch64-linux: >> >> Just to add: Seems to be independent of a target. Produces the same >> warning/error for all tested targets using a current GCC. >> >> Thanks, >> Jan-Benedict >> > > I just built gcc at 66bba4dc263d ("Daily bump."), and I don't see it. > I've managed to reproduce, filed as PR gcc/102216 - "False positive warray-bounds with -O2" @ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102216 . Thanks, - Tom