re PR c++/33324 (ICE on new array of objects with virtual destructors.)
commitb2ec1738df672b44576efb62f57dabc381eef753
authorDavid Daney <ddaney@avtrex.com>
Sun, 9 Sep 2007 23:31:35 +0000 (9 23:31 +0000)
committerDavid Daney <daney@gcc.gnu.org>
Sun, 9 Sep 2007 23:31:35 +0000 (9 23:31 +0000)
tree9e68a01a7bc706a81ce7f19b40b1824f08e05a1f
parentdd735081f0dd7285863033d59a1c550fee7b8599
re PR c++/33324 (ICE on new array of objects with virtual destructors.)

PR c++/33324
* init.c (build_new_1):  Use POINTER_PLUS_EXPR instead of MINUS_EXPR
to calculate cookie_ptr.

From-SVN: r128312
gcc/cp/ChangeLog
gcc/cp/init.c