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
d3878e49
Commit
d3878e49
authored
Oct 01, 1997
by
Thomas Koenig
Committed by
Jeff Law
Oct 01, 1997
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
From-SVN: r15817
parent
135d84b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
gcc/ChangeLog
+3
-1
gcc/cccp.c
+5
-0
No files found.
gcc/ChangeLog
View file @
d3878e49
...
@@ -4,7 +4,9 @@ Tue Sep 30 23:48:57 1997 Jeffrey A Law (law@cygnus.com)
...
@@ -4,7 +4,9 @@ Tue Sep 30 23:48:57 1997 Jeffrey A Law (law@cygnus.com)
Tue Sep 30 23:09:40 1997 Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
Tue Sep 30 23:09:40 1997 Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
* haifa-sched.c: (get_block_head_tail) Remove unneeded initialization.
* cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
* haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
Tue Sep 30 23:06:43 1997 Richard Henderson <rth@cygnus.com>
Tue Sep 30 23:06:43 1997 Richard Henderson <rth@cygnus.com>
...
...
gcc/cccp.c
View file @
d3878e49
...
@@ -3549,9 +3549,14 @@ expand_to_temp_buffer (buf, limit, output_marks, assertions)
...
@@ -3549,9 +3549,14 @@ expand_to_temp_buffer (buf, limit, output_marks, assertions)
obuf
.
length
=
length
*
2
+
100
;
/* Usually enough. Why be stingy? */
obuf
.
length
=
length
*
2
+
100
;
/* Usually enough. Why be stingy? */
obuf
.
bufp
=
obuf
.
buf
=
(
U_CHAR
*
)
xmalloc
(
obuf
.
length
);
obuf
.
bufp
=
obuf
.
buf
=
(
U_CHAR
*
)
xmalloc
(
obuf
.
length
);
obuf
.
nominal_fname
=
0
;
obuf
.
inc
=
0
;
obuf
.
dir
=
0
;
obuf
.
fname
=
0
;
obuf
.
fname
=
0
;
obuf
.
macro
=
0
;
obuf
.
macro
=
0
;
obuf
.
if_stack
=
0
;
obuf
.
free_ptr
=
0
;
obuf
.
free_ptr
=
0
;
obuf
.
system_header_p
=
0
;
CHECK_DEPTH
({
return
obuf
;});
CHECK_DEPTH
({
return
obuf
;});
...
...
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