Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!tut.cis.ohio-state.edu!mustang.prime.com!aperez From: aperez@mustang.prime.com (Arturo Perez x6739) Newsgroups: gnu.g++.bug Subject: (none) Message-ID: <8911152346.AA22565@mustang.sun.com> Date: 15 Nov 89 23:46:35 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 32 On SunOS 4.0.3 on a Sparc processor g++ version 1.34.2 libg++ version 1.34.0 fails test7 of test suite with a bus error when function close_enough is called for the first time. close_enough's parameters are close_enough (Complex a, Complex b) if this is changed to close_enough (Complex& a, Complex b) the test runs but fails the assertion. if the params are changed to close_enough (Complex a, Complex& b) the bus error returns. It appears under the debugger that the constructor for the Complex object "this" has the address offset (towards the greater address) by 4; e.g. the address of this = 0xc when it should be 0x8. Please also respond to csawyer@cogito.prime.com. Arturo Perez aperez@cvbnet.prime.com ComputerVision, a Prime Business Unit (617) 275-1800 x6739 "Too much information, like a bullet through my brain!" - The Police