aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2002-10-11 19:55:21 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2002-10-11 19:55:21 +0000
commitdac45b5c091237cb7e8f723e75b3897a8f763432 (patch)
tree4a570b2a83e5295f39745305c4a521b00d6df0f7 /gcc/function.h
parent46dd38849ba39f228f467edab38cfd60e6809b6e (diff)
downloadgcc-dac45b5c091237cb7e8f723e75b3897a8f763432.zip
gcc-dac45b5c091237cb7e8f723e75b3897a8f763432.tar.gz
gcc-dac45b5c091237cb7e8f723e75b3897a8f763432.tar.bz2
re PR c++/5661 (Gcc 3.0.3 Seg faults compiling bad code)
PR c++/5661 * cp-tree.h (variably_modified_type_p): New function. (grokdeclarator) Tighten check for variably modified types as fields. * pt.c (convert_template_argument): Do not allow variably modified types as template arguments. * tree.c (variably_modified_type_p): New function. PR c++/5661 * g++.dg/ext/vlm1.C: New test. * g++.dg/ext/vlm2.C: Likewise. From-SVN: r58060
Diffstat (limited to 'gcc/function.h')
0 files changed, 0 insertions, 0 deletions