diff options
author | Florian Weimer <fweimer@redhat.com> | 2012-08-20 23:13:23 +0200 |
---|---|---|
committer | Florian Weimer <fw@gcc.gnu.org> | 2012-08-20 23:13:23 +0200 |
commit | 4a84253c9803e4c6831d85510d2c596f2e51ea55 (patch) | |
tree | fc3295f979c18be864a1b430c97ff13ffa49cdde /gcc/target-hooks-macros.h | |
parent | 5592815a885e6101054be5b7fbac7a223b698815 (diff) | |
download | gcc-4a84253c9803e4c6831d85510d2c596f2e51ea55.zip gcc-4a84253c9803e4c6831d85510d2c596f2e51ea55.tar.gz gcc-4a84253c9803e4c6831d85510d2c596f2e51ea55.tar.bz2 |
Fix PR C++/19351: integer overflow in operator new[]
2012-08-20 Florian Weimer <fweimer@redhat.com>
PR c++/19351
* call.c (build_operator_new_call): Add size_check argument and
evaluate it.
* cp-tree.h (build_operator_new_call): Adjust declaration.
* init.c (build_new_1): Compute array size check and apply it.
2012-08-10 Florian Weimer <fweimer@redhat.com>
PR c++/19351
* g++.dg/init/new38.C: New test.
* g++.dg/init/new39.C: New test.
From-SVN: r190546
Diffstat (limited to 'gcc/target-hooks-macros.h')
0 files changed, 0 insertions, 0 deletions