[Bug middle-end/102276] -ftrivial-auto-var-init fails to initialize a variable, causes a spurious warning
amonakov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 13 17:50:02 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102276
--- Comment #2 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
That -ftrivial-auto-var-init places an initialization at the point of the
declaration is an implementation detail: there's no initializer in the testcase
itself, so it is valid C and C++ (spelling this out for the avoidance of
doubt).
More information about the Gcc-bugs
mailing list