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
a106c875
Commit
a106c875
authored
Mar 30, 2002
by
Hans-Peter Nilsson
Committed by
Hans-Peter Nilsson
Mar 30, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
From-SVN: r51589
parent
6e2d670b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
gcc/ChangeLog
+4
-0
gcc/cfg.c
+4
-3
No files found.
gcc/ChangeLog
View file @
a106c875
2002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
* cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
2002-03-29 Richard Henderson <rth@redhat.com>
2002-03-29 Richard Henderson <rth@redhat.com>
PR target/5886
PR target/5886
...
...
gcc/cfg.c
View file @
a106c875
...
@@ -472,7 +472,7 @@ dump_flow_info (file)
...
@@ -472,7 +472,7 @@ dump_flow_info (file)
if
(
REG_N_SETS
(
i
))
if
(
REG_N_SETS
(
i
))
fprintf
(
file
,
"; set %d time%s"
,
REG_N_SETS
(
i
),
fprintf
(
file
,
"; set %d time%s"
,
REG_N_SETS
(
i
),
(
REG_N_SETS
(
i
)
==
1
)
?
""
:
"s"
);
(
REG_N_SETS
(
i
)
==
1
)
?
""
:
"s"
);
if
(
REG_USERVAR_P
(
regno_reg_rtx
[
i
]))
if
(
regno_reg_rtx
[
i
]
!=
NULL
&&
REG_USERVAR_P
(
regno_reg_rtx
[
i
]))
fprintf
(
file
,
"; user var"
);
fprintf
(
file
,
"; user var"
);
if
(
REG_N_DEATHS
(
i
)
!=
1
)
if
(
REG_N_DEATHS
(
i
)
!=
1
)
fprintf
(
file
,
"; dies in %d places"
,
REG_N_DEATHS
(
i
));
fprintf
(
file
,
"; dies in %d places"
,
REG_N_DEATHS
(
i
));
...
@@ -480,7 +480,8 @@ dump_flow_info (file)
...
@@ -480,7 +480,8 @@ dump_flow_info (file)
fprintf
(
file
,
"; crosses 1 call"
);
fprintf
(
file
,
"; crosses 1 call"
);
else
if
(
REG_N_CALLS_CROSSED
(
i
))
else
if
(
REG_N_CALLS_CROSSED
(
i
))
fprintf
(
file
,
"; crosses %d calls"
,
REG_N_CALLS_CROSSED
(
i
));
fprintf
(
file
,
"; crosses %d calls"
,
REG_N_CALLS_CROSSED
(
i
));
if
(
PSEUDO_REGNO_BYTES
(
i
)
!=
UNITS_PER_WORD
)
if
(
regno_reg_rtx
[
i
]
!=
NULL
&&
PSEUDO_REGNO_BYTES
(
i
)
!=
UNITS_PER_WORD
)
fprintf
(
file
,
"; %d bytes"
,
PSEUDO_REGNO_BYTES
(
i
));
fprintf
(
file
,
"; %d bytes"
,
PSEUDO_REGNO_BYTES
(
i
));
class
=
reg_preferred_class
(
i
);
class
=
reg_preferred_class
(
i
);
...
@@ -497,7 +498,7 @@ dump_flow_info (file)
...
@@ -497,7 +498,7 @@ dump_flow_info (file)
reg_class_names
[(
int
)
altclass
]);
reg_class_names
[(
int
)
altclass
]);
}
}
if
(
REG_POINTER
(
regno_reg_rtx
[
i
]))
if
(
regno_reg_rtx
[
i
]
!=
NULL
&&
REG_POINTER
(
regno_reg_rtx
[
i
]))
fprintf
(
file
,
"; pointer"
);
fprintf
(
file
,
"; pointer"
);
fprintf
(
file
,
".
\n
"
);
fprintf
(
file
,
".
\n
"
);
}
}
...
...
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