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
546be87e
Commit
546be87e
authored
Oct 01, 1999
by
Mark Mitchell
Committed by
Mark Mitchell
Oct 01, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* iris6.h (BUILD_VA_LIST_TYPE): Define.
From-SVN: r29751
parent
c328b1d7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
gcc/ChangeLog
+4
-0
gcc/config/mips/iris6.h
+6
-0
gcc/testsuite/g++.old-deja/g++.other/vaarg1.C
+14
-0
No files found.
gcc/ChangeLog
View file @
546be87e
Thu
Sep
30
23
:
04
:
41
1999
Mark
P
.
Mitchell
<
mark
@codesourcery
.
com
>
*
iris6
.
h
(
BUILD_VA_LIST_TYPE
)
:
Define
.
Thu
Sep
30
18
:
44
:
50
1999
Franz
Sirl
<
Franz
.
Sirl
-
kernel
@lauterbach
.
com
>
*
rs6000
.
c
(
rs6000_build_va_list
)
:
Create
a
TYPE_DECL
node
...
...
gcc/config/mips/iris6.h
View file @
546be87e
...
...
@@ -438,6 +438,12 @@ do \
} \
while (0)
/* Define the `__builtin_va_list' type for the ABI. On Irix6, this
type is `char *'. */
#undef BUILD_VA_LIST_TYPE
#define BUILD_VA_LIST_TYPE(VALIST) \
(VALIST) = build_pointer_type (char_type_node)
/* Output the size directive for a decl in rest_of_decl_compilation
in the case where we did not do so before the initializer.
Once we find the error_mark_node, we know that the value of
...
...
gcc/testsuite/g++.old-deja/g++.other/vaarg1.C
0 → 100644
View file @
546be87e
// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>
#include <stdarg.h>
#include <stdio.h>
void
f
(
int
i
,
...)
{
va_list
ap
;
va_start
(
ap
,
i
);
vprintf
(
"test"
,
ap
);
va_end
(
ap
);
}
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