[Bug tree-optimization/107952] tree-object-size: inconsistent size for flexible arrays nested in structs

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 5 13:15:59 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107952

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
When writing tree-object-size.c, the intent was to find some balance between
catching up dangerous cases and allowing what a lot of programs in the wild use
and it took about a year to stabilize that.  Sure, with a new non-default
option that requests stricter behavior it is possible to change it.


More information about the Gcc-bugs mailing list