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
311fe27c
Commit
311fe27c
authored
Nov 29, 1999
by
Bernd Schmidt
Committed by
Bernd Schmidt
Nov 29, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix abort in loop_iterations
From-SVN: r30698
parent
83c23b6c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
gcc/ChangeLog
+5
-0
gcc/unroll.c
+2
-4
No files found.
gcc/ChangeLog
View file @
311fe27c
1999
-
11
-
29
Bernd
Schmidt
<
bernds
@cygnus
.
co
.
uk
>
*
unroll
.
c
(
loop_iterations
)
:
Don
'
t
abort
if
iteration
variable
was
made
by
loop
.
1999
-
11
-
29
David
S
.
Miller
<
davem
@redhat
.
com
>
1999
-
11
-
29
David
S
.
Miller
<
davem
@redhat
.
com
>
*
config
/
sparc
/
sparc
.
c
(
init_cumulative_args
)
:
Fix
type
of
third
*
config
/
sparc
/
sparc
.
c
(
init_cumulative_args
)
:
Fix
type
of
third
...
...
gcc/unroll.c
View file @
311fe27c
...
@@ -3687,11 +3687,9 @@ loop_iterations (loop_start, loop_end, loop_info)
...
@@ -3687,11 +3687,9 @@ loop_iterations (loop_start, loop_end, loop_info)
return
0
;
return
0
;
}
}
/* The only new registers that care created before loop iterations are
/* This can happen due to optimization in load_mems. */
givs made from biv increments, so this should never occur. */
if
((
unsigned
)
REGNO
(
iteration_var
)
>=
reg_iv_type
->
num_elements
)
if
((
unsigned
)
REGNO
(
iteration_var
)
>=
reg_iv_type
->
num_elements
)
abort
()
;
return
0
;
iteration_info
(
iteration_var
,
&
initial_value
,
&
increment
,
iteration_info
(
iteration_var
,
&
initial_value
,
&
increment
,
loop_start
,
loop_end
);
loop_start
,
loop_end
);
...
...
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