> From: Qing Zhao <qing.z...@oracle.com> > Date: Tue, 19 Sep 2023 14:19:09 +0000 > > On Sep 17, 2023, at 12:36 PM, Hans-Peter Nilsson via Gcc-patches > > <gcc-patches@gcc.gnu.org> wrote: > >> From: Sam James <s...@gentoo.org> > >> Date: Sun, 17 Sep 2023 05:00:37 +0100 > >> Did some bug ever get filed for this to see if we can do a bit > >> better here? > > > > Not that I know of; neither for systemd nor gcc. > > Then, is it convenient to file a bug on this?
A fair request, but I can't commit to analyze it myself to the usual level, producing a self-contained test-case. I see Sam James was super fast and has already added you to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111523 (thanks!) > That will > be very helpful for us to locate the issue and fix it. > > Before I committing the -ftrivial-auto-var-init patch, I > have done some performance testing on CPU2017 for x86 and > aarch64, > The runtime overhead was quite limited. Perhaps it would also make sense to performance-test on network-facing software and system software such as systemd? > Which platform the 35% performance slowdown was on? arm-linux-eabi on ARM Cortex-A9. brgds, H-P