Work around bug in gcc

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49604