diff options
Diffstat (limited to 'gcc/cp/except.c')
-rw-r--r-- | gcc/cp/except.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c index 4f4f85b..86acc93 100644 --- a/gcc/cp/except.c +++ b/gcc/cp/except.c @@ -369,6 +369,7 @@ initialize_handler_parm (tree decl, tree exp) /* Make sure we mark the catch param as used, otherwise we'll get a warning about an unused ((anonymous)). */ TREE_USED (decl) = 1; + DECL_READ_P (decl) = 1; /* Figure out the type that the initializer is. Pointers are returned adjusted by value from __cxa_begin_catch. Others are returned by |