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
b415f25e
Commit
b415f25e
authored
Aug 15, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(rescan, do_ident): Pass more accurate size request to check_expand.
From-SVN: r7933
parent
115ee359
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/cccp.c
+4
-4
No files found.
gcc/cccp.c
View file @
b415f25e
...
...
@@ -2811,7 +2811,7 @@ do { ip = &instack[indepth]; \
if
(
lintcmd
!=
NULL
)
{
op
->
bufp
=
obp
;
check_expand
(
op
,
13
+
cmdlen
);
check_expand
(
op
,
cmdlen
+
arglen
+
14
);
obp
=
op
->
bufp
;
/* I believe it is always safe to emit this newline: */
obp
[
-
1
]
=
'\n'
;
...
...
@@ -2831,7 +2831,7 @@ do { ip = &instack[indepth]; \
messes up the line count. */
op
->
bufp
=
obp
;
output_line_command
(
ip
,
op
,
0
,
same_file
);
check_expand
(
op
,
ip
->
length
-
(
ip
->
bufp
-
ip
->
buf
)
);
check_expand
(
op
,
limit
-
ibp
+
2
);
obp
=
op
->
bufp
;
*
(
obp
++
)
=
'/'
;
}
...
...
@@ -3013,7 +3013,7 @@ do { ip = &instack[indepth]; \
if
(
ip
->
lineno
!=
op
->
lineno
)
{
op
->
bufp
=
obp
;
output_line_command
(
ip
,
op
,
1
,
same_file
);
check_expand
(
op
,
ip
->
length
-
(
ip
->
bufp
-
ip
->
buf
)
);
check_expand
(
op
,
limit
-
ibp
);
obp
=
op
->
bufp
;
}
break
;
...
...
@@ -6585,7 +6585,7 @@ do_ident (buf, limit)
free
(
trybuf
.
buf
);
/* Output directive name. */
check_expand
(
op
,
8
);
check_expand
(
op
,
7
);
bcopy
(
"#ident "
,
(
char
*
)
op
->
bufp
,
7
);
op
->
bufp
+=
7
;
...
...
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