Faulty Windows compiles with GCC since version 11.3
This issue was first documented in HydrogenAudio post https://hydrogenaud.io/index.php/topic,118888.msg1010523.html#msg1010523. The issue leads to exhale's higher-bit-rate CVBR modes producing wrong average rates due to faulty bit allocation.
This only seems to occur with GCC 11.3 or higher compiling for the Windows platform (specifically, on windows 10 21h1 using msys2 in one case), all other tested compilers (Visual Studio, Intel, clang, GCC 11.2 or earlier) do not behave like this.
The exhale commit introducing this issue seems to have been f145f63f, specifically the changes made to file lib/exhaleEnc.cpp (see also post https://hydrogenaud.io/index.php/topic,118888.msg1010583.html#msg1010583 for summary of our findings).
Since I cannot debug this further, any help is greatly appreciated.
Christian