From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A9020395CC1D; Wed, 2 Dec 2020 17:07:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A9020395CC1D From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/98099] New: ICE in gen_lowpart_common, at emit-rtl.c:1554 Date: Wed, 02 Dec 2020 17:07:29 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.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 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, 02 Dec 2020 17:07:29 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98099 Bug ID: 98099 Summary: ICE in gen_lowpart_common, at emit-rtl.c:1554 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Affects versions down to r6 : $ cat z1.c struct S { _Decimal128 a; }; _Decimal128 f (struct S x) { return x.a; } $ gcc-11-20201129 -c z1.c -m32 -fsso-struct=3Dbig-endian during RTL pass: expand z1.c: In function 'f': z1.c:5:11: internal compiler error: Segmentation fault 5 | return x.a; | ~^~ 0xb49eaf crash_signal ../../gcc/toplev.c:330 0x825a2f gen_lowpart_common(machine_mode, rtx_def*) ../../gcc/emit-rtl.c:1554 0xafa9ec gen_lowpart_general(machine_mode, rtx_def*) ../../gcc/rtlhooks.c:48 0x83ef31 extract_bit_field_1 ../../gcc/expmed.c:1826 0x83f7ff extract_bit_field(rtx_def*, poly_int<1u, unsigned long>, poly_int<= 1u, unsigned long>, int, rtx_def*, machine_mode, machine_mode, bool, rtx_def**) ../../gcc/expmed.c:2119 0x84e8ca expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../gcc/expr.c:11113 0x859e43 store_expr(tree_node*, rtx_def*, int, bool, bool) ../../gcc/expr.c:5859 0x85b206 expand_assignment(tree_node*, tree_node*, bool) ../../gcc/expr.c:5595 0x750c10 expand_gimple_stmt_1 ../../gcc/cfgexpand.c:3901 0x750c10 expand_gimple_stmt ../../gcc/cfgexpand.c:3999 0x755e07 expand_gimple_basic_block ../../gcc/cfgexpand.c:6040 0x758476 execute ../../gcc/cfgexpand.c:6724=