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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|15.3                        |14.4
            Summary|[15/16 Regression] Code     |[14/15 Regression] Code
                   |sample in                   |sample in
                   |__builtin_object_size       |__builtin_object_size
                   |documentation no longer     |documentation no longer
                   |compiles                    |compiles

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed on the trunk, will backport to 15 and 14 later on. When I tested this I
had messed up when the warning turned into an error; it was GCC 14.

Anyways this fixed example now works even for C++.

Reply via email to