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
bcd4420d
Commit
bcd4420d
authored
32 years ago
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(print_rtx): Use sizeof spaces - 1 to get the length of the spaces string.
From-SVN: r2733
parent
6fdb556e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/print-rtl.c
+3
-3
No files found.
gcc/print-rtl.c
View file @
bcd4420d
...
...
@@ -64,7 +64,7 @@ print_rtx (in_rtx)
if
(
sawclose
)
{
fprintf
(
outfile
,
"
\n
%s"
,
(
spaces
+
(
sizeof
spaces
-
indent
*
2
)));
(
spaces
+
(
sizeof
spaces
-
1
-
indent
*
2
)));
sawclose
=
0
;
}
...
...
@@ -132,7 +132,7 @@ print_rtx (in_rtx)
if
(
sawclose
)
{
fprintf
(
outfile
,
"
\n
%s"
,
(
spaces
+
(
sizeof
spaces
-
indent
*
2
)));
(
spaces
+
(
sizeof
spaces
-
1
-
indent
*
2
)));
sawclose
=
0
;
}
fprintf
(
outfile
,
"[ "
);
...
...
@@ -149,7 +149,7 @@ print_rtx (in_rtx)
}
if
(
sawclose
)
fprintf
(
outfile
,
"
\n
%s"
,
(
spaces
+
(
sizeof
spaces
-
indent
*
2
)));
(
spaces
+
(
sizeof
spaces
-
1
-
indent
*
2
)));
fprintf
(
outfile
,
"] "
);
sawclose
=
1
;
...
...
This diff is collapsed.
Click to expand it.
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