From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DF5A2385B831; Sun, 5 Apr 2020 21:08:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DF5A2385B831 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1586120914; bh=AUtzVtAI/R0aE1h9IIo7xScZFDtDLUJ/yvK0i0363qA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xFg+4k6iZLU4Psuk0RuICCgFxHUqNIF9iipMbkSpaAL4+A14Ai9ZOXyOWj8YoCNjK zn8qhSIA3btSXhMssEXR6piSyFR2Gw6OuKEM3QWk/LWQkPDC7FIqxsNndWco5CeRCA uJn8+DNzDbEkQcYtwtfbYyuggnksfvT7eARFT2Zs= From: "evan@coeus-group.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/94482] Inserting into vector with optimization enabled on x86 generates incorrect result Date: Sun, 05 Apr 2020 21:08:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 9.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: evan@coeus-group.com X-Bugzilla-Status: NEW 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: attachments.created 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-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Apr 2020 21:08:35 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94482 --- Comment #7 from Evan Nemerson --- Created attachment 48203 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D48203&action=3Dedit Non-reduced test case Thanks for looking into this. ASan didn't have any issues with the original, non-reduced test. Here is a compressed copy. I'm generating a new reduced version now, checking ASan and UBSan along the= way (as well as using -Wall -Werror to make sure the result compiles cleanly), = I'll upload it as soon as it's ready.=