https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112408
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Iain Buclaw <ibuc...@gcc.gnu.org>: https://gcc.gnu.org/g:0b25c1295d4e84af681f4b1f4af2ad37cd270da3 commit r13-8008-g0b25c1295d4e84af681f4b1f4af2ad37cd270da3 Author: Iain Buclaw <ibuc...@gdcproject.org> Date: Tue Nov 7 14:04:07 2023 +0100 libphobos: Fix regression d21 loops in getCpuInfo0B in Solaris/x86 kernel zone This function assumes that cpuid would return "invalid domain" when a sub-leaf index greater than what's supported is requested. This turned out not to always be the case when running on some virtual machines. As the loop only does anything for levels 0 and 1, make that a hard limit for number of times the loop is ran. PR d/112408 libphobos/ChangeLog: * libdruntime/core/cpuid.d (getCpuInfo0B): Limit number of times loop runs.