[Bug c++/67942] diagnose placement new buffer overflow
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Nov 8 17:54:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67942
--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Sun Nov 8 17:53:51 2015
New Revision: 229959
URL: https://gcc.gnu.org/viewcvs?rev=229959&root=gcc&view=rev
Log:
Clean up fallout on ILP32 from r229831.
gcc/
PR c++/67942
* cp/init.c (warn_placement_new_too_small): Convert integer
operand of POINTER_PLUS_EXPR to ssize_t to determine its signed
value.
c-family/
* c.opt (Wplacement-new): Add a period to the end of
a sentence.
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c.opt
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/init.c
More information about the Gcc-bugs
mailing list