Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!tut.cis.ohio-state.edu!purdue!mentor.cc.purdue.edu!pur-ee!pur-phy!sawmill!mdbs!wsmith From: wsmith@mdbs.UUCP (Bill Smith) Newsgroups: comp.lang.c Subject: is this broken or what? Message-ID: <1482@mdbs.UUCP> Date: 22 Jan 90 21:06:36 GMT Organization: MDBS Inc., Lafayette, IN Lines: 23 I should post this in the appropriate Gnu group, but we have be cut off from most of the news groups for the time being. 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. This obviously will produce counter-intuitive results. Bill Smith pur-ee!mdbs!wsmith