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]

[possible BUG] gcc's vcg creation code (-dv flag)


Hi all,

there is a problem in the vcg file created when compiling the following code
with gcc's -fdump-rtl-stack -dv:

#include <stdio.h>

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"
disconnected from the rest of the graph,
i.e. there is no edge from either of them to the rest of the relevant
nodes.

can anyone please hint on why this happen and/or how can
it be fixed ?

thank you
sunzir

ps - i am attaching the original code, the created vcg file, and the rtl file,
for easy reference.

Attachment: main.c
Description: Text document

Attachment: main.c.49.stack.vcg
Description: Text document

Attachment: main.c.49.stack
Description: Text document


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