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
fd89bc3f
Commit
fd89bc3f
authored
Sep 05, 2006
by
Eric Botcazou
Committed by
Eric Botcazou
Sep 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20060905-1.c: New test.
* gcc.c-torture/execute/20060905-1.c: New test. From-SVN: r116692
parent
6b887797
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
0 deletions
+39
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.c-torture/execute/20060905-1.c
+35
-0
No files found.
gcc/testsuite/ChangeLog
View file @
fd89bc3f
2006
-
09
-
05
Eric
Botcazou
<
ebotcazou
@libertysurf
.
fr
>
*
gcc
.
c
-
torture
/
execute
/
20060905
-
1
.
c
:
New
test
.
2006
-
09
-
05
Paul
Thomas
<
pault
@gcc
.
gnu
.
org
>
PR
fortran
/
28908
gcc/testsuite/gcc.c-torture/execute/20060905-1.c
0 → 100644
View file @
fd89bc3f
/* PR rtl-optimization/28386 */
/* Origin: Volker Reichelt <reichelt@gcc.gnu.org> */
extern
void
abort
(
void
);
volatile
char
s
[
256
][
3
];
char
g
;
static
void
dummy
(
char
a
)
{
g
=
a
;
}
static
int
foo
(
void
)
{
int
i
,
j
=
0
;
for
(
i
=
0
;
i
<
256
;
i
++
)
if
(
i
>=
128
&&
i
<
256
)
{
dummy
(
s
[
i
-
128
][
0
]);
++
j
;
}
return
j
;
}
int
main
(
void
)
{
if
(
foo
()
!=
128
)
abort
();
return
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