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
ca2d2f1e
Commit
ca2d2f1e
authored
Mar 07, 1992
by
Tom Wood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r414
parent
6ab6f071
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
gcc/genattrtab.c
+20
-0
No files found.
gcc/genattrtab.c
View file @
ca2d2f1e
...
@@ -522,6 +522,8 @@ attr_rtx (va_alist)
...
@@ -522,6 +522,8 @@ attr_rtx (va_alist)
rtx attr_printf (len, format, [arg1, ..., argn]) */
rtx attr_printf (len, format, [arg1, ..., argn]) */
#ifdef HAVE_VPRINTF
/*VARARGS2*/
/*VARARGS2*/
static
char
*
static
char
*
attr_printf
(
va_alist
)
attr_printf
(
va_alist
)
...
@@ -543,6 +545,24 @@ attr_printf (va_alist)
...
@@ -543,6 +545,24 @@ attr_printf (va_alist)
return
attr_string
(
str
,
strlen
(
str
));
return
attr_string
(
str
,
strlen
(
str
));
}
}
#else
/* not HAVE_VPRINTF */
static
char
*
attr_printf
(
len
,
fmt
,
arg1
,
arg2
,
arg3
)
int
len
;
char
*
fmt
;
char
*
arg1
,
*
arg2
,
*
arg3
;
/* also int */
{
register
char
*
str
;
/* Print the string into a temporary location. */
str
=
(
char
*
)
alloca
(
len
);
sprintf
(
str
,
fmt
,
arg1
,
arg2
,
arg3
);
return
attr_string
(
str
,
strlen
(
str
));
}
#endif
/* not HAVE_VPRINTF */
/* Return a permanent (possibly shared) copy of a string STR (not assumed
/* Return a permanent (possibly shared) copy of a string STR (not assumed
to be null terminated) with LEN bytes. */
to be null terminated) with LEN bytes. */
...
...
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