HP aC++ A.03.85 Release Notes

HP aC++ Release Notes
New Features in Version A.03.60
Chapter 118
New Features in Version A.03.60
HP aC++ version A.03.60 supports the following new features:
Debugging of Optimized Code (DOC) in 64-Bit Mode
Enhancements to C++ Runtime Support Library
Improved Performance of C++ Virtual Calls at +O4
Optimizer Tune-Up for PA8800
Improved C++ Class Array Construction Performance
Improved Compile Time
Improved C++ Template Usability
Debugging of Optimized Code (DOC) in 64-Bit Mode
Now it is possible to debug code optimized at +O2 in 64-bit (wide) mode using HP aC++. Use
the compilation option -g +O2 +DD64 to achieve this.
Earlier, DOC was available only in 32-bit (narrow) mode.
Enhancements to C++ Runtime Support Library
In C++, it is possible to make the compiler generate calls to pure virtual functions. When this
happens inadvertently, it can be hard to locate the class to which the pure virtual function
belongs. The HP aC++ runtime library has been enhanced to print the name of the containing
class when a pure virtual function is called during execution.
Example:
struct base {
base() { something(this); }
friend void something(base *b){ b->bar(); }
virtual void bar() = 0;
};
struct deri: public base{
void bar(){}
};