[Bug c++/92136] cc1plus segv with CTAD and -fchecking
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Oct 17 13:59:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92136
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with
commit 42decc18f5e1795228b8259de7880d7f676e36c7
Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue Feb 28 23:57:09 2017 +0000
Class template argument deduction refinements
* call.c (joust): Move deduction guide tiebreaker down.
* decl.c (start_decl_1, cp_finish_decl, grokdeclarator): Allow
class
deduction with no initializer.
* pt.c (build_deduction_guide): Handle implicit default/copy ctor.
(do_class_deduction): Use that rather than special case.
(do_auto_deduction): Handle null initializer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245796
138bc75d-0d04-0410-961f-82ee72b054a4
before that the testcase compiled fine.
More information about the Gcc-bugs
mailing list