From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2C7F23858D38; Tue, 11 Apr 2023 09:58:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2C7F23858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681207114; bh=08YlzXDsycsvDgFVMH7lJUOkm2WwWj0UOg4vysk9RsM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BytQGlSExKaBVmHRyILqM2erwMBZGOFl+fYggPQDFmiSKbtVnB9HKGldqSFhFumVU V2E7Pn0anHxpr7YcKApPAShdcEu0Uv1o3TFwrA99vqTwz2rkHfOwAjPa/yGv4nTkyt 5J2huNXqPEQlTficm33g73zJa6UTXzSobWQveQ/4= From: "lh_mouse at 126 dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/80883] Hardcoded null DSO handle parameter to __cxa_thread_atexit() on MinGW-w64 targets Date: Tue, 11 Apr 2023 09:58:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 7.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lh_mouse at 126 dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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_status resolution 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D80883 LIU Hao changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from LIU Hao --- I'm closing this. It looks like if mingw-w64 CRT doesn't define `__dso_hand= le` then a null pointer is passed, but with more recent versions it is defined,= and the argument is no longer a null pointer.=