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
a1660bad
Commit
a1660bad
authored
Jan 27, 1999
by
Michael Meissner
Committed by
Michael Meissner
Jan 27, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new test
From-SVN: r24886
parent
d5a06ad9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
0 deletions
+35
-0
gcc/testsuite/gcc.c-torture/ChangeLog
+4
-0
gcc/testsuite/gcc.c-torture/execute/990127-1.c
+31
-0
No files found.
gcc/testsuite/gcc.c-torture/ChangeLog
View file @
a1660bad
1999-01-27 Michael Meissner <meissner@cygnus.com>
* execute/990127-1.c: New test.
1998-12-14 Nick Clifton <nickc@cygnus.com>
1998-12-14 Nick Clifton <nickc@cygnus.com>
* execute/920501-4.c (main): Fix typo: replace | with ||.
* execute/920501-4.c (main): Fix typo: replace | with ||.
...
...
gcc/testsuite/gcc.c-torture/execute/990127-1.c
0 → 100644
View file @
a1660bad
main
()
{
int
a
,
b
,
c
;
int
*
pa
,
*
pb
,
*
pc
;
int
**
ppa
,
**
ppb
,
**
ppc
;
int
i
,
j
,
k
,
x
,
y
,
z
;
a
=
10
;
b
=
20
;
c
=
30
;
pa
=
&
a
;
pb
=
&
b
;
pc
=
&
c
;
ppa
=
&
pa
;
ppb
=
&
pb
;
ppc
=
&
pc
;
x
=
0
;
y
=
0
;
z
=
0
;
for
(
i
=
0
;
i
<
10
;
i
++
){
if
(
pa
==
&
a
)
pa
=
&
b
;
else
pa
=
&
a
;
while
(
(
*
pa
)
--
){
x
++
;
if
(
(
*
pa
)
<
3
)
break
;
else
pa
=
&
b
;
}
x
++
;
pa
=
&
b
;
}
if
((
*
pa
)
!=
-
5
||
(
*
pb
)
!=
-
5
||
x
!=
43
)
abort
();
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