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
d799cfa6
Commit
d799cfa6
authored
Apr 03, 2000
by
Geoffrey Keating
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* execute/20000402-1.c: New test.
From-SVN: r32889
parent
8fa29a9c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
1 deletions
+42
-1
gcc/testsuite/gcc.c-torture/ChangeLog
+9
-1
gcc/testsuite/gcc.c-torture/execute/20000402-1.c
+33
-0
No files found.
gcc/testsuite/gcc.c-torture/ChangeLog
View file @
d799cfa6
2000-04-03 Geoff Keating <geoffk@cygnus.com>
* execute/20000402-1.c: New test.
Mon Apr 3 14:10:34 2000 Donald Lindsay <dlindsay@cygnus.com>
* execute/va-arg-{15,16,17,18,19}.c: New test.
* execute/va-arg-15.c: New test.
* execute/va-arg-16.c: New test.
* execute/va-arg-17.c: New test.
* execute/va-arg-18.c: New test.
* execute/va-arg-19.c: New test.
2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
...
...
gcc/testsuite/gcc.c-torture/execute/20000402-1.c
0 → 100644
View file @
d799cfa6
#include <limits.h>
#if ULONG_LONG_MAX != 18446744073709551615ull && ULONG_MAX != 18446744073709551615ull
int
main
(
void
)
{
exit
(
0
);
}
#else
#if ULONG_MAX != 18446744073709551615ull
typedef
unsigned
long
long
ull
;
#else
typedef
unsigned
long
ull
;
#endif
#include <stdio.h>
void
checkit
(
int
);
main
()
{
const
ull
a
=
0x1400000000ULL
;
const
ull
b
=
0x80000000ULL
;
const
ull
c
=
a
/
b
;
const
ull
d
=
0x1400000000ULL
/
0x80000000ULL
;
checkit
((
int
)
c
);
checkit
((
int
)
d
);
exit
(
0
);
}
void
checkit
(
int
a
)
{
if
(
a
!=
40
)
abort
();
}
#endif
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