From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 33F7B386EC3E; Sun, 27 Sep 2020 15:09:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 33F7B386EC3E From: "carsten.schmidt-achim at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/97217] New: C++ program compiled with GCC crashes Date: Sun, 27 Sep 2020 15:09:05 +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: 10.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carsten.schmidt-achim at gmx dot de 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: Sun, 27 Sep 2020 15:09:06 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97217 Bug ID: 97217 Summary: C++ program compiled with GCC crashes Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: carsten.schmidt-achim at gmx dot de Target Milestone: --- Created attachment 49277 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D49277&action=3Dedit Example assembly listing causing the crash. During development of my vector/matrix library using template meta programm= ing, I discovered that my test program crashes on some occasions when being comp= iled with GCC. When inspecting the assembly code generated by GCC, the instruction crashing the program seems to be unrelated to the data flow of the program. I will attach the generated assembly of one of my test cases, which crashes= the program. Please let me know if you would like to investigate further and how I can b= e of service!=