From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8E5553857C6F; Thu, 8 Oct 2020 11:38:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8E5553857C6F From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/97292] [11 Regression] dealII from SPECCPU 2016 no longer terminates after g:c34db4b6f8a5d80367c709309f9b00cb32630054 Date: Thu, 08 Oct 2020 11:38:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: hubicka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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, 08 Oct 2020 11:38:55 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97292 --- Comment #7 from Martin Li=C5=A1ka --- Ok, I've just installed the patch with the debug counter. I can reproduce it with first bad value with --param=3Dlto-partitions=3D1: -fdbg-cnt=3Dipa_mod_ref:16848 and the difference comes from dealII.ltrans0.ltrans.137t.pre: distribute_dofs (struct DoFHandler * const this, const struct FiniteElement= & ff, const unsigned int offset): GOOD: [local count: 410235502]: # __n_981 =3D PHI <__n_979(163), __n_978(162)> # __tmp$_M_p_984 =3D PHI <_980(163), _977(162)> _982 =3D (unsigned int) __n_981; _983 =3D 1 << _982; _985 =3D *__tmp$_M_p_984; _986 =3D _983 | _985; *__tmp$_M_p_984 =3D _986; operator++ (&cell); _25 =3D BIT_FIELD_REF ; if (_25 !=3D -1) goto ; [89.00%] else goto ; [11.00%] [local count: 365109597]: pretmp_2354 =3D MEM[(int *)&cell + 12B]; goto ; [100.00%] [local count: 50703262]: # next_free_dof_577 =3D PHI this_6(D)->used_dofs =3D next_free_dof_577; MEM[(struct _Bvector_impl_data *)&tmp] =3D{v} {CLOBBER}; MEM[(struct __as_base &)&tmp] =3D{v} {CLOBBER}; BAD: [local count: 410235502]: # __n_981 =3D PHI <__n_979(163), __n_978(162)> # __tmp$_M_p_984 =3D PHI <_980(163), _977(162)> _982 =3D (unsigned int) __n_981; _983 =3D 1 << _982; _985 =3D *__tmp$_M_p_984; _986 =3D _983 | _985; *__tmp$_M_p_984 =3D _986; operator++ (&cell); _25 =3D BIT_FIELD_REF ; if (_25 !=3D -1) goto ; [89.00%] else goto ; [11.00%] [local count: 50703262]: # next_free_dof_577 =3D PHI this_6(D)->used_dofs =3D next_free_dof_577; MEM[(struct _Bvector_impl_data *)&tmp] =3D{v} {CLOBBER}; MEM[(struct __as_base &)&tmp] =3D{v} {CLOBBER};=