[ARK PATCH] Work around for gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96377