Compiling with -mt produces value error in run-time code
|
|
Bugzilla Link |
1115 |
Created on |
Feb 20, 2014 19:02 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Attachments |
crud.sac |
Extended Description
Created an attachment (id=1003)
source code to reproduce fault
sac2c -V
sac2c v1.00-beta (Haggis And Apple)
developer rev 18429 linux-gnu_x86_64
(Thu Feb 20 12:56:46 EST 2014 by sac)
sac2c crud.sac -v1 -mt -d cccall -d syscall
a.out.c: In function ‘SACf__MAIN_CL_ST__main’:
a.out.c:1026: warning: ‘SACp_pinl_1728__flat_59’ may be used uninitialized in this function
The same compilation without -mt issues no warnings.
The variable is an argument to this macro: SAC_MT_SEND_PARAM_in.