From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) by sourceware.org (Postfix) with ESMTPS id 3BAB23858D39 for ; Mon, 24 Jan 2022 13:44:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3BAB23858D39 Received: by mail-yb1-xb34.google.com with SMTP id r65so47856952ybc.11 for ; Mon, 24 Jan 2022 05:44:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZPB9uyEct87h8Gny/dsu1qfyFh8zacbr/AbGiLqM1yk=; b=KH1Bg8nFs2GqFcDQcS/NgxWkkQr7eRcpsJDnDsQp30YPZ1gUXttqAXkoSPZV0V3Jjw 2oALjcCke3GgFeNkYoiTTlHaQOW0Y3WfP+v+k1MyRRci1VFwoQIPlYJCkwwVhmuvCOui CbSOgWS5JGurB7MO64HRZd5d4/CY3GdXG8LQe+GWuNxsbUKhL+UOWx1pH1nHODKb5UWu NdzCVTaY5e2l53AWJjTy0ujMTwXTdV5287SzunKAiXlSsfOIphpG9HCQHUSinTw3uxYC N7mmK8uf9k+RHeaA5CggR4FsYw1OZI9SEN7kQDuPxNZyHKUn1zqMJd+Pf/0kF8FwgNLn k50g== X-Gm-Message-State: AOAM5315LwmR9X18Ctr1T3gmbbTv68J18eQAPeKev4ZG8B5mbTpg4GeS e5rxq7+yJGx7qyNWHhUI3f02wEzU+XphJockLhE= X-Google-Smtp-Source: ABdhPJxPuP2DVRNMUAXIBnlsdjMjRJJ87xTq8LJMTWiB7XaYh3r/GFie/n0XnID5wJ7csUqBQJHFnTstIGYWafTjRxk= X-Received: by 2002:a25:d0c:: with SMTP id 12mr9817883ybn.249.1643031844671; Mon, 24 Jan 2022 05:44:04 -0800 (PST) MIME-Version: 1.0 References: <1d9576bd20cb472da2fe014af22e9551@kth.se> <4abd5fbec6e0409d9c26624386951b40@kth.se> <3c10f066cf0a4a3ab42ae7cea91e09a5@kth.se> In-Reply-To: <3c10f066cf0a4a3ab42ae7cea91e09a5@kth.se> From: =?UTF-8?Q?Marc_Nieper=2DWi=C3=9Fkirchen?= Date: Mon, 24 Jan 2022 14:43:53 +0100 Message-ID: Subject: Re: [PATCH] jit: Add support for global rvalue initialization and ctors To: Petter Tomner Cc: =?UTF-8?Q?Marc_Nieper=2DWi=C3=9Fkirchen?= , "jit@gcc.gnu.org" X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: jit@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Jit mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2022 13:44:06 -0000 The corresponding ABI tag should be mentioned here: https://gcc.gnu.org/onlinedocs/jit/topics/compatibility.html The corresponding C++ API seems implemented but is not yet documented here: https://gcc.gnu.org/onlinedocs/jit/cp/topics/index.html (Should it nevertheless be, I was too blind to find the documentation.) Thanks, Marc Am Mi., 15. Dez. 2021 um 15:13 Uhr schrieb Petter Tomner : > Hi! I verified that it works with forward struct declares and circular > pointers for globals and locals. > > I added it as tests last in: > gcc/testsuite/jit.dg/test-global-init-rvalue.c > gcc/testsuite/jit.dg/test-local-init-rvalue.c > > Regards,