Xref: utzoo comp.lang.c++:4597 comp.sys.hp:2858 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!mit-eddie!mit-amt!peter From: peter@mit-amt.MEDIA.MIT.EDU (Peter Schroeder) Newsgroups: comp.lang.c++,comp.sys.hp Subject: RETBUG flag in building cfront version 1.2 Message-ID: <684@mit-amt.MEDIA.MIT.EDU> Date: 8 Sep 89 21:15:05 GMT Organization: MIT Media Lab, Cambridge, MA Lines: 23 Keywords: _plain_silly Does anybody know whether I can undefine RETBUG when building cfront 1.2 for the HP9000/835? I tried some tests by hand and found that this _plain_silly business costs a lot of time ( apparently the HP compiler optimizer pass does not see that the whole thing is bogus ) when running on an HP9000/835. However I am somewhat scared just turning that flag off, since I don't understand this bug that the RETBUG flag is a workaround for. Also has anybody using cfront 1.2 on the HP9000/835 gotten the form() library call to work properly? Apparently its assumptions about stack layout don't hold on the HP9000/835 so that things like double a = 1.2345; cout << form( "%F", a ) << "\n"; just print garbage. Any suggestions/help is much appreciated! Peter peter@media-lab.media.mit.edu