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
bbc7fda9
Commit
bbc7fda9
authored
Jan 11, 2001
by
Alan Lehotsky
Committed by
Alan Lehotsky
Jan 11, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r38929
parent
a4299d07
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
+11
-1
gcc/ChangeLog
+5
-0
gcc/builtins.c
+6
-1
No files found.
gcc/ChangeLog
View file @
bbc7fda9
2001-01-11 Alan Lehotsky <lehotsky@tiac.net>
* builtins.c (std_expand_builtin_va_start): Handle varargs when
sizeof (int) is larger than sizeof(__word__).
2001-01-11 Neil Booth <neil@daikokuya.demon.co.uk>
* cppinit.c (do_includes): Fix typo.
...
...
gcc/builtins.c
View file @
bbc7fda9
...
...
@@ -2801,8 +2801,13 @@ std_expand_builtin_va_start (stdarg_p, valist, nextarg)
if
(
!
stdarg_p
)
{
/* The dummy named parameter is declared as a 'word' sized
object, but if a 'word' is smaller than an 'int', it would
have been promoted to int when it was added to the arglist. */
int
align
=
PARM_BOUNDARY
/
BITS_PER_UNIT
;
int
offset
=
(((
UNITS_PER_WORD
+
align
-
1
)
/
align
)
*
align
);
int
size
=
MAX
(
UNITS_PER_WORD
,
GET_MODE_SIZE
(
TYPE_MODE
(
integer_type_node
)));
int
offset
=
((
size
+
align
-
1
)
/
align
)
*
align
;
nextarg
=
plus_constant
(
nextarg
,
-
offset
);
}
...
...
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