[PR c++/84263] GC ICE with decltype
commit8359fa53d8c25c0e8aee4f649b8b9c09a14d207a
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Feb 2018 11:58:40 +0000 (12 11:58 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Feb 2018 11:58:40 +0000 (12 11:58 +0000)
tree7a110bd311e8c5013a731a8fe37d27b5163b5d58
parente6ad5867ce7fc8577193a03007fdcc1cf5e94de4
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257584 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/pr84263.C [new file with mode: 0644]