Re: Listing file-scope variables inside a pass

2007-03-21 Thread Karthikeyan M
://en.wikipedia.org/wiki/Image:Subversion_project_visualization.png On 3/21/07, Daniel Berlin <[EMAIL PROTECTED]> wrote: On 3/20/07, Karthikeyan M <[EMAIL PROTECTED]> wrote: > Are these macros not a part of 4.1.2 ? > I just picked up the tarball of the 4.1.2-core source. > > Which releas

Re: Listing file-scope variables inside a pass

2007-03-20 Thread Karthikeyan M
Are these macros not a part of 4.1.2 ? I just picked up the tarball of the 4.1.2-core source. Which release has this code ? Thanks a lot. On 3/20/07, Daniel Berlin <[EMAIL PROTECTED]> wrote: On 3/20/07, Karthikeyan M <[EMAIL PROTECTED]> wrote: > Thanks. > Where exactly s

Re: Listing file-scope variables inside a pass

2007-03-20 Thread Karthikeyan M
Thanks. Where exactly should I be looking? Will the cgraph nodes also have global declarations that are never used inside any function . On 3/20/07, Daniel Berlin <[EMAIL PROTECTED]> wrote: On 3/20/07, Dave Korn <[EMAIL PROTECTED]> wrote: > On 19 March 2007 22:16, Kart

Listing file-scope variables inside a pass

2007-03-19 Thread Karthikeyan M
What should I do if I want a list of all file-scope variables inside my own pass ? The file_scope variable is local to c-decl.c . Is there a reason why the scope holding variables are local to c-decl.c ? - Karthik

Re: Building without bootstrapping

2007-03-19 Thread Karthikeyan M
Thanks for the information. So, if I want to debug a bug in the cc1 code that causes target library build to fail - should I just use the cc1 that is generated in /gcc/ ? Is there a better way of doing this, without going through a make that builds some components successfully (cc1) and fails fo

Re: Building without bootstrapping

2007-03-18 Thread Karthikeyan M
to use the precompiled gcc throughout the build process ? Regards, Karthik On 3/16/07, Mike Stump <[EMAIL PROTECTED]> wrote: On Mar 16, 2007, at 6:51 PM, Karthikeyan M wrote: >> when you run configure. >> >> If you do use --disable-bootstrap, just run "make all-

Re: Building without bootstrapping

2007-03-16 Thread Karthikeyan M
when you run configure. If you do use --disable-bootstrap, just run "make all-gcc". I tried this, it is still using the compiled-compiler in stage2 and beyond I added some code to c-parser.c and this crashes the built-compiler when it tries to compile itself. I want the build to stop after s

Building without bootstrapping

2007-03-16 Thread Karthikeyan M
Hi , I am trying to build GCC without bootstrapping The config options I used were -- prefix= --disable-bootstrap --disable-libada --enable-languages=c I then did a make After that, I edited some code in c-parser.c , then, as suggested in http://gcc.gnu.org/ml/gcc/2007-02/msg00025.html , I t

Fwd: Query regarding struct variables in GIMPLE

2007-03-15 Thread Karthikeyan M
Thanks. Can you point me to documentation / code where I can get more information about these artificial tags ? On 3/13/07, Diego Novillo < [EMAIL PROTECTED]> wrote: Karthikeyan M wrote on 03/13/07 21:32: > appears as x.j = 10 inside the GIMPLE dump of the function body . Is >

Query regarding struct variables in GIMPLE

2007-03-13 Thread Karthikeyan M
Hi , I am trying to convert GIMPLE representation of a program to XML. GIMPLE does not seem to lower instances of struct variables E.g. struct T{int i, int j}x; f(){ x.j = 10} appears as x.j = 10 inside the GIMPLE dump of the function body . Is there some place from where I can get it in th