From owner-sc22wg14+sc22wg14-domo2=www.open-std.org@open-std.org  Tue Dec  1 19:33:59 2026
Return-Path: <owner-sc22wg14+sc22wg14-domo2=www.open-std.org@open-std.org>
X-Original-To: sc22wg14-domo2
Delivered-To: sc22wg14-domo2@www.open-std.org
Received: by www.open-std.org (Postfix, from userid 521)
	id 17B06356EDE; Tue,  1 Dec 2026 19:33:59 +0100 (CET)
Delivered-To: sc22wg14@open-std.org
Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124])
	by www.open-std.org (Postfix) with ESMTP id 93C0F356A2F
	for <sc22wg14@open-std.org>; Tue,  1 Dec 2026 19:33:57 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
	s=mimecast20190719; t=1796150037;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type;
	bh=DdcwqWhDr0e8SoKrXxi5C13/CWs7B3JpCY0SHjxUCg4=;
	b=WmzVYcAAtLQ9HyaLXoLxNRtwoex4sXe6hzHbsatO+u74TCOR+RkRxCpmgCMFWySWbrhtUp
	eol6acReEVQgDMXkSo4Xp7RWpFHt3RoTEFOOFo1748BClzvesxrkUB4xtnGo30tGapp8IR
	6H6R2UtYpyHiGEOnQcKdUvZs1IAfop4=
