http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60556
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I should note the code is undefined and has (uint64_t)&stat and that itself is causing the issue. If I change it to be (uint64_t)(unsigned long)&stat, GCC does not crash.