On Mon, Jul 20, 2009 at 8:30 AM, <i...@adari.net> wrote:
> Hello,
>
> Here is a program with output in gcc (4.3.2) on pre and post increments:

Try using -Wsequence-point.  With that option GCC produces:
t.c:6: warning: operation on 'a' may be undefined
(and many warnings of the same wording for every line afterwards).

Thanks,
Andrew Pinski

Reply via email to