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
3f46679a
Commit
3f46679a
authored
Aug 19, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(assign_parms): If parm is transparent union, use type of first field.
From-SVN: r7948
parent
ec83f2b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
gcc/function.c
+7
-0
No files found.
gcc/function.c
View file @
3f46679a
...
@@ -3150,6 +3150,13 @@ assign_parms (fndecl, second_time)
...
@@ -3150,6 +3150,13 @@ assign_parms (fndecl, second_time)
continue
;
continue
;
}
}
/* If the parm is to be passed as a transparent union, use the
type of the first field for the tests below. We have already
verified that the modes are the same. */
if
(
DECL_TRANSPARENT_UNION
(
parm
)
||
TYPE_TRANSPARENT_UNION
(
passed_type
))
passed_type
=
TREE_TYPE
(
TYPE_FIELDS
(
passed_type
));
/* See if this arg was passed by invisible reference. It is if
/* See if this arg was passed by invisible reference. It is if
it is an object whose size depends on the contents of the
it is an object whose size depends on the contents of the
object itself or if the machine requires these objects be passed
object itself or if the machine requires these objects be passed
...
...
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