aboutsummaryrefslogtreecommitdiff
path: root/gcc/ree.c
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@gcc.gnu.org>2016-04-05 16:40:00 +0000
committerPatrick Palka <ppalka@gcc.gnu.org>2016-04-05 16:40:00 +0000
commitc0daf32d0cd8c1ddac7f347058ea42caf15afd96 (patch)
tree37e8ab52937bf7489cef7d365c164152b6294e91 /gcc/ree.c
parentbf867841b453a347ec0d9dca45758f20949fd89a (diff)
downloadgcc-c0daf32d0cd8c1ddac7f347058ea42caf15afd96.zip
gcc-c0daf32d0cd8c1ddac7f347058ea42caf15afd96.tar.gz
gcc-c0daf32d0cd8c1ddac7f347058ea42caf15afd96.tar.bz2
Fix PR c++/70452 (regression in C++ parsing performance)
gcc/cp/ChangeLog: PR c++/70452 * constexpr.c (struct fundef_copy): New struct. (struct fundef_copies_table_t): New struct. (fundef_copies_table): New static variable. (maybe_initialize_fundef_copies_table): New static function. (get_fundef_copy): New static function. (save_fundef_copy): New static function. (cxx_eval_call_expression): Use get_fundef_copy, and save_fundef_copy. (constexpr_call_table): Add "deletable" GTY marker. gcc/testsuite/ChangeLog: PR c++/70452 * g++.dg/ext/constexpr-vla4.C: New test. From-SVN: r234753
Diffstat (limited to 'gcc/ree.c')
0 files changed, 0 insertions, 0 deletions