[Bug c++/85783] alloc-size-larger-than fires incorrectly with new[] and can't be disabled

amonakov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 16 09:58:00 GMT 2018


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

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
   Last reconfirmed|                            |2018-05-16
                 CC|                            |amonakov at gcc dot gnu.org
         Resolution|WONTFIX                     |---
     Ever confirmed|0                           |1

--- Comment #10 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Reopening: the request to be able to disable the warning (via
-Wno-alloc-size-larger-than) is valid and should be addressed.


More information about the Gcc-bugs mailing list