https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113175
Hans-Peter Nilsson changed:
What|Removed |Added
Target|mmix-knuth-mmixware |mmix-knuth-mmixware,
||x86_64-linux-gnu
Summary|[14 Regression] MMIX: |[14 Regression]
|testsuite/std/ranges/iota/m |testsuite/std/ranges/iota/m
|ax_size_type.cc 5x times|ax_size_type.cc 5x times
|slower |slower
Component|target |libstdc++
--- Comment #1 from Hans-Peter Nilsson ---
I'm afraid this isn't target-specific.
I bootstrapped native x86_64-linux-gnu off the both source trees, and ran \time
env LD_LIBRARY_PATH=(long curse) ./max_size_type.exe
r12-2797-g307e0d40367996:
0.32user 0.00system 0:00.32elapsed 99%CPU (0avgtext+0avgdata 2620maxresident)k
0inputs+0outputs (0major+184minor)pagefaults 0swaps
r14-6859-gd1eacedc6d9b:
1.73user 0.00system 0:01.73elapsed 100%CPU (0avgtext+0avgdata 3564maxresident)k
0inputs+0outputs (0major+194minor)pagefaults 0swaps
...which is a factor of about 5.4, consistent with the MMIX observation.
Still unknown whether libstdc++ or code-generator of course, but I'm leaning
towards the latter, for the same reasons as in the precious comment. Maybe the
test-case triggers peculiar details.