spec benchmark testing

2005-06-22 Thread Virender Kashyap
Hi I am trying to test gcc-4.0 on c modules in SPEC CPU200 benchmark source using -combine option , which enables optimizations across files (producing one assembly for whole module). I give following command : gcc -combine -S *.c The above command works for some of the modules (164.zip,

Help ! Memory allocating problems

2005-06-11 Thread Virender Kashyap
Hi, I am working on a small implementation in gcc-code. I declare some data structures, using GTY(()) tag ..and allocate elements using ggc_alloc_cleared function. To free data, i use ggc_free function. The problem is that many a times i get strange memory allocation segfaults in xcall

Problem in assembly and linking(gcc-4.0)

2005-05-21 Thread Virender Kashyap
Hi I am working on gcc-4.0. I have edited some files in code and the remaking of gcc works well, and even files compile with it. But when i try to run a compiled program it gives segmentaion fault. I checked that assembly code produced is fine and i just compiled file to file.s and then ass

doubts in gimple code

2005-05-01 Thread Virender Kashyap
Hi, In GIMPLE IR, variables that need to live in memory are to be first loaded into temporaries and then used in expressions. The memory here referes here to data area i guess. Because for local variables which reside on stack , this rule does not apply, as an expression like c = a + b ; whe

Interprocedural Dataflow Analysis - Scalability issues

2005-04-19 Thread Virender Kashyap
Hi, I am working on interprocedural data flow analysis(IPDFA) and need some feedback on scalability issues in IPDFA. Firstly since one file is compiled at a time, we can do IPDFA only within a file. But that would prevent us from doing analysis for funcitons which are called in file A , but

Re: ERROR : pls help

2005-04-07 Thread Virender Kashyap
s does not seem to give any clue . -- Regards. Virender "Remember that what's right isn't always popular... and what's popular isn't always right" -------- Virender Kash

ERROR : pls help

2005-04-07 Thread Virender Kashyap
hi i made some changes in gcc code. when i try to comile it using make , i get the following error ( last few lines from output ). Pls help me in removing this error. -f libgcc.mk all make[2]: Entering directory `/home/virenk/obj_gcc/gcc' /home/virenk/obj_gcc/gcc/xgcc -B/home/virenk/obj_gc

problem

2005-02-13 Thread Virender Kashyap
hi I have written a small structure (function_cfg_info) to hold CFG information (defined in new file tree-cfg.h) and wanted to add this to call graph node data structure (in cgraph.h). When I add this to cgraph_node , it is unable to find this structure, even after including the tree-cfg.h.