X-MC-Rep: binary re single
Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com
 [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS
 (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id
 us-mta-711-bpso2tD4PZKFLvAjRDSRlw-1; Tue, 1 Dec 2026 18:33:54 +0000
X-MC-Unique: bpso2tD4PZKFLvAjRDSRlw-1
X-Mimecast-MFC-AGG-ID: bpso2tD4PZKFLvAjRDSRlw_1796150034
Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-4915ba023d4so7951749f8f.0
        for <sc22wg14@open-std.org>; Tue, 01 Dec 2026 10:33:54 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1796150034; x=1796754834;
        h=content-type:mime-version:message-id:subject:to:from:date:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=DdcwqWhDr0e8SoKrXxi5C13/CWs7B3JpCY0SHjxUCg4=;
        b=JTZ9wNiFArYHppsAATq0vOwcCW4qpAl8YLMkM0MLt5JgsTeR1uKnDm2V66O/vPWxME
         AQzDI1IhJN2waErTY99myO385wJiPwZor11v8sg9RvvtaKN5lVhVRUXqZyNiDbvIeMRv
         GEjXKAN2FWcW4kC/6Ks2evVHj1MnLwLdxksjJy/U58bq40Np8+USJ2kJ6CYWNjmKTctz
         yMNe6ZojiP6QeaFEBGQsNn60RNOkz93HBOfzB86c1mNA0OvdbpzP/aovX0cfJeJX8IkM
         uk8anv6aIrF2cYkRQBu19KLPMgG8B29AcDA48LLjqZbMuKfX+9jzpRwNhKIY7Gtuu3Hh
         67lw==
X-Gm-Message-State: APuU4Z/VTJrjL1U9ie3FIAcj0tCdo1aAOt6CU6L05u5xeVT7C1Brs1eC
	Gb+Wm+2qN2Yh0pcVaGOTA0pDmd5VXXdNczt8iD1sgaJLxnDo9/dBwNj0K4L5vX8C0VsvGAfeSKX
	y+rAAxcZO0w7GFxHdPfml+6zY2E3e8EzBy+nO8JxLG4CGP0i/L1tamMc9LHF+i3yQ1acvTLiM2P
	aG9MtzdF3qdxDj7ZKzPmtdUa8XUp5sOL1Gn2DuBZfb
X-Gm-Gg: AZFdTZeQtf0Q900zM1DF6+siO9qYjmuyPgIbCPBH73fsNzWbYUbwV9YCg50tKgtljnZ
	KoiqSlUe4GhB62o3C2W2cMmS21U2n4uOuV8v28LlHWZm2uwCKo2EBIjX0Ca3HXFj/yx35RKqyx6
	5Mhl/sK5WjIpeq3TDQTekl9c4EzvPcvOTmLYsD/4WdksCv+ak4Pen/ZjVztA0WIKfgUtT+SXfe2
	yP0MAEpKAX44L7DueJHDSi+x9DbgZGMUxzQXQk4c8qkjj1ECdprrdH8OXQCoUrgtvmLgqaA+lDt
	o1EsocjD8fmwbmpdugN4NBHECn4rxDxa/lgroeRt6+Pdc8zP9Pd4qSTmG0oLpNJAO7Kd70mMGL6
	d9khOh/PBP0iwoLugiod/mu9sCHLEY9DcOYM2/VYN7gCoTC9cf4U8UJYWES2mmhMH4vjRlB1mj0
	fGLadd9Wge1vWfoZBLoHY=
X-Received: by 2002:a05:6000:4908:b0:4bc:38c7:aad6 with SMTP id ffacd0b85a97d-4be43dbd129mr28626922f8f.36.1796150033755;
        Tue, 01 Dec 2026 10:33:53 -0800 (PST)
X-Received: by 2002:a05:6000:4908:b0:4bc:38c7:aad6 with SMTP id ffacd0b85a97d-4be43dbd129mr28626896f8f.36.1796150033298;
        Tue, 01 Dec 2026 10:33:53 -0800 (PST)
Received: from digraph.polyomino.org.uk (digraph.polyomino.org.uk. [81.187.227.50])
        by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab69bf630esm74365650f8f.16.2026.12.01.10.33.52
        for <sc22wg14@open-std.org>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Tue, 01 Dec 2026 10:33:52 -0800 (PST)
Received: from jsm28 (helo=localhost)
	by digraph.polyomino.org.uk with local-esmtp (Exim 4.98.2)
	(envelope-from <josmyers@redhat.com>)
	id 1xYSfn-00000007Tfc-2Noh
	for sc22wg14@open-std.org;
	Tue, 01 Dec 2026 18:33:51 +0000
Date: Tue, 1 Dec 2026 18:33:51 +0000 (UTC)
From: Joseph Myers <josmyers@redhat.com>
To: sc22wg14@open-std.org
Subject: Wording for issue 1026 (library types as array types)
Message-ID: <f01c158e-4116-67d6-20b7-f3c0d4584cf5@redhat.com>
MIME-Version: 1.0
X-Mimecast-Spam-Score: 0
X-Mimecast-MFC-PROC-ID: 59DvutpvHocIy1oMsje_XXG5xq6G-_7W1XCYLh2oJ88_1796150034
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset=US-ASCII
Sender: owner-sc22wg14@open-std.org
Precedence: bulk

For issue 1026 (excluding certain library types from being array types), I 
propose the following wording.

### Suggested correction

Modify C23 7.17.6 (Atomic integer types):

> For each line in Table 7.6, the atomic type name is declared as a
> <ins>complete object type other than an array</ins> type that has
> the same representation and alignment requirements as the
> corresponding direct type.

Modify C23 7.28.1 (Threads `<threads.h>`: Introduction):

> `thrd_t`
> 
> which is a complete object type <ins>other than an array type</ins>
> that holds an identifier for a thread;
> 
> `tss_t`
> 
> which is a complete object type <ins>other than an array type</ins>
> that holds an identifier for a thread-specific storage pointer;

For C2Y, consider a less conservative change to 7.17.6 instead of the
one above:

> For each line in Table 7.6, the atomic type name is declared as
> <del>a type that has the same representation and alignment
> requirements</del> <ins>the same type</ins> as the corresponding
> direct type.

Also delete the footnote.

> <del>The same representation and alignment requirements are meant to
> imply interchangeability as arguments to functions, return values
> from functions, and members of unions.</del>

Also delete the sentence after the table.

> <del>Conversions to `atomic_bool` behave the same as conversions to
> `bool`.</del>

-- 
Joseph S. Myers
josmyers@redhat.com

