This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/80186] ICE on C++ code with invalid constructor: Segmentation fault (program cc1plus)
- From: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 09 May 2017 16:57:06 +0000
- Subject: [Bug c++/80186] ICE on C++ code with invalid constructor: Segmentation fault (program cc1plus)
- Auto-submitted: auto-generated
- References: <bug-80186-4@http.gcc.gnu.org/bugzilla/>
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