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
1ef7d32b
Commit
1ef7d32b
authored
Jun 30, 2002
by
Kaveh R. Ghazi
Committed by
Kaveh Ghazi
Jun 30, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gengtype.c (oprintf): Move VA_CLOSE after all fixedarg uses.
From-SVN: r55119
parent
76147cce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/gengtype.c
+1
-1
No files found.
gcc/ChangeLog
View file @
1ef7d32b
2002-06-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gengtype.c (oprintf): Move VA_CLOSE after all fixedarg uses.
2002-06-30 Alan Modra <amodra@bigpond.net.au>
2002-06-30 Alan Modra <amodra@bigpond.net.au>
* unroll.c (loop_iterations): Handle EQ loops.
* unroll.c (loop_iterations): Handle EQ loops.
...
...
gcc/gengtype.c
View file @
1ef7d32b
...
@@ -586,7 +586,6 @@ oprintf VPARAMS ((outf_p o, const char *format, ...))
...
@@ -586,7 +586,6 @@ oprintf VPARAMS ((outf_p o, const char *format, ...))
VA_FIXEDARG
(
ap
,
outf_p
,
o
);
VA_FIXEDARG
(
ap
,
outf_p
,
o
);
VA_FIXEDARG
(
ap
,
const
char
*
,
format
);
VA_FIXEDARG
(
ap
,
const
char
*
,
format
);
slength
=
xvasprintf
(
&
s
,
format
,
ap
);
slength
=
xvasprintf
(
&
s
,
format
,
ap
);
VA_CLOSE
(
ap
);
if
(
o
->
bufused
+
slength
>
o
->
buflength
)
if
(
o
->
bufused
+
slength
>
o
->
buflength
)
{
{
...
@@ -602,6 +601,7 @@ oprintf VPARAMS ((outf_p o, const char *format, ...))
...
@@ -602,6 +601,7 @@ oprintf VPARAMS ((outf_p o, const char *format, ...))
memcpy
(
o
->
buf
+
o
->
bufused
,
s
,
slength
);
memcpy
(
o
->
buf
+
o
->
bufused
,
s
,
slength
);
o
->
bufused
+=
slength
;
o
->
bufused
+=
slength
;
free
(
s
);
free
(
s
);
VA_CLOSE
(
ap
);
}
}
/* Open the global header file and the language-specific header files. */
/* Open the global header file and the language-specific header files. */
...
...
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