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
1453ec8c
Commit
1453ec8c
authored
Mar 11, 2002
by
Kazu Hirata
Committed by
Kazu Hirata
Mar 11, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.c-torture/execute/20020307-1.c: Use long.
From-SVN: r50578
parent
cb9a8e97
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.c-torture/execute/20020307-1.c
+3
-3
No files found.
gcc/testsuite/ChangeLog
View file @
1453ec8c
2002-03-11 Kazu Hirata <kazu@hxi.com>
* gcc.c-torture/execute/20020307-1.c: Use long.
2002-03-11 Jakub Jelinek <jakub@redhat.com>
PR optimization/5844
...
...
gcc/testsuite/gcc.c-torture/execute/20020307-1.c
View file @
1453ec8c
#define MASK(N) ((
int)((1U << (N)) - 1)
)
#define BITS(N) ((1 << ((N) - 1)) + 2)
#define MASK(N) ((
1UL << (N)) - 1
)
#define BITS(N) ((1
UL
<< ((N) - 1)) + 2)
#define FUNC(N) void f##N(
int
j) { if ((j & MASK(N)) >= BITS(N)) abort();}
#define FUNC(N) void f##N(
long
j) { if ((j & MASK(N)) >= BITS(N)) abort();}
FUNC
(
3
)
FUNC
(
4
)
...
...
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