On Feb 17, 2008 3:55 PM, Andrew Haley <[EMAIL PROTECTED]> wrote:
> Sunzir Deepur wrote:
> > followup:
> >
> > After a considerabale amount of time (e.g. 15 seconds), something is
> > suddenly
> > freed, and the compilation completes successfully. afterwar
f the hang.. I can tell that while it is hung,
the cpu is not working (gcc doesn't even show in top..).
On Feb 17, 2008 12:03 PM, Sunzir Deepur <[EMAIL PROTECTED]> wrote:
> hello,
>
> I encounter a strange gcc behavior - it hangs ! this is not happening always.
> It can hang
hello,
I encounter a strange gcc behavior - it hangs ! this is not happening always.
It can hang sometimes, and sometimes not, with the exact same source
file and gcc command line.
My command is simple, i use several -I parameters (include folders),
-c and -o.. that's it..
gcc -I -I -I -I -I
Hello list,
I have enountered some inconsistency in the RTL/VCG output
and I wonder if it is fixable (and how).
This problem arises when compiling a C file with a nested routine. In this case
the symbol of the nested routine is added a numeric suffix (like
static definitions
from within a functio
Hi list,
I have a need to understand some call RTL instructions,
but I have difficulties to understand some of them.
Here are two examples of the challenging RTL instructions:
(call (mem:QI (symbol_ref:SI (\"stpcpy\") [flags 0x41] ) [0 S1 A8])
(const_int 8 [0x8]))
Q: does this instructi
Hi,
I have noticed that glibc has extensive use of the _Unwind_Resume procedure
(from libgcc_eh.a) but I have failed to understand it (no luck with
the onlinedocs:
http://gcc.gnu.org/onlinedocs/gccint/Exception-handling-routines.html#Exception-handling-routines).
Can anyone please explain me what
Hi Jim,
On 9/12/07, Jim Wilson <[EMAIL PROTECTED]> wrote:
> Sunzir Deepur wrote:
> > recently I've encountered a problem in which some removals of
> > (what seems to be unneeded) lines of header files inflicted changes in
> > the resulting binary. further inverstig
hi list,
recently I've encountered a problem in which some removals of
(what seems to be unneeded) lines of header files inflicted changes in
the resulting binary. further inverstigation showed
that the chages were different __FUNCTION__.numbers (in the __FUNCTION__.
xxx symbol names).
can someon
Hi all,
there is a problem in the vcg file created when compiling the following code
with gcc's -fdump-rtl-stack -dv:
#include
void fun(void) {
printf("fun\n");
}
int main(void) {
fun();
return 0;
}
the vcg file created has the two nodes "main.0" and "fun.0"
disconnect
Hi Ian,
On 21 Aug 2007 21:19:07 -0700, Ian Lance Taylor <[EMAIL PROTECTED]> wrote:
> "Sunzir Deepur" <[EMAIL PROTECTED]> writes:
>
> > is there a way to turn off warnings for selective lines ?
>
> No.
can you please explain me the complexity of adding this
On 8/12/07, Dave Korn <[EMAIL PROTECTED]> wrote:
> On 11 August 2007 08:42, Emmanuel Fleury wrote:
> > Sunzir Deepur wrote:
> >> so why are those class 3 edges created at all ?
> > I didn't see any 3-edges blocks at all in your example.
> Not 3-edge b
On 8/3/07, Emmanuel Fleury <[EMAIL PROTECTED]> wrote:
> Sunzir Deepur wrote:
> > hello,
> >
> > what are class 3 edges ?
> > why make them ?
> > if i understand ok, they do not represent a legit flow of code...
>
> Switches:
ok, that's one exampl
hello,
what are class 3 edges ?
why make them ?
if i understand ok, they do not represent a legit flow of code...
thank you
sunzir
ok, thanks, sunzir.
On 7/22/07, Robert Dewar <[EMAIL PROTECTED]> wrote:
Sunzir Deepur wrote:
> is there a meaning for control flow graphs of assembly files (.S)
> (e.g. those that are emitted using -fdump-rtl-*) ?
this is neither possible nor desirable.
Ok. but is there a way to produce CFG
hi list,
is there a meaning for control flow graphs of assembly files (.S)
(e.g. those that are emitted using -fdump-rtl-*) ?
if not - then how are assembly file being optimized ? I guess
that assembly files can be made more efficient by many of gcc's
optimizations too,
can't they ?
thanks !!
s
On 7/18/07, Seongbae Park (박성배, 朴成培) <[EMAIL PROTECTED]> wrote:
On 7/18/07, Sunzir Deepur <[EMAIL PROTECTED]> wrote:
> So basically I want to assume the maximum vcg file that is created
> is a function of the optimizations and not a function of the source file..
Why?
Th
Hi list,
Is it ok to assume that when I compile a C file (that is guranteed to have
some code in it) under the following flags, I always get the mentioned
VCG file (and do not get a bigger one) ?
Flags Maximum VCG file that is always created
=
On 10 Jul 2007 09:51:14 -0700, Ian Lance Taylor <[EMAIL PROTECTED]> wrote:
"Sunzir Deepur" <[EMAIL PROTECTED]> writes:
> What files are the sources of crtbegin.o and crtend.o ?
The single file gcc/crtstuff.c.
> What's their purposes ?
To ensure that global
Hi all,
What files are the sources of crtbegin.o and crtend.o ?
What's their purposes ?
thank you
sunzir
hello,
when I compile with -dv -fdump-rtl-* I somtimes see in the VCG files
some edges that have no meaning in the flow of the program.
these edges are always green and class 3.
what are those edges ? what is their purposes ?
thank you
sunzir
all, sorry for the misplaced (and trivial) question, won't happen again.
thank you for the nice attitude though !
sunzir.
Hello,,
When I do "gcc foo.c", behind the scenes I suppose there
are many actions, like calling 'cpp', 'gcc', 'as' and finally, 'ld'.
Is there a way to know what is going on exactly behind the
scenes of gcc ?
Like which other tools are called and with which command line
arguments ?
Thank You
su
Hello all,
I have a need to read the VCG files (generated by -dv -fdump-rtl),
parse them and do some graph manipulations on them (drop some rtl instructions,
change graph layout, ...).
Is there any library for parsing and manipulating these VCG files ?
Thank You
sunzir
Hi Guys,
Sorry to bother you with that old issue...
But..
Is there a chance someone has a secret stash with a working
version of the VCG graph viewer ? please ?
thank you ppl
sunzir
Re: Looking for Cygnus' modified VCG graph viewer
To: drepper at cygnus dot com (Ulrich Drepper)
Subject: Re
Hello Diego.
On 3/15/07, Diego Novillo <[EMAIL PROTECTED]> wrote:
Sunzir Deepur wrote on 03/14/07 05:36:
> any idea where I can find a (free) graphical VCG viewer suitable
> for gcc's vcg outputs ?
I'd recommend the attached script. Feed the output to GraphViz. The
s
Hello Joe.
On 3/14/07, Joe Buck <[EMAIL PROTECTED]> wrote:
On Wed, Mar 14, 2007 at 11:36:24AM +0200, Sunzir Deepur wrote:
> any idea where I can find a (free) graphical VCG viewer suitable
> for gcc's vcg outputs ?
See http://www.graphviz.org/
Checked on graphviz, I don
Hi,
On 3/14/07, Seongbae Park <[EMAIL PROTECTED]> wrote:
On 3/14/07, Sunzir Deepur <[EMAIL PROTECTED]> wrote:
> I have used -da and -dv to produce vcg files of the CFG of this simple
program:
>
> int main(int argc, char**argv)
> {
> if(argc)
>
Hello,
I have used -da and -dv to produce vcg files of the CFG of this simple program:
int main(int argc, char**argv)
{
if(argc)
printf("positive\n");
else
printf("zero\n");
return 0;
}
I have expected to get a CFG as follows:
Hello group,
any idea where I can find a (free) graphical VCG viewer suitable
for gcc's vcg outputs ?
seems like the old 1995 package is not applicable on newest linux systems
(am working on fedora).
Thank You
sunzir
On 3/13/07, Jim Wilson <[EMAIL PROTECTED]> wrote:
Sunzir Deepur wrote:
> My wish is to generate a CFG in which I would know, for each basic block
> and RTL command, what is the virtual address this command will be at
> in the binary..
You can already find much of this info in the
Hello,
I use -da to dump RTL files of the passes.
Is there a way to add the virtual addresses of each directive ?
I know that RTL is abstraction and virtual addresses are relevant only
when the actual opcodes are generated.
My wish is to generate a CFG in which I would know, for each basic blo
hi all,
these are the last passes:
NEXT_PASS (pass_stack_regs); // last pass to generate VCG file
NEXT_PASS (pass_compute_alignments);
NEXT_PASS (pass_duplicate_computed_gotos);
NEXT_PASS (pass_variable_tracking);
NEXT_PASS (pass_free_cfg);
NEXT_PASS (pass_machine_reorg);
NE
hello all,
I would like to output a CFG (preferably in VCG format)
which describes the final binary.
Is it doable or do the last RTL passes change the CFG ?
I see that the last vcg outputable is file.c.49.stack.vcg - is it a good
description of the final binary flow ?
Thank you all
sunzir
Hi,
On 3/4/07, Steven Bosscher <[EMAIL PROTECTED]> wrote:
On 3/4/07, Sunzir Deepur <[EMAIL PROTECTED]> wrote:
> Forgive me, I had mistake in the question - I meant the debug dump files
> that we get just by using the -fdump-rtl-all. not the vcg files.
> how can I understand
Hi,
On 3/4/07, Steven Bosscher <[EMAIL PROTECTED]> wrote:
On 3/4/07, Sunzir Deepur <[EMAIL PROTECTED]> wrote:
> hello ppl,
>
> when I use -fdump-rtl-all with -dv I get CFG files.
> where can I learn the syntax of that CFG files ?
> it seems some kind of LISP langu
hello ppl,
when I use -fdump-rtl-all with -dv I get CFG files.
where can I learn the syntax of that CFG files ?
it seems some kind of LISP language...
thanks !
sunzir
hello all,
I was wondering why "call" directives are not edges in function graphs ?
I see that only jumps are edges, and calls are treated like a normal
directive...
thanks for the help,
sunzir.
38 matches
Mail list logo