From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4F0893857C5F; Wed, 16 Sep 2020 17:04:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4F0893857C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1600275854; bh=e2KhTR8dP/tIZhCwXZUbSOz4Y3dxxtuALx/EpHhEaEU=; h=From:To:Subject:Date:From; b=OjQu+wiP4pn1s2E3JKcTZW/EgN956cdeS/zyVFEGKBG9drUEoh1CJXD6p7LdFaSGY L3GbrtKCchYXQoqs5GmpV3efu33uMMov4QOSRUtC0VzM6+FfSDcK9b4XKhDf6wypD7 pK1xyMuPLq+OKe6C7nDkhUnImY9P0qij83yLE0g4= From: "sirl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/97073] New: Miscompilation with -m32 -O1 -march=i686 Date: Wed, 16 Sep 2020 17:04:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.4.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sirl at gcc dot gnu.org 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: 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: Wed, 16 Sep 2020 17:04:14 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97073 Bug ID: 97073 Summary: Miscompilation with -m32 -O1 -march=3Di686 Product: gcc Version: 8.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: sirl at gcc dot gnu.org Target Milestone: --- Created attachment 49229 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D49229&action=3Dedit Testcase demonstrating the problem. Hi, the attached simple testcase aborts when compiled with every version since gcc-7 (last tested r11-3232). Compiled with gcc-6.3.1 the testcase doesn't abort. Also adding either -fno-tree-ter or -msse2 prevents the abort.=