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
41109364
Commit
41109364
authored
Feb 10, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use PROTO for varargs functions.
(VPROTO): New macro. From-SVN: r6519
parent
ba63ed56
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
21 deletions
+17
-21
gcc/rtl.h
+9
-10
gcc/tree.h
+8
-11
No files found.
gcc/rtl.h
View file @
41109364
...
...
@@ -151,6 +151,14 @@ typedef struct rtx_def
#endif
#endif
#ifdef __STDC__
#define VPROTO(ARGS) ARGS
#define VA_START(va_list,var) va_start(va_list,var)
#else
#define VPROTO(ARGS) (va_alist) va_dcl
#define VA_START(va_list,var) va_start(va_list)
#endif
#define NULL_RTX (rtx) 0
/* Define a generic NULL if one hasn't already been defined. */
...
...
@@ -643,20 +651,11 @@ extern rtx plus_constant_for_output_wide PROTO((rtx, HOST_WIDE_INT));
#define GEN_INT(N) gen_rtx (CONST_INT, VOIDmode, (HOST_WIDE_INT) (N))
#if 0
/* We cannot define prototypes for the variable argument functions,
since they have not been ANSI-fied, and an ANSI compiler would
complain when compiling the definition of these functions. */
extern
rtx
bc_gen_rtx
();
extern
rtx
gen_rtx
PROTO
((
enum
rtx_code
,
enum
machine_mode
,
...));
extern
rtvec
gen_rtvec
PROTO
((
int
,
...));
#else
extern
rtx
bc_gen_rtx
();
extern
rtx
gen_rtx
();
extern
rtvec
gen_rtvec
();
#endif
#ifdef BUFSIZ
/* stdio.h has been included */
extern
rtx
read_rtx
PROTO
((
FILE
*
));
#else
...
...
gcc/tree.h
View file @
41109364
/* Front-end tree definitions for GNU compiler.
Copyright (C) 1989, 1993 Free Software Foundation, Inc.
Copyright (C) 1989, 1993
, 1994
Free Software Foundation, Inc.
This file is part of GNU CC.
...
...
@@ -987,6 +987,13 @@ union tree_node
#endif
#endif
#ifdef __STDC__
#define VPROTO(ARGS) ARGS
#define VA_START(va_list,var) va_start(va_list,var)
#else
#define VPROTO(ARGS) (va_alist) va_dcl
#define VA_START(va_list,var) va_start(va_list)
#endif
#define NULL_TREE (tree) NULL
...
...
@@ -1063,19 +1070,9 @@ extern tree get_identifier PROTO((char *));
#define build_int_2(LO,HI) \
build_int_2_wide ((HOST_WIDE_INT) (LO), (HOST_WIDE_INT) (HI))
#if 0
/* We cannot define prototypes for the variable argument functions,
since they have not been ANSI-fied, and an ANSI compiler would
complain when compiling the definition of these functions. */
extern
tree
build
PROTO
((
enum
tree_code
,
tree
,
...));
extern
tree
build_nt
PROTO
((
enum
tree_code
,
...));
extern
tree
build_parse_node
PROTO
((
enum
tree_code
,
...));
#else
extern
tree
build
();
extern
tree
build_nt
();
extern
tree
build_parse_node
();
#endif
extern
tree
build_int_2_wide
PROTO
((
HOST_WIDE_INT
,
HOST_WIDE_INT
));
extern
tree
build_real
PROTO
((
tree
,
REAL_VALUE_TYPE
));
...
...
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