[Bug c++/86091] [fold expression] Slow compile time and high memory usage compared to initializer_list folds
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 13 15:18:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86091
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I can't reproduce the slowness.
> /usr/bin/time g++-8 t.C -std=gnu++1z -Wall -Wextra
0.23user 0.04system 0:00.27elapsed 99%CPU (0avgtext+0avgdata 44028maxresident)k
0inputs+1568outputs (0major+14354minor)pagefaults 0swaps
> /usr/bin/time g++-8 t.C -std=gnu++1z -Wall -Wextra -DBUG
0.18user 0.03system 0:00.22elapsed 100%CPU (0avgtext+0avgdata
30476maxresident)k
0inputs+1408outputs (0major+10204minor)pagefaults 0swaps
More information about the Gcc-bugs
mailing list