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
ed856f4c
Commit
ed856f4c
authored
Apr 25, 1999
by
Richard Henderson
Committed by
Richard Henderson
Apr 25, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/990424-1.c: New test.
From-SVN: r26622
parent
10195bd8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/990424-1.c
+26
-0
No files found.
gcc/testsuite/ChangeLog
View file @
ed856f4c
Sun Apr 25 12:28:59 1999 Richard Henderson <rth@cygnus.com>
* gcc.dg/990424-1.c: New test.
1999-04-24 Craig Burley <craig@jcb-sc.com>
* g77.f-torture/execute/u77-test.f (main): Bug involving
...
...
gcc/testsuite/gcc.dg/990424-1.c
0 → 100644
View file @
ed856f4c
/* Test that stack alignment is preserved with pending_stack_adjust
with stdcall functions. */
/* { dg-do run { target i?86-*-* } } */
/* { dg-options -mpreferred-stack-boundary=4 } */
void
__attribute__
((
stdcall
))
foo
(
int
a
,
int
b
,
int
c
);
int
main
()
{
foo
(
1
,
2
,
3
);
foo
(
1
,
2
,
3
);
exit
(
0
);
}
void
__attribute__
((
stdcall
))
foo
(
int
a
,
int
b
,
int
c
)
{
static
int
last_align
=
-
1
;
int
dummy
,
align
=
(
int
)
&
dummy
&
15
;
if
(
last_align
<
0
)
last_align
=
align
;
else
if
(
align
!=
last_align
)
abort
();
}
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