Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!emory!iccdev!jdyx!tpf From: tpf@jdyx.UUCP (Tom Friedel) Newsgroups: gnu.gcc.bug Subject: Possible bug 1.35 Message-ID: <256@jdyx.UUCP> Date: 30 May 89 01:52:25 GMT Distribution: usa Organization: JDyx Enterprises (Atlanta GA) Lines: 35 The following program produces differemt results with gcc and the 2.0.1 386/ix C compiler #define ctl(a) ('a'&037) main() { printf( "%d\n" , (int) ctl(a) ); printf( "%d\n" , (int) ctl(b) ); printf( "%d\n" , (int) ctl(c) ); printf( "%d\n" , (int) ctl(d) ); } cc 1 2 3 4 gcc 1 1 1 1 As the above #define construct is used ny the sc spread sheet, I assume someone has already pointed this out. Tom Friedel Public Access Unix BBS tpf@prism.gatech.edu ...gatech!emory!jdyx!tpf (404) 320-7624 (404) 321-5020