https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125675
--- Comment #3 from Jose Gomez <jose.gomez.lopez at gmail dot com> --- Using gcc 16.1.0 | Use Case | Energy consumption in 12 h (mW) | Binary size (bytes) | |----------|---------------------------------|---------------------| | Case 1 | 120 | 23376 | | Case 2 | 119 | 27864 | | Case 3 | 116 | 28212 | So I can say the performance is as expected. With gcc 16.1.0 the problem seems to be fixed
