From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A9C1F385840F; Thu, 17 Mar 2022 15:24:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A9C1F385840F From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/104970] New: ICE in execute_todo, at passes.cc:2133 since r12-6480-gea19c8f33a3a8d2b Date: Thu, 17 Mar 2022 15:24:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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 keywords bug_severity priority component assigned_to reporter cc 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: Thu, 17 Mar 2022 15:24:26 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104970 Bug ID: 104970 Summary: ICE in execute_todo, at passes.cc:2133 since r12-6480-gea19c8f33a3a8d2b Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: siddhesh at gcc dot gnu.org Target Milestone: --- The following is reduced from libmsym package: $ cat linalg.i __inline void memset2(void *__dest, int __ch, long __len) { long __trans_tmp_1 =3D __builtin_dynamic_object_size(__dest, 0); __builtin___memset_chk(__dest, __ch, __len, __trans_tmp_1); } void mleye(int l, double E[][l]) { memset2(E, 0, sizeof(double)); } $ gcc linalg.i -c -D_FORTIFY_SOURCE=3D2 -O during GIMPLE pass: objsz linalg.i: In function =E2=80=98mleye=E2=80=99: linalg.i:8:1: internal compiler error: in execute_todo, at passes.cc:2133 8 | mleye(int l, double E[][l]) { memset2(E, 0, sizeof(double)); } | ^~~~~ 0x75edfa execute_todo /home/marxin/Programming/gcc/gcc/passes.cc:2133 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions.=