diff options
author | lmillward <lmillward@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-12 20:02:53 +0000 |
---|---|---|
committer | lmillward <lmillward@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-12 20:02:53 +0000 |
commit | 779e287a0e590b5e39ef50a42a9cc3728140c4ca (patch) | |
tree | 9d618cd33c15c8d8e4b84231544bd954f4ad8229 /boehm-gc/darwin_stop_world.c | |
parent | d7df524d55ce02f9c19243fbaf295c56ef36eb07 (diff) | |
download | gcc-779e287a0e590b5e39ef50a42a9cc3728140c4ca.tar.gz |
PR c++/27961
* decl.c (start_decl): Return error_mark_node if a
function is initialized like a variable.
(check_var_type): If a variable of field is declared void,
set the type to error_mark_node.
(grokdeclarator): Check the return type of check_var_type.
* class.c (finish_struct_1): Robustify.
* g++.dg/template/crash60.C: New test.
* g++.dg/other/large-size-array.C: Adjust error markers.
* g++.dg/parse/crash27.C: Likewise.
* g++.dg/template/crash1.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117671 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/darwin_stop_world.c')
0 files changed, 0 insertions, 0 deletions