------- Comment #19 from marc dot glisse at normalesup dot org 2009-07-17 15:51 ------- (In reply to comment #18) > I've compiled and linked that code. It does not abort.
Bad point for this theory :-( The result could still depend on the alignment of the pointer, so you could try replacing buf[0] by buf[4] and calling memset(buf+4,...) (try several small values instead of 4). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40757