[Bug analyzer/94355] analyzer support for C++ new expression

2023-09-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94355 --- Comment #16 from CVS Commits --- The trunk branch has been updated by Benjamin Priour : https://gcc.gnu.org/g:e7b267444045c507654a2a3f758efee5d5b550df commit r14-3632-ge7b267444045c507654a2a3f758efee5d5b550df Author: benjamin priour Date:

[Bug analyzer/94355] analyzer support for C++ new expression

2023-06-29 Thread vultkayn at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94355 --- Comment #15 from Benjamin Priour --- (In reply to Jonathan Wakely from comment #14) > [...snip...] > > See the -fcheck-new option: > > Check that the pointer returned by "operator new" is non-null before > attempting to modify the storage