------- Comment #1 from pinskia at gcc dot gnu dot org 2005-12-19 21:14 ------- *(long *)benchar
You are violating C aliasing rules as you are acessing a char array as a long (yes this is an aliasing violation, the opposite is not an aliasing violation that is acessing a long as a char is not an aliasing violation). Can you see if -fno-strict-aliasing "fixes" your problem? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25496