aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2006-05-21 17:23:59 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2006-05-21 17:23:59 +0000
commitb655f214fa8e0297c3ef849c8a4f403d85777d13 (patch)
tree43334d7f67ff997edd619b6c7ddc92b7245fdfaa /gcc/c-decl.c
parent357f19a0db6794478e915ad7b1e01b7efe52d536 (diff)
downloadgcc-b655f214fa8e0297c3ef849c8a4f403d85777d13.zip
gcc-b655f214fa8e0297c3ef849c8a4f403d85777d13.tar.gz
gcc-b655f214fa8e0297c3ef849c8a4f403d85777d13.tar.bz2
re PR c++/27210 (ICE on c++ template)
PR c++/27210 * cp-tree.h (cp_save_expr): New function. * init.c (build_new): Correct logic for zero-element array warning. Use cp_save_expr. * tree.c (cp_save_expr): New function. PR c++/27210 * g++.dg/warn/new1.C: New test. * g++.dg/template/new5.C: Likewise. From-SVN: r113958
Diffstat (limited to 'gcc/c-decl.c')
0 files changed, 0 insertions, 0 deletions