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++/58843] [4.7/4.8/4.9 Regression] ICE with broken destructor call


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

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Thu Jan 30 14:32:25 2014
New Revision: 207305

URL: http://gcc.gnu.org/viewcvs?rev=207305&root=gcc&view=rev
Log:
/cp
2014-01-30  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58843
    * typeck.c (lookup_destructor): Check dtor_type for error_mark_node.

/testsuite
2014-01-30  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58843
    * g++.dg/lookup/crash8.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/lookup/crash8.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog


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