Commit 83dfa06c by Iain Sandoe

coroutines: Fix missing dereference (PR94319).

Fix a typo.

gcc/cp/ChangeLog:

2020-03-25  Iain Sandoe  <iain@sandoe.co.uk>

	PR c++/94319
	* coroutines.cc (captures_temporary): Fix a missing dereference.
parent 68c4570a
2020-03-25 Iain Sandoe <iain@sandoe.co.uk>
PR c++/94319
* coroutines.cc (captures_temporary): Fix a missing dereference.
2020-03-24 Marek Polacek <polacek@redhat.com> 2020-03-24 Marek Polacek <polacek@redhat.com>
PR c++/94190 - wrong no post-decrement operator error in template. PR c++/94190 - wrong no post-decrement operator error in template.
......
...@@ -2651,7 +2651,7 @@ captures_temporary (tree *stmt, int *do_subtree, void *d) ...@@ -2651,7 +2651,7 @@ captures_temporary (tree *stmt, int *do_subtree, void *d)
} }
/* As far as it's necessary, we've walked the subtrees of the call /* As far as it's necessary, we've walked the subtrees of the call
expr. */ expr. */
do_subtree = 0; *do_subtree = 0;
return NULL_TREE; return NULL_TREE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment