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
dbcce8f8
Commit
dbcce8f8
authored
Oct 19, 1998
by
Jeffrey A Law
Committed by
Jeff Law
Oct 19, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* 981019-1.c: New test.
From-SVN: r23182
parent
2fb5435a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
0 deletions
+48
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.c-torture/execute/981019-1.c
+44
-0
No files found.
gcc/testsuite/ChangeLog
View file @
dbcce8f8
Mon Oct 19 14:03:07 1998 Jeffrey A Law (law@cygnus.com)
* 981019-1.c: New test.
Wed Oct 14 21:11:19 1998 Robert Lipe <robertl@dgii.com>
* lib/objc-torture.exp (objc-torture-execute): Add -I so we can
...
...
gcc/testsuite/gcc.c-torture/execute/981019-1.c
0 → 100644
View file @
dbcce8f8
extern
int
f2
(
void
);
extern
int
f3
(
void
);
extern
void
f1
(
void
);
void
ff
(
int
fname
,
int
part
,
int
nparts
)
{
if
(
fname
)
/* bb 0 */
{
if
(
nparts
)
/* bb 1 */
f1
();
/* bb 2 */
}
else
fname
=
2
;
/* bb 3 */
/* bb 4 is the branch to bb 10
(bb 10 is physically at the end of the loop) */
while
(
f3
()
/* bb 10 */
)
{
if
(
nparts
/* bb 5 */
&&
f2
()
/* bb 6 */
)
{
f1
();
/* bb 7 ... */
nparts
=
part
;
if
(
f3
())
/* ... bb 7 */
f1
();
/* bb 8 */
f1
();
/* bb 9 */
break
;
}
}
if
(
nparts
)
/* bb 11 */
f1
();
/* bb 12 */
return
;
/* bb 13 */
}
int
main
(
void
)
{
ff
(
0
,
1
,
0
);
return
0
;
}
int
f3
(
void
)
{
static
int
x
=
0
;
x
=
!
x
;
return
x
;
}
void
f1
(
void
)
{
abort
();
}
int
f2
(
void
)
{
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