{"id":2233035,"url":"http://patchwork.ozlabs.org/api/1.2/patches/2233035/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/patch/20260505151030.1749548-2-waffl3x@baylibre.com/","project":{"id":17,"url":"http://patchwork.ozlabs.org/api/1.2/projects/17/?format=json","name":"GNU Compiler Collection","link_name":"gcc","list_id":"gcc-patches.gcc.gnu.org","list_email":"gcc-patches@gcc.gnu.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260505151030.1749548-2-waffl3x@baylibre.com>","list_archive_url":null,"date":"2026-05-05T15:01:54","name":"[01/12] libgomp.c: Change _Alignof to alignof for C++ in test","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"33958bd3e64fa5bfb7ca50dba2b5d2b3a673dace","submitter":{"id":90070,"url":"http://patchwork.ozlabs.org/api/1.2/people/90070/?format=json","name":"Waffl3x","email":"waffl3x@baylibre.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/gcc/patch/20260505151030.1749548-2-waffl3x@baylibre.com/mbox/","series":[{"id":502853,"url":"http://patchwork.ozlabs.org/api/1.2/series/502853/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/list/?series=502853","date":"2026-05-05T15:01:54","name":"OpenMP/C++: 'allocate' directive","version":1,"mbox":"http://patchwork.ozlabs.org/series/502853/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2233035/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2233035/checks/","tags":{},"related":[],"headers":{"Return-Path":"<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":["incoming@patchwork.ozlabs.org","gcc-patches@gcc.gnu.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","gcc-patches@gcc.gnu.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=baylibre-com.20251104.gappssmtp.com\n header.i=@baylibre-com.20251104.gappssmtp.com header.a=rsa-sha256\n header.s=20251104 header.b=priZw+4+;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=38.145.34.32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)","sourceware.org;\n\tdkim=pass (2048-bit key,\n unprotected) header.d=baylibre-com.20251104.gappssmtp.com\n header.i=@baylibre-com.20251104.gappssmtp.com header.a=rsa-sha256\n header.s=20251104 header.b=priZw+4+","sourceware.org;\n dmarc=none (p=none dis=none) header.from=baylibre.com","sourceware.org; spf=pass smtp.mailfrom=baylibre.com","server2.sourceware.org;\n arc=none smtp.remote-ip=2607:f8b0:4864:20::431"],"Received":["from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g925n5bgcz1yJ0\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 06 May 2026 01:11:08 +1000 (AEST)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 6F9A04B9DB44\n\tfor <incoming@patchwork.ozlabs.org>; Tue,  5 May 2026 15:11:06 +0000 (GMT)","from mail-pf1-x431.google.com (mail-pf1-x431.google.com\n [IPv6:2607:f8b0:4864:20::431])\n by sourceware.org (Postfix) with ESMTPS id 8BD154BA2E31\n for <gcc-patches@gcc.gnu.org>; Tue,  5 May 2026 15:10:37 +0000 (GMT)","by mail-pf1-x431.google.com with SMTP id\n d2e1a72fcca58-824bcb2011bso402940b3a.3\n for <gcc-patches@gcc.gnu.org>; Tue, 05 May 2026 08:10:37 -0700 (PDT)","from waffl3x-prestige.lan ([2001:56a:f98a:b800:1f67:ce08:3cbd:86b8])\n by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-83965645140sm2674956b3a.12.2026.05.05.08.10.35\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 05 May 2026 08:10:35 -0700 (PDT)"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org 6F9A04B9DB44","OpenDKIM Filter v2.11.0 sourceware.org 8BD154BA2E31"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org 8BD154BA2E31","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org 8BD154BA2E31","ARC-Seal":"i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777993837; cv=none;\n b=qq1/u2GEnf+kLSlFQ42sKKt94Egukm5DYb+p8SVAD2i84n3IGDCgfMtPwJN2aNKwMjR87Uia6A52QCv7OhRnzATrzeEbC+4L213uiBmZEQsGG33q19Gq/DmuqPzyTxKf6IY+E7xH6KkeDatmnwi+wHxj/wi9QZKXrzTaSE3+A3U=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1777993837; c=relaxed/simple;\n bh=+zhDDP/jsyveY0C9QaeWR6GDMYCH0rnrkVf8KnNAiPI=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=YMo1g4DDmZVU/y5BQwj7R5w7te5VGVGmQ+Xi47zbJELPKo3NKX9+aGRWWEWwvDDUtiDRbURUYrq365tHCYspopBhLPS967dGXrDh3hWiquF+dqSmokbI0p38AcN9DuAHhpfSimoGBWV9dAXlgxTvg8spzHO7uG3fbU5qA5TWKbM=","ARC-Authentication-Results":"i=1; server2.sourceware.org","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=baylibre-com.20251104.gappssmtp.com; s=20251104; t=1777993836;\n x=1778598636;\n darn=gcc.gnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=r+1Ny2broxipYqYToQJslnAZ1EsJACdWaE4muYhUivU=;\n b=priZw+4+exe2kvNUrFNSqr/7KjNV/QIokcJb/91OLopKkV0tDoHbBTRImDESw0HJ5Y\n F+q/SvvVGBPB38Wxwp7YeUneEsZ41138J12cb9v84S75XpsmWEXmg1nJNgYipK3nbQ+Y\n ohRIR2vwam6cXHJgzKdsevay/o9XMcIiXopwDxEGytwcYne31TsqeqW+HIbF8mY/JhhR\n S9jqILU3e+VDNnT+m4fdbG5Y2PYBKzdxeV3WKADGNRnVkAClPwBGIjZt4lOUf/+zme+N\n i0DR+NdevwhHikksw3hJhguM3HhEWXqFCyeczKjdghRPkAofwa4kaC16Zxb7D7TQ3aGL\n MEag==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777993836; x=1778598636;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=r+1Ny2broxipYqYToQJslnAZ1EsJACdWaE4muYhUivU=;\n b=aiUDFv8SFTTTZWzuL8JRJnJBO6ieqXIuYxo9SJ2iW3Vde5HAGDBPQJ4YiyWsDmy4FB\n E4LxGH7V19IVGlhnm1QERqJn7tMwoQKP8fefRjlBLyhwwEZEpyIrnvDokDqJbMw0ERk3\n xQXZgxdR3GdI8l+QodAiJP/M9djKX6xrztke8QZASYB4Aj7W0EA6UnWFKcS6fLaEsTHD\n UTi8zo0pM1JdMtDR/UKmDpCl0dKNTqI0NRrKMMxXNqitj5rHiKk96A5KKJW4lGxtfV1a\n At8SaCr4QMgRKMg1KjD3fFddwVKArOhq6SnmhHfi1GfCPMzE9hAI49hvSMAfweG8zo7h\n aodA==","X-Gm-Message-State":"AOJu0YwMP+pJ364Hz1btOc1bt/QpSZ5700odDFuvEijy4ZHtvib3mhc1\n ggeV4Xwf4/PBTqBBCngIJr+9NW7XcIken+lnmSCXWABRYieyFUGMZZIxAh6UCi3AOaSgE3XPLfQ\n AMkt2","X-Gm-Gg":"AeBDiesUoC8uTY03/sPMCfw5G9y+bQhWewfkHU5q+/ys51G9R3nIquLeLj9SsYEyvgc\n hmUK+ef47J87AzISskIPqlLxui80inTGqR6tgFuLgaOi/6YFlpdexzjXq5ubMLy+XJlGwbNa7T5\n AGFZ3JNxSlnzq/GrqumyAz71JgCWZyi4QrGx+2CZ1Zl8r451aB01Uzsw0FnS8EBcsycRFmnxWaJ\n LB3UuYgJuoPB3HCtTnyEXruckAcCbs3bs8EH0txnTtJ/pyCT10zvl8VIJgqBUfPeqPfLqy72zBn\n d7Q1RNZr4xLnCXbuMAHITypOwB7TC6k740Q+dJHyZJGrfM5/TRZr/Rk/yGicN5jKwgjlUX9qkYn\n JyNsFuvZUOYW2ybUAy/7L54RqqvWKsZCYhGlPb2OFmqtvY5LWNZyk0erUILFPRHBn1Vz+TZT0Y8\n WY/mxzvniG2yB7ZGPifNjXqG79sEgNf53wmrDnc95FcXxRme8pUA==","X-Received":"by 2002:a05:6a00:a220:b0:835:3f0b:db71 with SMTP id\n d2e1a72fcca58-8353f0be322mr6238065b3a.6.1777993836369;\n Tue, 05 May 2026 08:10:36 -0700 (PDT)","From":"Waffl3x <waffl3x@baylibre.com>","To":"gcc-patches@gcc.gnu.org","Cc":"Waffl3x <waffl3x@baylibre.com>","Subject":"[PATCH 01/12] libgomp.c: Change _Alignof to alignof for C++ in test","Date":"Tue,  5 May 2026 09:01:54 -0600","Message-ID":"<20260505151030.1749548-2-waffl3x@baylibre.com>","X-Mailer":"git-send-email 2.54.0","In-Reply-To":"<20260505151030.1749548-1-waffl3x@baylibre.com>","References":"\n <CAH+W3Ppbho4pj6W-rWk4mMssrttOjt7aNco-oWW5Sw5f5Yx2GA@mail.gmail.com>\n <20260505151030.1749548-1-waffl3x@baylibre.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-BeenThere":"gcc-patches@gcc.gnu.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Gcc-patches mailing list <gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>","List-Archive":"<https://gcc.gnu.org/pipermail/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-request@gcc.gnu.org?subject=help>","List-Subscribe":"<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>","Errors-To":"gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"},"content":"One static_assert incorrectly used '_Alignof' instead of 'alignof', this was\nmost likely a typo as 'alignof' was used appropriately elsewhere. This patch\nchanges it to 'alignof' for C++.\n\nThis was likely missed because this case is not enabled for C++ yet. It will\nbe moved to libgomp.c-c++-common in a later patch.\n\nlibgomp/ChangeLog:\n\n\t* testsuite/libgomp.c/allocate-7.c: _Alignof to alignof.\n\nSigned-off-by: Waffl3x <waffl3x@baylibre.com>\n---\n libgomp/testsuite/libgomp.c/allocate-7.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/libgomp/testsuite/libgomp.c/allocate-7.c b/libgomp/testsuite/libgomp.c/allocate-7.c\nindex e11b8eb32c0..1fa92d889d0 100644\n--- a/libgomp/testsuite/libgomp.c/allocate-7.c\n+++ b/libgomp/testsuite/libgomp.c/allocate-7.c\n@@ -10,7 +10,7 @@ int AAA [[omp::decl(allocate,allocator(omp_low_lat_mem_alloc),align(4096))]];\n #ifndef __cplusplus\n   _Static_assert (_Alignof(AAA) == _Alignof(int), \"wrong alignment\");\n #elif __cplusplus >= 201103L\n-  static_assert (alignof(AAA) == _Alignof(int), \"wrong alignment\");\n+  static_assert (alignof(AAA) == alignof(int), \"wrong alignment\");\n #endif\n \n \n","prefixes":["01/12"]}