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
50cb1e20
Commit
50cb1e20
authored
Mar 07, 2002
by
Richard Earnshaw
Committed by
Richard Earnshaw
Mar 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.c-torture/execute/20020307-1.c: New test.
From-SVN: r50399
parent
da4ea899
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
73 additions
and
0 deletions
+73
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.c-torture/execute/20020307-1.c
+69
-0
No files found.
gcc/testsuite/ChangeLog
View file @
50cb1e20
2002-03-07 Richard Earnshaw <rearnsha@arm.com>
* gcc.c-torture/execute/20020307-1.c: New test.
2002-03-05 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20020304-1.c: New test.
...
...
gcc/testsuite/gcc.c-torture/execute/20020307-1.c
0 → 100644
View file @
50cb1e20
#define MASK(N) ((int)((1U << (N)) - 1))
#define BITS(N) ((1 << ((N) - 1)) + 2)
#define FUNC(N) void f##N(int j) { if ((j & MASK(N)) >= BITS(N)) abort();}
FUNC
(
3
)
FUNC
(
4
)
FUNC
(
5
)
FUNC
(
6
)
FUNC
(
7
)
FUNC
(
8
)
FUNC
(
9
)
FUNC
(
10
)
FUNC
(
11
)
FUNC
(
12
)
FUNC
(
13
)
FUNC
(
14
)
FUNC
(
15
)
FUNC
(
16
)
FUNC
(
17
)
FUNC
(
18
)
FUNC
(
19
)
FUNC
(
20
)
FUNC
(
21
)
FUNC
(
22
)
FUNC
(
23
)
FUNC
(
24
)
FUNC
(
25
)
FUNC
(
26
)
FUNC
(
27
)
FUNC
(
28
)
FUNC
(
29
)
FUNC
(
30
)
FUNC
(
31
)
int
main
()
{
f3
(
0
);
f4
(
0
);
f5
(
0
);
f6
(
0
);
f7
(
0
);
f8
(
0
);
f9
(
0
);
f10
(
0
);
f11
(
0
);
f12
(
0
);
f13
(
0
);
f14
(
0
);
f15
(
0
);
f16
(
0
);
f17
(
0
);
f18
(
0
);
f19
(
0
);
f20
(
0
);
f21
(
0
);
f22
(
0
);
f23
(
0
);
f24
(
0
);
f25
(
0
);
f26
(
0
);
f27
(
0
);
f28
(
0
);
f29
(
0
);
f30
(
0
);
f31
(
0
);
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