Buggy AUD code crashes C compiler
|
|
Bugzilla Link |
486 |
Created on |
Apr 24, 2009 16:22 |
Version |
1.00beta |
OS |
Linux |
Architecture |
PC |
Attachments |
bug486.sac |
Extended Description
I created the attached code in an attempt to see how/if
sac2c deals with multi-partition WLs whose generator bounds
are of different lengths (hence, the program is broken!).
If you compile it with -DAKS or -DAKD, sac2c nicely detects the
problem and reports it in phase 6.
If you compile it with -DAUD, the C compiler dies:
**** Invoking C compiler ...
a.out.c: In function ‘SACf__MAIN__main’:
a.out.c:872: error: ‘SACp_emal_610_x__shpSAC_d’ undeclared (first use in this function)