From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 36D1A3858032; Wed, 6 Mar 2024 20:24:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 36D1A3858032 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709756696; bh=jbt4TU52tIKZdfHn6SIj5oh4YjIRgQ6ggFTfnIYiGL0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yBj+og3cpGJGkH7lgA16yBVKl/QQ74K17Nsjua3Jg7xvEXG7cIY4ECF7KfewqTWbF 5EJG/AeE2V7D5VPNRJPfnsKgga0d/YUTLJ2dfVYXWcZSphh1GmuUkxz+nSt1YCbvxr 3q3DErywoEYp19dIOd6nAf55z1m4kvxMvGBNz1/Q= From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110805] g++ crash on modules with exported class providing string constant with obscure content Date: Wed, 06 Mar 2024 20:24:55 +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: 13.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone cc 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=3D110805 Patrick Palka changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |14.0 CC| |ppalka at gcc dot gnu.org Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #4 from Patrick Palka --- GCC trunk accepts the testcase and indeed this seems to be pretty much a du= p of the recently fixed PR112899. If the string fits in the SSO buffer we can statically initialize it, otherwise we need dynamic initialization which crashed until r14-6979. *** This bug has been marked as a duplicate of bug 112899 ***=