ITEM: H1385L
I am getting an error when compiling c souce code.
Question:
AIX : 3.2.5
Model: 7012
I ran the C compiler. It gives me an error which say contact your
service representative and provide the following information:
1500-004: GRASPILL:cannot find enough to spill.
Response:
I am using:
cc -c -O -I/path -I/path sourcefile.c
This is a large c file; note compiling with optimization.
Response:
The problem is, the user code has too many variable (ie > 2**15) and
thus the optimization aborts.
There is a workaround - spilt the subroutine(s) into two (or more).
The size of the file is 43000 bytes - 1200 lines with very few
variables defined (30 - 50). Source file has four functions.
The include files will compile with other source files, but the c file
that is failing compile has a subroutine with a huge switch statement.
Tried compiling without the optimizer (-O flag) and the compile went
fine.
Support Line: I am getting an error when compiling c souce code. ITEM: H1385L
Dated: March 1994 Category: N/A
This HTML file was generated 99/06/24~13:30:48
Comments or suggestions?
Contact us