[PR c++/84263] GC ICE with decltype
authorNathan Sidwell <nathan@acm.org>
Mon, 12 Feb 2018 11:58:40 +0000 (11:58 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 12 Feb 2018 11:58:40 +0000 (11:58 +0000)
commit4ec4afa8c10837d17eb431a08fb0c16bdac3d3cf
tree7a110bd311e8c5013a731a8fe37d27b5163b5d58
parent790cc674b649940c8981023a3249db946b6aced4
[PR c++/84263] GC ICE with decltype

https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00435.html
PR c++/84263
* parser.c (cp_parser_decltype): Push and pop
deferring_access_checks.  Reorganize to avoid goto.

* g++.dg/parse/pr84263.C: New.

From-SVN: r257584
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/pr84263.C [new file with mode: 0644]