[PATCH 2/2] doc: clarify the semantics of -ftrivial-auto-var-init [PR126868]

Giuseppe D'Angelo giuseppe.dangelo@kdab.com
Thu Oct 8 13:04:58 GMT 2026


Il 25/08/26 15:39, Giuseppe D'Angelo ha scritto:
> Hi,
> 
> As an outcome of the discussion in PR126868, I'm proposing to extend the
> documentation of -ftrivial-auto-var-init to make it clear that
> specifying =uninitialized doesn't "just" mean "don't prefill the
> storage"; in C++26 mode it also brings back the undefined behavior
> associated with reading an uninitalized variable.

Gentle ping here too?

-- 
Giuseppe D'Angelo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4889 bytes
Desc: Firma crittografica S/MIME
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20261008/e3a9efd1/attachment-0001.p7s>


More information about the Gcc-patches mailing list