--- Comment #2 from pinskia at gcc dot gnu dot org 2009-05-10 22:38 ---
This code is undefined because are there are two stores to test2 without a
sequence point.
test2+=readvlnum(&test2);
Can be evaluated like:
tmp1 = test2;
tmp2 = readvlnum(&test2);
test2 = tmp1 + tmp2;
Or:
tmp
--- Comment #1 from stian at nixia dot no 2009-05-10 22:21 ---
Created an attachment (id=17849)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17849&action=view)
test.c
test-case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40096