diff options
| author | reichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-07-17 04:42:24 +0000 |
|---|---|---|
| committer | reichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-07-17 04:42:24 +0000 |
| commit | 68023786d1eea3fb2a81f027c5090cee7d87b162 (patch) | |
| tree | 215431855ee45679fe617055909a44fafef8e7f9 /gcc/tree-tailcall.c | |
| parent | 4339960d1ee9b366809c32a8a049d981285d7c7a (diff) | |
| download | ppe42-gcc-68023786d1eea3fb2a81f027c5090cee7d87b162.tar.gz ppe42-gcc-68023786d1eea3fb2a81f027c5090cee7d87b162.zip | |
PR c++/28250
* name-lookup.c (pushdecl_maybe_friend): Return early on
error_mark_node.
* except.c (expand_start_catch_block): Use error_mark_node instead
of NULL_TREE for invalid decls.
* parser.c (cp_parser_exception_declaration): Return error_mark_node
on invalid catch parameter. Simplify.
* g++.dg/eh/catch1.C: New test.
* g++.dg/eh/catch2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115516 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-tailcall.c')
0 files changed, 0 insertions, 0 deletions

