From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 69BF83858D1E; Tue, 8 Feb 2022 19:40:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 69BF83858D1E From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/104446] New: [9/10/11/12 Regression] ICE in trunc_int_for_mode, at explow.cc:59 Date: Tue, 08 Feb 2022 19:40:31 +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: 12.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: Tue, 08 Feb 2022 19:40:31 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104446 Bug ID: 104446 Summary: [9/10/11/12 Regression] ICE in trunc_int_for_mode, at explow.cc:59 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- With file ./gcc.target/i386/pr65588.c : $ gcc-12-20220206 -c pr65588.c -O2 -m32 -mrtd -finstrument-functions during RTL pass: combine pr65588.c: In function 't': pr65588.c:10:19: internal compiler error: in trunc_int_for_mode, at explow.cc:59 10 | int t () { a =3D 0; } | ^ 0x8b5d13 trunc_int_for_mode(long, machine_mode) ../../gcc/explow.cc:59 0x8b5d28 trunc_int_for_mode(poly_int<1u, long>, machine_mode) ../../gcc/explow.cc:86 0x8aa928 gen_int_mode(poly_int<1u, long>, machine_mode) ../../gcc/emit-rtl.cc:542 0xbc3d78 for_each_inc_dec_find_inc_dec ../../gcc/rtlanal.cc:3711 0xbc3d78 for_each_inc_dec(rtx_def*, int (*)(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, void*), void*) ../../gcc/rtlanal.cc:3750 0x17597af try_combine ../../gcc/combine.cc:3346 0x175f3cc combine_instructions ../../gcc/combine.cc:1269 0x175f3cc rest_of_handle_combine ../../gcc/combine.cc:14922 0x175f3cc execute ../../gcc/combine.cc:14967=