is this broken or what?

Shiping Zhang ping at cubmol.bio.columbia.edu
Wed Jan 24 02:59:10 AEST 1990


In article <1482 at mdbs.UUCP> wsmith at mdbs.UUCP (Bill Smith) writes:
>	unsigned u = 0;
>
>	if (u-- < 4)
>		printf("yes\n");
>	else
>		printf("no\n");
>
>The Data General Aviion 5000 (an 88000 machine) version of GCC converts this 
>into:
>
>	unsigned u = 0;
>
>	if(--u < 3) ....
>
>for the assembly.
>

To me, the codes in the two cases are same.



-ping



More information about the Comp.lang.c mailing list