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++/80186] ICE on C++ code with invalid constructor: Segmentation fault (program cc1plus)


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80186

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Tue May  9 16:56:34 2017
New Revision: 247807

URL: https://gcc.gnu.org/viewcvs?rev=247807&root=gcc&view=rev
Log:
/cp
2017-05-09  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/80186
        * pt.c (tsubst_decl): Early return error_mark_node if
        grok_ctor_properties returns false.

/testsuite
2017-05-09  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/80186
        * g++.dg/template/crash126.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/template/crash126.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.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]