https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118040
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Just happens the order of variables layout is different between GCC and clang. Note I will note clang has 2 different layouts too, one for C and one for C++.