wltransform.c does not compile in productive mode [DBUG off]
|
|
Bugzilla Link |
38 |
Created on |
Jul 03, 2004 18:59 |
Resolution |
FIXED |
Resolved on |
Jul 15, 2004 15:14 |
Version |
1.00beta |
OS |
All |
Architecture |
PC |
Extended Description
When compiling the sac2c compiler in productive mode (e.g. master run), the
compilation stops at file wltransform.c caused by a (in DBUG off mode) not
defined variable:
gcc -ansi -Wall -g -O3 -D__EXTENSIONS__ -D__STDC__=0 -DMUST_INIT_YY -DDBUG_OFF
-DPRODUCTION -I../global -I../tree -I../../inc -I../print -I../constants
-I../typecheck -I../refcount -I../optimize -I../psi-opt -I../scanparse
-I../concurrent -I../flatten -I../c-interface -o wltransform.o -c wltransform.c
wltransform.c: In function `GetWlIterShape':
wltransform.c:2663: `current_dim' undeclared (first use in this function)
wltransform.c:2663: (Each undeclared identifier is reported only once
wltransform.c:2663: for each function it appears in.)
wltransform.c: In function `ExtractOtherOperators':
wltransform.c:3178: warning: `extracted_operators' might be used uninitialized
in this function
wltransform.c:3180: warning: `ids_tmp' might be used uninitialized in this function
wltransform.c: In function `EmptyParts2StridesOrExpr':
wltransform.c:3497: warning: `old_iter_shp' might be used uninitialized in this
function