https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78763 --- Comment #8 from Ian Lance Taylor <ian at airs dot com> --- Here is a test case that recreates the problem. package p import ( "unsafe" ) func F() int { if unsafe.Sizeof(0) == 8 { return 8 } return 0 }