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
96b5a6c7
Commit
96b5a6c7
authored
Jan 09, 2005
by
Zdenek Dvorak
Committed by
Zdenek Dvorak
Jan 09, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/tree-ssa/loop-4.c: Fix outcome.
From-SVN: r93116
parent
a34664c6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/tree-ssa/loop-4.c
+11
-2
No files found.
gcc/testsuite/ChangeLog
View file @
96b5a6c7
2005
-
01
-
09
Zdenek
Dvorak
<
dvorakz
@suse
.
cz
>
*
gcc
.
dg
/
tree
-
ssa
/
loop
-
4
.
c
:
Fix
outcome
.
2005
-
01
-
09
Dorit
Naishlos
<
dorit
@il
.
ibm
.
com
>
2005
-
01
-
09
Dorit
Naishlos
<
dorit
@il
.
ibm
.
com
>
*
gcc
.
dg
/
vect
/
pr18400
.
c
:
Add
checks
for
alignment
prints
.
*
gcc
.
dg
/
vect
/
pr18400
.
c
:
Add
checks
for
alignment
prints
.
...
...
gcc/testsuite/gcc.dg/tree-ssa/loop-4.c
View file @
96b5a6c7
...
@@ -23,9 +23,18 @@ void xxx(void)
...
@@ -23,9 +23,18 @@ void xxx(void)
arr_base
[
iter
].
y
=
foo
();
arr_base
[
iter
].
y
=
foo
();
}
}
/* Access to arr_base[iter].y should be strength reduced. */
/* Access to arr_base[iter].y should be strength reduced. Depending on
whether we have an addressing mode of type [base + offset], one of the
following forms might get chosen:
/* { dg-final { scan-tree-dump-times "arr_base\[^\\n\\r\]*=" 0 "vars" } } */
-- induction variable with base &arr_base[0].y, the memory access of
form *iv = ...
-- induction variable with base 0, the memory access of form
*(iv + &arr_base[0].y) = ...
In any case, we should not have 'arr_base.[^0].* =' */
/* { dg-final { scan-tree-dump-times "arr_base.\[^0\]\[^\\n\\r\]*=" 0 "vars" } } */
/* And the original induction variable should be eliminated. */
/* And the original induction variable should be eliminated. */
...
...
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