From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3354F386F800; Wed, 20 May 2020 08:16:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3354F386F800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1589962586; bh=3QNLZMr6KFtqhGaZFh+4KdL1Ad0gI8mFwhDD7VGDUVk=; h=From:To:Subject:Date:From; b=BnxX7xZXMqubBqAVhGcwGU7V8QG22rGqmsWsmi/jcHUVKbZGJuPgJQu2bho8ra8yM HJZpCgVroVLXgaySJ7ZW3PjhhmH3628kNO6dI3oFCwAb54ZgvCTm2tB+BJRsPLFTU4 kIO0wzA5Yne3C4YZoONCDOGCIJhuVirJ3i7DnJPI= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/95229] New: ice in mark_jump_label_1 Date: Wed, 20 May 2020 08:16:26 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone 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, 20 May 2020 08:16:26 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95229 Bug ID: 95229 Summary: ice in mark_jump_label_1 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For this C++ code: struct a { unsigned long b; unsigned long c; }; class { public: a d; } e; struct f { unsigned g; unsigned h; int i(); }; int f::i() { e.d.b +=3D g; e.d.c +=3D h; } compiled with recent gcc trunk and compiler flag -O3 -march=3Dnative, I get $ /home/dcb/gcc/results/bin/gcc -c -O3 -march=3Dnative bug609.cc bug609.cc: In member function =E2=80=98int f::i()=E2=80=99: bug609.cc:17:1: warning: no return statement in function returning non-void [-Wreturn-type] 17 | } | ^ during RTL pass: expand bug609.cc:17:1: internal compiler error: Segmentation fault 0xf4bbb9 crash_signal(int) ../../trunk.git/gcc/toplev.c:328 0xd5878a mark_jump_label_1(rtx_def*, rtx_insn*, bool, bool) ../../trunk.git/gcc/jump.c:1087 0xd588b0 mark_jump_label_1(rtx_def*, rtx_insn*, bool, bool) ../../trunk.git/gcc/jump.c:1211 0xd588b0 mark_jump_label_1(rtx_def*, rtx_insn*, bool, bool) ../../trunk.git/gcc/jump.c:1211 The bug first seems to occur on today's gcc. Yesterdays seems fine: /home/dcb/gcc/results.20200519/bin/gcc /home/dcb/gcc/results.20200520/bin/gcc during RTL pass: expand ... Native is x86_64, AMD FX(tm)-8350, Piledriver, bdver2.=