http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59264

--- Comment #5 from Mahesh S <smaheshs41 at gmail dot com> ---
[Bug c/59264] Incorrect order of execution on increament/decrement operator
But it works correctly in Turbo C and Borland C compiler why not in gcc


On Sat, Nov 23, 2013 at 11:23 PM, ebotcazou at gcc dot gnu.org <
gcc-bugzi...@gcc.gnu.org> wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59264
>
> Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |ebotcazou at gcc dot
> gnu.org
>
> --- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> > but it gets executed correctly for 1st condition why not for 2nd and 3rd
>
> Both executions are correct since the code has undefined behavior.
>
> --
> You are receiving this mail because:
> You reported the bug.
>

Reply via email to