This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/47695] [C++0X] Calling a deleted function fails twice


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47695

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-11-06 21:05:47 UTC ---
Author: paolo
Date: Sun Nov  6 21:05:44 2011
New Revision: 181042

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181042
Log:
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.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl2.c
    trunk/gcc/cp/semantics.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]