]> git.ipfire.org Git - people/ms/gcc.git/commit
re PR c++/88187 (ICE on (invalid) C++ code when compiled with -std=c++17: Segmentatio...
authorJakub Jelinek <jakub@redhat.com>
Tue, 27 Nov 2018 23:52:26 +0000 (00:52 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 27 Nov 2018 23:52:26 +0000 (00:52 +0100)
commitd1a27eaefe495c1d9dfc463037fbe22d94d4f40d
tree7b71e42a7f747eb5583c274cf567a847a7dee92e
parent08e10724741986bf04c717ca29a302f2e108f3ad
re PR c++/88187 (ICE on (invalid) C++ code when compiled with -std=c++17: Segmentation fault)

PR c++/88187
* decl.c (grokdeclarator): Don't diagnose deduction guide errors
if !funcdecl_p.

* g++.dg/other/pr88187.C: New test.

From-SVN: r266537
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/pr88187.C [new file with mode: 0644]