﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2399	array assignment does not work properly	Adeel Asghar	Willi Braun	"Create a libmylib.a from mylib.c file,

{{{
gcc -c mylib.c -o mylib.o
ar rcs libmylib.a mylib.o
}}}

Copy the lib to trunk/build/lib/.

Run the attached model.
Check the attached output file. Note that the value of '''outputs2[1]''' is zero whereas it should be same as '''outputs[1]'''.

In the model the equation for getting the values of outputs1 array is,

{{{
(outputs1) := calculate1(step, size(outputs1, 1));
}}}

and for outputs2 array is,

{{{
(outputs2, done) := calculate2(step, size(outputs2, 1));
}}}

the only difference is that for outputs2 an additional output '''done''' is specified. The code works fine if only one output is used.

There are two functions in the mylib.c file but both are doing the same thing.
"	defect	closed	blocker	1.9.1	Backend	trunk	fixed		Lennart Ochel Willi Braun
