This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: initializing a VAR_DECL...


> time" when I try to compile I program with this mod.  So...my question
> is...how do I initialize a VAR_DECL to an initial value?  What should I put
> as the second argument passed to store_init_value()?

Initializers usually have some kind of type information attached.
I suggest that you write an small C pprogram that contains an
initialization and use gdb to watch what store_init_value is being
passed, and how it uses the value.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]