[Bug c++/70834] Incorrect warning for placement new when conditionally used

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 3 21:23:10 GMT 2021


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2017-01-03 00:00:00         |2021-5-3
             Blocks|                            |100399
      Known to fail|8.0                         |11.1.0, 12.0, 8.4.0

--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
No change in GCC 11.  This false positive too will be avoided by running
-Wplacement-new later, when the program is in SSA form, rather than in the
front end.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100399
[Bug 100399] bogus/missing -Wplacement-new


More information about the Gcc-bugs mailing list