[Bug tree-optimization/92879] incorrect warning of __builtin_memset offset is out of the bounds on zero-size allocation and initialization

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 10 04:26:00 GMT 2019


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Target|                            |x86_64-linux-gnu
                   |                            |aarch64-linux-gnu (LP64
                   |                            |targets)
          Component|c++                         |tree-optimization

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
It is seeming related to ILP32 vs LP64.  That is the warning does not show up
in ILP32 ABI targets.


More information about the Gcc-bugs mailing list