From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 27 Mar 1996 01:27:59 -0500 From: forsyth@plan9.cs.york.ac.uk forsyth@plan9.cs.york.ac.uk Subject: a compiler bug? Topicbox-Message-UUID: 417875b4-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19960327062759.YJAQanJXwv2UzwyiCQETzTEt56ou9BDJc8C0p27fhdA@z> here is what i think is a correct fix for 8c; assuming it's right, a similar change will be needed to cgen.c in all other compilers. vortex% diff $home/cd/cmd/8c cgen.c 1194c1194 < * rewrite so lhs has no fn call --- > * rewrite so lhs has no side effects 1196c1196 < if(nn != Z && nn->complex >= FNX) { --- > if(side(nn)) {