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
76c30596
Commit
76c30596
authored
Sep 22, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(INIT_CUMULATIVE_ARGS): Pass just the return value type to aggregate_value_p.
From-SVN: r5385
parent
3d0a83e8
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
7 deletions
+8
-7
gcc/config/arm/arm.h
+1
-1
gcc/config/clipper/clipper.h
+1
-1
gcc/config/i386/i386.h
+1
-1
gcc/config/i386/isc.h
+1
-1
gcc/config/i860/i860.h
+1
-1
gcc/config/pyr/pyr.h
+2
-1
gcc/config/spur/spur.h
+1
-1
No files found.
gcc/config/arm/arm.h
View file @
76c30596
...
...
@@ -462,7 +462,7 @@ enum reg_class
For a library call, FNTYPE is 0.
On the ARM, the offset starts at 0. */
#define INIT_CUMULATIVE_ARGS(CUM, FNTYPE, LIBNAME) \
((CUM) = (((FNTYPE) && aggregate_value_p (
FNTYPE
)) ? 4 : 0))
((CUM) = (((FNTYPE) && aggregate_value_p (
TREE_TYPE ((FNTYPE)
)) ? 4 : 0))
/* Update the data in CUM to advance over an argument
of mode MODE and data type TYPE.
...
...
gcc/config/clipper/clipper.h
View file @
76c30596
...
...
@@ -468,7 +468,7 @@ struct _clipper_cum_args { int num; int size; };
clipper passes the address of a struct in r0, set num = 1 in this case */
#define INIT_CUMULATIVE_ARGS(CUM,FNTYPE,LIBNAME) \
((CUM).num = ((FNTYPE) != 0 && aggregate_value_p (
FNTYPE
)), \
((CUM).num = ((FNTYPE) != 0 && aggregate_value_p (
TREE_TYPE (FNTYPE)
)), \
(CUM).size = 0)
/* internal helper : size of an argument */
...
...
gcc/config/i386/i386.h
View file @
76c30596
...
...
@@ -612,7 +612,7 @@ extern enum reg_class regclass_map[FIRST_PSEUDO_REGISTER];
&& (TYPE_ARG_TYPES (FUNTYPE) == 0 \
|| (TREE_VALUE (tree_last (TYPE_ARG_TYPES (FUNTYPE))) \
== void_type_node))) ? (SIZE) \
: (aggregate_value_p (
FUNTYPE
)) ? GET_MODE_SIZE (Pmode) : 0)
: (aggregate_value_p (
TREE_TYPE (FUNTYPE)
)) ? GET_MODE_SIZE (Pmode) : 0)
/* Define how to find the value returned by a function.
VALTYPE is the data type of the value (as a tree).
...
...
gcc/config/i386/isc.h
View file @
76c30596
...
...
@@ -39,7 +39,7 @@
== void_type_node))) ? (SIZE) \
: 0)
/* On other 386 systems, the last line looks like this:
: (aggregate_value_p (
FUNTYPE
)) ? GET_MODE_SIZE (Pmode) : 0) */
: (aggregate_value_p (
TREE_TYPE (FUNTYPE)
)) ? GET_MODE_SIZE (Pmode) : 0) */
#endif
/* Handle #pragma pack and #pragma weak. */
...
...
gcc/config/i860/i860.h
View file @
76c30596
...
...
@@ -474,7 +474,7 @@ struct cumulative_args { int ints, floats; };
invisible first argument. */
#define INIT_CUMULATIVE_ARGS(CUM,FNTYPE,LIBNAME) \
((CUM).ints = ((FNTYPE) != 0 && aggregate_value_p (
(FNTYPE
)) \
((CUM).ints = ((FNTYPE) != 0 && aggregate_value_p (
TREE_TYPE ((FNTYPE)
)) \
? 4 : 0), \
(CUM).floats = 0)
...
...
gcc/config/pyr/pyr.h
View file @
76c30596
...
...
@@ -628,7 +628,8 @@ extern int inner_param_safe_helper();
For a library call, FNTYPE is 0. */
#define INIT_CUMULATIVE_ARGS(CUM,FNTYPE,LIBNAME) \
((CUM) = (FNTYPE && !flag_pcc_struct_return && aggregate_value_p (FNTYPE)))
((CUM) = (FNTYPE && !flag_pcc_struct_return \
&& aggregate_value_p (TREE_TYPE (FNTYPE))))
/* Determine where to put an argument to a function.
Value is zero to push the argument on the stack,
...
...
gcc/config/spur/spur.h
View file @
76c30596
...
...
@@ -414,7 +414,7 @@ enum reg_class { NO_REGS, GENERAL_REGS, FP_REGS, ALL_REGS, LIM_REG_CLASSES };
invisible first argument. */
#define INIT_CUMULATIVE_ARGS(CUM,FNTYPE,LIBNAME) \
((CUM) = ((FNTYPE) != 0 && aggregate_value_p (
(FNTYPE
))))
((CUM) = ((FNTYPE) != 0 && aggregate_value_p (
TREE_TYPE ((FNTYPE)
))))
/* Update the data in CUM to advance over an argument
of mode MODE and data type 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