From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E3E4A3972404; Tue, 17 Nov 2020 07:09:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E3E4A3972404 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/97857] [11 Regression] profiledbootstrap broken freeing speculative call summary since r11-4987-g602c6cfc79ce4ae61e277107e0a60079c1a93a97 Date: Tue, 17 Nov 2020 07:09:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned 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: Tue, 17 Nov 2020 07:09:46 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97857 --- Comment #12 from Martin Li=C5=A1ka --- I can confirm that, using dbgcnt-bisect.py script I was able to reduce that= to: -fdbg-cnt=3Dmerged_ipa_icf:4876-4877 where the problematic function is real= ly slide: ../../gcc/hash-table.h:1110:1: optimized: Semantic equality hit:slide/237223->slide/237233 ../../gcc/hash-table.h:1110:1: optimized: Assembler symbol names:_ZN10hash_tableI18const_fixed_hasherLb0E11xcallocatorE8iterator5slide= Ev/237223->_ZN10hash_tableI19const_double_hasherLb0E11xcallocatorE8iterator= 5slideEv/237233 slide (struct iterator * const this) { [count: 316679]: goto ; [100.00%] [count: 715461]: # DEBUG x =3D> _2 # DEBUG v =3D> _2 # DEBUG INLINE_ENTRY is_empty _10 =3D *_2; # DEBUG e =3D> _10 # DEBUG INLINE_ENTRY NULL # DEBUG e =3D> NULL # DEBUG v =3D> NULL if (_10 !=3D 0B) goto ; [42.62%] else goto ; [57.38%] [count: 304951]: # DEBUG v =3D> _2 # DEBUG INLINE_ENTRY NULL # DEBUG e =3D> _10 # DEBUG INLINE_ENTRY NULL # DEBUG e =3D> NULL # DEBUG v =3D> NULL if (_10 !=3D 1B) goto ; [100.00%] else goto ; [0.00%] [count: 410510]: # DEBUG BEGIN_STMT _1 =3D _2 + 8; this_7(D)->m_slot =3D _1; [count: 727190]: # DEBUG BEGIN_STMT _2 =3D this_7(D)->m_slot; _3 =3D this_7(D)->m_limit; if (_2 < _3) goto ; [98.39%] else goto ; [1.61%] [count: 11729]: this_7(D)->m_slot =3D 0B; this_7(D)->m_limit =3D 0B; [count: 316679]: return; } slide (struct iterator * const this) { [count: 258235]: goto ; [100.00%] [count: 715461]: # DEBUG x =3D> _2 # DEBUG v =3D> _2 # DEBUG INLINE_ENTRY is_empty _10 =3D *_2; # DEBUG e =3D> _10 # DEBUG INLINE_ENTRY NULL # DEBUG e =3D> NULL # DEBUG v =3D> NULL if (_10 !=3D 0B) goto ; [34.46%] else goto ; [65.54%] [count: 246518]: # DEBUG v =3D> _2 # DEBUG INLINE_ENTRY NULL # DEBUG e =3D> _10 # DEBUG INLINE_ENTRY NULL # DEBUG e =3D> NULL # DEBUG v =3D> NULL if (_10 !=3D 1B) goto ; [100.00%] else goto ; [0.00%] [count: 468955]: # DEBUG BEGIN_STMT _1 =3D _2 + 8; this_7(D)->m_slot =3D _1; [count: 727190]: # DEBUG BEGIN_STMT _2 =3D this_7(D)->m_slot; _3 =3D this_7(D)->m_limit; if (_2 < _3) goto ; [98.39%] else goto ; [1.61%] [count: 11729]: this_7(D)->m_slot =3D 0B; this_7(D)->m_limit =3D 0B; [count: 258235]: return; }=