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
3951ad49
Commit
3951ad49
authored
Jan 11, 2000
by
Mike Stump
Committed by
Mike Stump
Jan 11, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* unroll.c (unroll_loop): Add EH support.
From-SVN: r31334
parent
b5fba37d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
gcc/ChangeLog
+4
-0
gcc/unroll.c
+13
-0
No files found.
gcc/ChangeLog
View file @
3951ad49
Tue
Jan
11
11
:
37
:
58
2000
Mike
Stump
<
mrs
@wrs
.
com
>
*
unroll
.
c
(
unroll_loop
)
:
Add
EH
support
.
2000
-
01
-
11
Kaveh
R
.
Ghazi
<
ghazi
@caip
.
rutgers
.
edu
>
2000
-
01
-
11
Kaveh
R
.
Ghazi
<
ghazi
@caip
.
rutgers
.
edu
>
*
pa
-
protos
.
h
:
New
file
.
*
pa
-
protos
.
h
:
New
file
.
...
...
gcc/unroll.c
View file @
3951ad49
...
@@ -290,6 +290,19 @@ unroll_loop (loop_end, insn_count, loop_start, end_insert_before,
...
@@ -290,6 +290,19 @@ unroll_loop (loop_end, insn_count, loop_start, end_insert_before,
block_begins
++
;
block_begins
++
;
else
if
(
NOTE_LINE_NUMBER
(
insn
)
==
NOTE_INSN_BLOCK_END
)
else
if
(
NOTE_LINE_NUMBER
(
insn
)
==
NOTE_INSN_BLOCK_END
)
block_ends
++
;
block_ends
++
;
if
(
NOTE_LINE_NUMBER
(
insn
)
==
NOTE_INSN_EH_REGION_BEG
||
NOTE_LINE_NUMBER
(
insn
)
==
NOTE_INSN_EH_REGION_END
)
{
/* Note, would be nice to add code to unroll EH
regions, but until that time, we punt (don't
unroll). For the proper way of doing it, see
expand_inline_function. */
if
(
loop_dump_stream
)
fprintf
(
loop_dump_stream
,
"Unrolling failure: cannot unroll EH regions.
\n
"
);
return
;
}
}
}
}
}
...
...
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