Fix in upstream is here: https://github.com/dlang/phobos/pull/6752 It's trivial, so can be backported to gcc-10. The effects of this bug means that programs using this module (such as dub, the D package manager) do not work if compiled by gdc-10. gdc-9 would be affected as well.
The master branch has been updated by Iain Buclaw <ibuclaw@gcc.gnu.org>: https://gcc.gnu.org/g:e977a5df5bae2bce6e3e95456f5da0dbfdd02934 commit r11-445-ge977a5df5bae2bce6e3e95456f5da0dbfdd02934 Author: Iain Buclaw <ibuclaw@gdcproject.org> Date: Sun May 17 18:49:19 2020 +0200 libphobos: Merge upstream druntime 5cc061a8, phobos 64ed4684f - core.cpuid has been fixed to not use i7 detection on AMD processors. - std.net.curl has been fixed to correctly handle HTTP/2 status lines. - std.zip has had a test fixed to not rely on unzip being installed. Fixes: PR d/95166 PR d/95167 PR d/95168 Reviewed-on: https://github.com/dlang/druntime/pull/3107 https://github.com/dlang/phobos/pull/7486
The releases/gcc-10 branch has been updated by Iain Buclaw <ibuclaw@gcc.gnu.org>: https://gcc.gnu.org/g:999c80acfdd890b789678c989c3d740969c14d20 commit r10-8150-g999c80acfdd890b789678c989c3d740969c14d20 Author: Iain Buclaw <ibuclaw@gdcproject.org> Date: Sun May 17 18:49:19 2020 +0200 libphobos: Backport library fixes from mainline - core.cpuid has been fixed to not use i7 detection on AMD processors. - std.net.curl has been fixed to correctly handle HTTP/2 status lines. - std.zip has had a test fixed to not rely on unzip being installed. libphobos/ChangeLog: PR d/95166 * libdruntime/core/cpuid.d (cpuidX86): Do not use i7 detection on AMD processors. (hasCPUID): Fix deprecated asm syntax. PR d/95167 * src/std/zip.d (unittest): Skip test if unzip is not installed. PR d/95168 * src/std/net/curl.d (HTTP.onReceiveHeader): Move status line parsing to ... (HTTP.parseStatusLine): ... here. New function. Add support for parsing HTTP/2 status lines.
Done.