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
0c00d5f3
Commit
0c00d5f3
authored
Nov 27, 2004
by
Falk Hueffner
Committed by
Eric Botcazou
Nov 27, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/loop-6.c: New test.
From-SVN: r91378
parent
2fd13506
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
0 deletions
+29
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/loop-6.c
+25
-0
No files found.
gcc/testsuite/ChangeLog
View file @
0c00d5f3
2004
-
11
-
27
Falk
Hueffner
<
falk
@debian
.
org
>
*
gcc
.
dg
/
loop
-
6
.
c
:
New
test
.
2004
-
11
-
27
Jakub
Jelinek
<
jakub
@redhat
.
com
>
*
gcc
.
c
-
torture
/
execute
/
20041126
-
1
.
c
:
New
test
.
...
...
gcc/testsuite/gcc.dg/loop-6.c
0 → 100644
View file @
0c00d5f3
/* PR optimization/18577 */
/* Origin: Falk Hueffner <falk@debian.org> */
/* { dg-do run } */
/* { dg-options "-O2 -funroll-all-loops" } */
static
float
tfcos12
[
3
];
__attribute__
((
noinline
))
double
f
(
double
x
)
{
return
x
;
}
int
g
;
int
main
(
void
)
{
int
i
,
j
;
for
(
i
=
0
;
i
<
1
;
i
++
)
tfcos12
[
i
]
=
0
.
5
;
for
(
i
=
0
;
i
<
1
;
i
++
)
{
tfcos12
[
i
]
=
0
.
5
*
f
(
i
);
for
(
j
=
0
;
j
<
12
;
j
++
)
g
++
;
}
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