r261941 - in /branches/gcc-7-branch/gcc: cp/Cha...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Fri Jun 22 21:01:00 GMT 2018
Author: jakub
Date: Fri Jun 22 21:01:00 2018
New Revision: 261941
URL: https://gcc.gnu.org/viewcvs?rev=261941&root=gcc&view=rev
Log:
Backported from mainline
2018-03-27 Jakub Jelinek <jakub@redhat.com>
PR c++/85076
* tree.c (cp_build_reference_type): If to_type is error_mark_node,
return it right away.
* g++.dg/cpp1y/pr85076.C: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1y/pr85076.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/tree.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list