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
9088c6fc
Commit
9088c6fc
authored
Jan 10, 2001
by
Alan Lehotsky
Committed by
Alan Lehotsky
Jan 09, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r38846
parent
c4923b10
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
13 deletions
+25
-13
gcc/testsuite/ChangeLog
+7
-0
gcc/testsuite/gcc.c-torture/execute/920730-1.c
+9
-9
gcc/testsuite/gcc.c-torture/execute/921202-1.c
+9
-4
No files found.
gcc/testsuite/ChangeLog
View file @
9088c6fc
2001-01-09 Alan Lehotsky <lehotsky@tiac.net>
* gcc.c-torture/execute/921202-1.c: Use STACK_SIZE to avoid
problems on small machines.
* gcc.c-torture/execute/920730-1.c: Use values from <limits.h> to
parameterize.
2001-01-09 Jeffrey Oldham <oldham@codesourcery.com>
2001-01-09 Jeffrey Oldham <oldham@codesourcery.com>
* g++.old-deja/g++.ext/instantiate2.C: ERROR line should fail for
* g++.old-deja/g++.ext/instantiate2.C: ERROR line should fail for
...
...
gcc/testsuite/gcc.c-torture/execute/920730-1.c
View file @
9088c6fc
/* 920730-1.c */
/* 920730-1.c */
#include <limits.h>
f1
()
f1
()
{
{
int
b
=
0x80000000
;
int
b
=
INT_MIN
;
return
b
>=
0x80000000
;
return
b
>=
INT_MIN
;
}
}
f2
()
f2
()
{
{
int
b
=
0x8000000
1
;
int
b
=
INT_MIN
+
1
;
return
b
>=
0x80000001
;
return
b
>=
(
unsigned
)(
INT_MAX
+
2
)
;
}
}
f3
()
f3
()
{
{
int
b
=
0x7fffffff
;
int
b
=
INT_MAX
;
return
b
>=
0x7fffffff
;
return
b
>=
INT_MAX
;
}
}
f4
()
f4
()
{
{
int
b
=
0xffffffff
;
int
b
=
-
1
;
return
b
>=
0xffffffff
;
return
b
>=
UINT_MAX
;
}
}
main
()
main
()
...
...
gcc/testsuite/gcc.c-torture/execute/921202-1.c
View file @
9088c6fc
#ifndef STACK_SIZE
#define VLEN 2055
#else
#define VLEN ((STACK_SIZE/16) - 1)
#endif
main
()
main
()
{
{
long
dx
[
2055
];
long
dx
[
VLEN
];
long
dy
[
2055
];
long
dy
[
VLEN
];
long
s1
[
2055
];
long
s1
[
VLEN
];
int
cyx
,
cyy
;
int
cyx
,
cyy
;
int
i
;
int
i
;
long
size
;
long
size
;
for
(;;)
for
(;;)
{
{
size
=
2055
;
size
=
VLEN
;
mpn_random2
(
s1
,
size
);
mpn_random2
(
s1
,
size
);
for
(
i
=
0
;
i
<
1
;
i
++
)
for
(
i
=
0
;
i
<
1
;
i
++
)
...
...
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