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]
Other format: [Raw text]

About global varibles initialization


Hi:

I am currently doing a project on changing gcc.
I need to change the global varibles initializing
process but I don't know how to debug into it.

Like a simple program - 1.c
--------------------------------
void *foo(int i){
}
void *(*pt)(int i) = foo;
int main(){
}
--------------------------------

But "gcc -drtl 1.c" won't generate rtls for line
void *(*pt)(int i) = foo;
Does that mean I cant change the value of the variable
pt in the compiler? If I could, how?

Have a nice day,
Sue


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/


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