Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
208d8b55
Commit
208d8b55
authored
Oct 14, 2010
by
Tijs Wiebe Lefering
Committed by
Mingjie Xing
Oct 14, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
F^C the vcg dump bug.
From-SVN: r165444
parent
8943989d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletions
+16
-1
gcc/ChangeLog
+6
-0
gcc/graph.c
+10
-1
No files found.
gcc/ChangeLog
View file @
208d8b55
2010-10-14 Tijs Wiebe Lefering <twlevo@gmail.com>
* graph.c (inbb): New variable.
(start_bb): Set inbb to 1 if output is inside of a building block.
(end_bb): Check if output is inside of a building block.
2010-10-13 Eric Botcazou <ebotcazou@adacore.com>
PR rtl-optimization/45912
gcc/graph.c
View file @
208d8b55
...
...
@@ -40,6 +40,9 @@ static const char *const graph_ext[] =
/* vcg */
".vcg"
,
};
/* The flag to indicate if output is inside of a building block. */
static
int
inbb
=
0
;
static
void
start_fct
(
FILE
*
);
static
void
start_bb
(
FILE
*
,
int
);
static
void
node_data
(
FILE
*
,
rtx
);
...
...
@@ -77,6 +80,7 @@ start_bb (FILE *fp, int bb)
graph: {
\n
title:
\"
%s.BB%d
\"\n
folding: 1
\n
color: lightblue
\n
\
label:
\"
basic block %d"
,
current_function_name
(),
bb
,
bb
);
inbb
=
1
;
/* Now We are inside of a building block. */
break
;
case
no_graph
:
break
;
...
...
@@ -198,7 +202,12 @@ end_bb (FILE *fp)
switch
(
graph_dump_format
)
{
case
vcg
:
fputs
(
"}
\n
"
,
fp
);
/* Check if we are inside of a building block. */
if
(
inbb
!=
0
)
{
fputs
(
"}
\n
"
,
fp
);
inbb
=
0
;
/* Now we are outside of a building block. */
}
break
;
case
no_graph
:
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment