Accelerator Manual (G06.27+, H06.04+, J06.03+)

Error, Warning, and Note Messages
Accelerator Manual527303-003
9-11
Warning Messages
4. A C program uses the ldiv C run-time library function and was compiled with a
version of the HP C compiler released before 15JUN91. These compiler versions
incorrectly marked the ldiv function as having a return value size of four words.
5. A C function was compiled without the appropriate C function prototypes for the
routines it calls.
Effect. Values from the Binder region override the values derived by the Accelerator. If
the Binder region is correct, then the accelerated code is correct. If the Binder region is
incorrect, then the accelerated code is incorrect.
Recovery. For TAL programs, check the size from the Binder region against the
source code. If the size in the Binder region is incorrect, then specify the correct value
with a ReturnValSize option and accelerate the program again.
For the previously listed cases 2, 3, and 4, you can accelerate the program again,
supplying a ReturnValSize option with the correct size. The correct value is the size of
the pointer, either one word for NOXMEM (small-memory model) or two words for
XMEM (large-memory model).
When this warning is generated by a function that returns the type “void *,” you can
also recompile your program using a version of the C compiler released on or after
01DEC90, and then accelerate the new object file. In this case, you do not need to
specify a ReturnValSize option, and this warning disappears.
When this warning is generated by a function that returns a struct by value or a
function that uses the ldiv C run-time library function, you can also recompile your
program using a version of the C compiler released on or after 15JUN91, and then
accelerate the new object file. In this case, you do not need to specify a ReturnValSize
option, and this warning disappears.
When this warning is generated because a C function does not have the appropriate C
function prototypes for the routines it calls, you must recompile your program with the
appropriate C function prototypes.
NOTE: The Accelerator issues Warning 30 if you specify a ReturnValSize option which
conflicts with the Binder region. You can ignore Warning 30 if you specified the correct
size with the ReturnValSize option.
33
Cause. The Accelerator assumes that procedures do not reference condition codes
(the N and Z bits of the ENV register) before they perform some work that resets
condition codes (for example, perform an arithmetic operation or call a system
procedure). The Accelerator suspects that the named procedure references condition
codes before it resets them. Only TAL procedures can inherit the condition codes from
their callers.
Warning 33: The following procedures unexpectedly inherit
condition codes: '<proc name>' at offsets(s): <address>