[Bug c++/126868] -ftrivial-auto-var-init=uninitialized should be incompatible with -std=c++26 (or at least warn about it)

"peppe at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126868

--- Comment #1 from Giuseppe D'Angelo <peppe at gcc dot gnu.org> ---
To add: I've just realized that the -ftrivial-auto-var-init option may also be
specified in the source code using a `#pragma GCC optimize` directive, as it's
an optimization option. However I don't think this changes things; a
warning/error could also be emitted there.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.