From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 921E6389041D; Tue, 12 Jan 2021 08:43:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 921E6389041D From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/98597] [11 Regression] ICE in print_mem_ref since r11-6508-gabb1b6058c09a7c0 Date: Tue, 12 Jan 2021 08:43:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: ice-on-valid-code 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: msebor at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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, 12 Jan 2021 08:43:23 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98597 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot g= nu.org --- Comment #2 from Martin Li=C5=A1ka --- > ```c++ > struct QQmlRefCount { > void release() const; > virtual ~QQmlRefCount(); > }; > QQmlRefCount::~QQmlRefCount() {} > void QQmlRefCount::release() const { delete this; } > struct QQmlJavaScriptExpression { > virtual int sourceLocation(); > }; > struct QQmlBoundSignalExpression : QQmlJavaScriptExpression, QQmlRefCount= {}; > struct QQmlProfilerDefinitions { > enum RangeType { HandlingSignal }; > }; > struct QQmlProfiler : QQmlProfilerDefinitions { > struct RefLocation { > RefLocation() { > switch (locationType) > case HandlingSignal: > boundSignal->release(); > } > RangeType locationType; > QQmlBoundSignalExpression *boundSignal; > }; > void startCompiling() { RefLocation(); } > }; > struct QQmlCompilingProfiler { > QQmlProfiler QQmlCompilingProfiler_profiler; > QQmlCompilingProfiler(int *) { > QQmlCompilingProfiler_profiler.startCompiling(); > } > }; > int notifyComplete_blob; > void QQmlDataBlobnotifyComplete() { > QQmlCompilingProfiler prof(¬ifyComplete_blob); > } > ``` >=20 This also started with r11-6508-gabb1b6058c09a7c0. @Martin: Can you please take a look?=