diff options
author | Jason Merrill <jason@redhat.com> | 2017-06-23 19:29:51 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2017-06-23 19:29:51 -0400 |
commit | e2e80f2f3c05ebc80ed0489babe527468a99e5a1 (patch) | |
tree | 89321169b9afe369809cbf60b8fd80fbb0a0593a /libgfortran/libgfortran.h | |
parent | ee444c5f45985c29dcf5b4341f05a0bd15cc1897 (diff) | |
download | gcc-e2e80f2f3c05ebc80ed0489babe527468a99e5a1.zip gcc-e2e80f2f3c05ebc80ed0489babe527468a99e5a1.tar.gz gcc-e2e80f2f3c05ebc80ed0489babe527468a99e5a1.tar.bz2 |
PR c++/79056 - C++17 ICE with invalid template syntax.
* parser.c (cp_parser_simple_type_specifier): Don't assume that type
is a TYPE_DECL.
(cp_parser_check_for_invalid_template_id): Handle TYPE_DECL.
* pt.c (template_placeholder_p): New.
* cp-tree.h: Declare it.
From-SVN: r249614
Diffstat (limited to 'libgfortran/libgfortran.h')
0 files changed, 0 insertions, 0 deletions