Does anyone have any idea why this thread https://lkml.org/lkml/2003/2/25/270 is related to strict-aliasing? To me, a compiler barrier like this will fix it: if((stream + event_len) < ends) { iwe->len = event_len; barrier(); memcpy(stream, (char *) iwe, event_len); stream += event_len; } Yubin -- To unsubscribe from this list: send the line "unsubscribe perfbook" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html