On 2023-02-06 18:14, Joseph Myers wrote:
On Mon, 6 Feb 2023, Qing Zhao via Gcc-patches wrote:
In GCC14:
1. Include this new warning -Wgnu-varaible-sized-type-not-at-end to -Wall
2. Deprecate this extension from GCC. (Or delay this to next release?).
Any deprecation, or inclusion in -Wall, would best come with evidence
about the prevalance of use (possibly unintentional, probably undesirable)
of these extensions. For example, maybe someone could do a distribution
rebuild with a patch to enable these warnings and report the results?
FWIW, Fred from our team has been working on a mass prebuilder that can
be used for this kind of distribution-wide validation. I've used it for
_FORTIFY_SOURCE validation as well as coverage analysis.
I can help you with this Qing, once you have a patch ready.
Sid
[1] https://gitlab.com/fedora/packager-tools/mass-prebuild/