Re: Creating a structure at compile time.

2011-12-05 Thread Ian Lance Taylor
Matt Davis writes: > Well, I have successfully created and used an initialized structure. > Note that I do not need to run the make_ssa_name. I can declare the > struct as TREE_STATIC and work from there. Now, my problem with the > expand_expr_real_1 check failing is because some of the values

Re: Creating a structure at compile time.

2011-12-03 Thread Matt Davis
On Fri, Dec 2, 2011 at 3:38 PM, Matt Davis wrote: > I am working on a gcc-plugin where I need to create a structure at compile > time. > I have gleaned over one of the front ends to learn more about creating > structures at compile time.  What I have thus far is a type node for my > struct. > >

Creating a structure at compile time.

2011-12-01 Thread Matt Davis
I am working on a gcc-plugin where I need to create a structure at compile time. I have gleaned over one of the front ends to learn more about creating structures at compile time. What I have thus far is a type node for my struct. I now need to create an instance of this struct. For exemplary pu