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
37cd4bca
Commit
37cd4bca
authored
Nov 17, 2003
by
Nick Clifton
Committed by
Nick Clifton
Nov 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace use of poisoned BUILD_VA_LIST_TYPE macro with a target function.
From-SVN: r73666
parent
6a7ee0d6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
8 deletions
+14
-8
gcc/ChangeLog
+9
-0
gcc/config/stormy16/stormy16-protos.h
+0
-1
gcc/config/stormy16/stormy16.c
+5
-2
gcc/config/stormy16/stormy16.h
+0
-5
No files found.
gcc/ChangeLog
View file @
37cd4bca
2003-11-16 Nick Clifton <nickc@redhat.com>
* config/stormy16/stormy16.h (BUILD_VA_LIST_TYPE): Delete.
* config/stormy16/stormy16-protos.h (xstormy16_build_va_list):
Remove prototype.
* config/stormy16/stormy16.c (xstormy16_build_va_list): Rename
to xstormy16_build_builtin_va_list and make static.
(TARGET_BUILD_BUILTIN_VA_LIST): Define.
2003-11-16 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300-protos.h: Add the prototype for
...
...
gcc/config/stormy16/stormy16-protos.h
View file @
37cd4bca
...
...
@@ -39,7 +39,6 @@ extern rtx xstormy16_function_arg
# endif
extern
void
xstormy16_setup_incoming_varargs
(
CUMULATIVE_ARGS
,
int
,
tree
,
int
*
);
extern
tree
xstormy16_build_va_list
(
void
);
#endif
#if defined (TREE_CODE) && defined (RTX_CODE)
...
...
gcc/config/stormy16/stormy16.c
View file @
37cd4bca
...
...
@@ -1251,8 +1251,8 @@ xstormy16_setup_incoming_varargs (CUMULATIVE_ARGS cum ATTRIBUTE_UNUSED,
for arguments that have not been passed in registers.
To keep the layout nice, the pointer is first in the structure. */
tree
xstormy16_build_va_list
(
void
)
static
tree
xstormy16_build_
builtin_
va_list
(
void
)
{
tree
f_1
,
f_2
,
record
,
type_decl
;
...
...
@@ -2211,4 +2211,7 @@ xstormy16_expand_builtin(tree exp, rtx target,
#undef TARGET_ADDRESS_COST
#define TARGET_ADDRESS_COST xstormy16_address_cost
#undef TARGET_BUILD_BUILTIN_VA_LIST_TYPE
#define TARGET_BUILD_BUILTIN_VA_LIST_TYPE xstormy16_build_builtin_va_list
struct
gcc_target
targetm
=
TARGET_INITIALIZER
;
gcc/config/stormy16/stormy16.h
View file @
37cd4bca
...
...
@@ -496,11 +496,6 @@ enum reg_class
if (! SECOND_TIME) \
xstormy16_setup_incoming_varargs (ARGS_SO_FAR, MODE, TYPE, & PRETEND_ARGS_SIZE)
/* Build up the stdarg/varargs va_list type tree, assigning it to NODE. If not
defined, it is assumed that va_list is a void * pointer. */
#define BUILD_VA_LIST_TYPE(NODE) \
((NODE) = xstormy16_build_va_list ())
/* Implement the stdarg/varargs va_start macro. STDARG_P is nonzero if this
is stdarg.h instead of varargs.h. VALIST is the tree of the va_list
variable to initialize. NEXTARG is the machine independent notion of the
...
...
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