[comp.lang.c++] Bug III solved

wim@targon.UUCP (Wim C. J. van Eerdt) (12/04/87)

I did post it for a colleague who only reads some
articles from the net, just because we print them for him.
He can't be reached by e-mail.
Thus when you have a message for him, put it into my e-mail (see below),
than I'll care he gets the message printed at his desk.
Have fun!

	Wim van Eerdt                   E-mail: mcvax!targon!wim
	OSP, Nixdorf Computer Bv, Postbus 29, 4130 EA Vianen
	Nederland. Tel.: +31 3473 62211.



-------------------------------------------------------------------------
Author: Gerard van Dorth
Subject: Bug III solved (?)
Date: Fri Dec  4 14:50:04 MET 1987
> A conditional expression in a while loop requires creation of two temporaries
> ... However, only one temporary is freed.

Change the last but one statement "ee->e2 = new expr(CM,ss->e,tmp);" of the
routine temp_in_cond in the file simpl.c to: "ee->e2 = new expr(CM,ex,tmp);".
-- 
	Wim van Eerdt                   E-mail: mcvax!targon!wim
	OSP, Nixdorf Computer Bv, Postbus 29, 4130 EA Vianen
	Nederland. Tel.: +31 3473 62211.