aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2007-07-03 20:21:33 -0400
committerMark Mitchell <mmitchel@gcc.gnu.org>2007-07-04 00:21:33 +0000
commit39fb9d7250581a22c2d773457255dc61a51e0099 (patch)
tree8c59baf94a71413e1d59612c1d7bbe72c890bd64 /gcc/dwarf2out.c
parent61087eb3c459a7c729ded6e0cdf10edc1d8d7d76 (diff)
downloadgcc-39fb9d7250581a22c2d773457255dc61a51e0099.zip
gcc-39fb9d7250581a22c2d773457255dc61a51e0099.tar.gz
gcc-39fb9d7250581a22c2d773457255dc61a51e0099.tar.bz2
re PR c++/31743 (ICE with invalid use of new)
PR c++/31743 * parser.c (cp_parser_new_type_id): Don't reduce a named array type to its base type and number of elements here. * init.c (build_new): Call complete_type_or_else to ensure that the type is complete and to issue a diagnostic if it is not. (build_new_1): Don't call complete_type_or_else here. PR c++/31743 * g++.dg/init/new20.C: New test. From-SVN: r126292
Diffstat (limited to 'gcc/dwarf2out.c')
0 files changed, 0 insertions, 0 deletions