decl.c (grok_op_properties): Always use coerce_new_type and coerce_delete_type.
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 8 Nov 2000 14:03:32 +0000 (14:03 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 8 Nov 2000 14:03:32 +0000 (14:03 +0000)
commit36791f1ef140da0a882b34f8969410574a4cd38e
treee792402842697bf48e7211dc5dcc659ca42f56e4
parent321565d3fa2c8a29713c168309ce63d1ff53677b
decl.c (grok_op_properties): Always use coerce_new_type and coerce_delete_type.

cp/ChangeLog
* decl.c (grok_op_properties): Always use coerce_new_type and
coerce_delete_type.
* decl2.c (coerce_new_type): Use c_size_type_node. Preserve
exception specification. Tidy up.
(coerce_delete_type): Preserve exception specification. Tidy up.
testsuite/ChangeLog
* g++.old-deja/g++.other/crash36.C: New test.

From-SVN: r37319
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.other/crash36.C [new file with mode: 0644]