[comp.sys.hp] RETBUG flag in building cfront version 1.2

peter@mit-amt.MEDIA.MIT.EDU (Peter Schroeder) (09/09/89)

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

shankar@hpclscu.HP.COM (Shankar Unni) (09/11/89)

> Does anybody know whether I can undefine RETBUG when building cfront 1.2
> for the HP9000/835?

I have replied to this posting in comp.lang.c++.
-----
Shankar Unni                                   E-Mail: 
Hewlett-Packard California Language Lab.     Internet: shankar@hpda.hp.com
Phone : (408) 447-5797                           UUCP: ...!hplabs!hpda!shankar