AKD compiler error
| Bugzilla Link | 33 |
| Created on | Dec 11, 2003 13:21 |
| Resolution | FIXED |
| Resolved on | Dec 11, 2003 20:10 |
| Version | 1.00beta |
| OS | SunOS |
| Architecture | Sun |
| Attachments | error5.sac |
Extended Description
there seems to be a serious AKD bug.
Compiling the attached program with
sac2c -O3 -sbs -fun2lac 7 -ssa -noTSI -noAP -maxlur 3 -maxwlur 12 -check tb -o
error5 error5.sac
yields:
** 21: Invoking C compiler: ...
error5.c: In function `SACf_main':
error5.c:323: warning: implicit declaration of function `SAC_ND_A_MIRROR'
error5.c:323: `AKD' undeclared (first use in this function)
error5.c:323: (Each undeclared identifier is reported only once
error5.c:323: for each function it appears in.)
error5.c:323: `NHD' undeclared (first use in this function)
error5.c:323: `NUQ' undeclared (first use in this function)
error5.c:323: parse error before `)'
SYSTEM::ERROR: System failed to execute shell command
:ERROR: gcc -Wall -Wno-unused -fno-builtin -DTAGGED_ARRAYS
:ERROR: -I$SACBASE/runtime/ -L$SACBASE/runtime/
:ERROR: -L/tmp/SAC_AAAd9aGnU -O3 -o error5 error5.c -lsac_heapmgr
:ERROR: -lsac
:ERROR: with exit code 1 !