re PR c++/47695 ([C++0X] Calling a deleted function fails twice)
authorPaolo Carlini <paolo.carlini@oracle.com>
Sun, 6 Nov 2011 21:05:44 +0000 (21:05 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 6 Nov 2011 21:05:44 +0000 (21:05 +0000)
commit9965f21f9ce932dd77935cd0375085571e8dffa0
tree078f15895c3fe1af4a24d246903573fc9dfad9d7
parentf25481f470c2810f6af2a7fcd76e2a0804b5f738
re PR c++/47695 ([C++0X] Calling a deleted function fails twice)

2011-11-06  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/47695
* decl2.c (mark_used): Early return false after error or sorry.
* cp-tree.h (mark_used): Adjust declaration.
* semantics.c (finish_id_expression): Check mark_used return value.

From-SVN: r181042
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/semantics.c