diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2018-04-03 17:53:05 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2018-04-03 17:53:05 +0000 |
commit | e52c093a9fd668cddc2397719e8a5449f8cf27de (patch) | |
tree | 66afd0fff1476271b4724b3c274dc15d0101b79a /gcc/builtins.c | |
parent | 83afe9b528896ba26d774839c930098f4833cb87 (diff) | |
download | gcc-e52c093a9fd668cddc2397719e8a5449f8cf27de.zip gcc-e52c093a9fd668cddc2397719e8a5449f8cf27de.tar.gz gcc-e52c093a9fd668cddc2397719e8a5449f8cf27de.tar.bz2 |
re PR c++/84768 (ICE with failed class template argument deduction because of invalid template parameter)
/cp
2018-04-03 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/84768
* pt.c (rewrite_template_parm): If the first argument is
error_mark_node return it immediately.
(build_deduction_guide): Check the return value of the
latter for error_mark_node.
(do_class_deduction): Check the return value of the latter.
/testsuite
2018-04-03 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/84768
* g++.dg/cpp1z/class-deduction52.C: New.
From-SVN: r259049
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions