I just wanted to post an update, mainly that I have solved my problem
:-) A bit more on this follows below...
On Sat, Feb 2, 2013 at 12:01 PM, Matt Davis wrote:
> Thanks Ian, Richard.
> I have some modified code which seems to be along the same lines as
> what you all suggested. However, I am s
Thanks Ian, Richard.
I have some modified code which seems to be along the same lines as
what you all suggested. However, I am still having troubles. Mainly,
I see the array in the callee but the contents are still empty, and I
verified by looking at the asm dump of the resulting code.
On Fri, F
On Fri, Feb 1, 2013 at 5:03 AM, Matt Davis wrote:
> Hello,
> I have a routine that creates a local array containing pointers to
> global data. At runtime, when this array is passed to a function, I
> do not see the pointers to the global objects. The GIMPLE does show
> that the array is declared
On Thu, Jan 31, 2013 at 8:03 PM, Matt Davis wrote:
>
> decl = create_tmp_var(type, "testarray");
> DECL_INITIAL(decl) = build_constructor(type, entries);
>
> return decl;
Do you ever create a DECL_EXPR statement for this local variable?
Ian
Hello,
I have a routine that creates a local array containing pointers to
global data. At runtime, when this array is passed to a function, I
do not see the pointers to the global objects. The GIMPLE does show
that the array is declared with the addresses of the globals as the
elements to the arr