This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/70452] [5/6 Regression] Regression in C++ parsing performance between 4.9.3 and 5.3.1
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 Mar 2016 14:13:52 +0000
- Subject: [Bug c++/70452] [5/6 Regression] Regression in C++ parsing performance between 4.9.3 and 5.3.1
- Auto-submitted: auto-generated
- References: <bug-70452-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70452
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Hashtable lookups are from location/block remapping done. I _think_ that if
all the copy_body stuff we do for constexpr evaluation would just "drop"
locations for the copy we'd still be fine constexpr wise but would save
quite a lot of linemap overhead and compile-time (hash-table lookup for
combined locs via set_block for example).
So maybe add a new field to copy_body_data for this purpose.