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
da621fd2
Commit
da621fd2
authored
Jun 28, 1999
by
Jeffrey A Law
Committed by
Jeff Law
Jun 28, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.c-torture/execute/990628-1.c: New test.
From-SVN: r27812
parent
eca5590f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.c-torture/execute/990628-1.c
+30
-0
No files found.
gcc/testsuite/ChangeLog
View file @
da621fd2
Mon Jun 28 08:20:51 1999 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/990628-1.c: New test.
Fri Jun 25 05:28:40 1999 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/990625-2.c: New test.
...
...
gcc/testsuite/gcc.c-torture/execute/990628-1.c
0 → 100644
View file @
da621fd2
#define TP_BSIZE 64
char
buf
[
2
*
TP_BSIZE
];
char
(
*
nextblock
)[
TP_BSIZE
]
=
(
char
(
*
)[
TP_BSIZE
])
buf
;
union
u_test
{
char
dummy
[
TP_BSIZE
];
struct
s_test
{
int
a
;
int
b
;
int
c
;
}
s_test
;
};
main
(
int
argc
,
char
**
argv
)
{
int
i
;
char
dp
[
TP_BSIZE
];
for
(
i
=
0
;
i
<
2
*
TP_BSIZE
;
i
++
)
buf
[
i
]
=
'.'
;
for
(
i
=
0
;
i
<
TP_BSIZE
;
i
++
)
dp
[
i
]
=
'a'
;
*
(
union
u_test
*
)(
*
(
nextblock
)
++
)
=
*
(
union
u_test
*
)
dp
;
for
(
i
=
0
;
i
<
2
*
TP_BSIZE
;
i
++
)
printf
(
"%c%s"
,
buf
[
i
],
(
i
%
64
)
==
63
?
"
\n
"
:
""
);
exit
(
0
);
}
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