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
c0e2141a
Commit
c0e2141a
authored
Aug 16, 2012
by
Nick Clifton
Committed by
Nick Clifton
Aug 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/bfin/bfin.c (hwloop_optimize): Fix use of VEC_last macro.
From-SVN: r190440
parent
1f85d2fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
gcc/ChangeLog
+2
-0
gcc/config/bfin/bfin.c
+2
-2
No files found.
gcc/ChangeLog
View file @
c0e2141a
2012-08-16 Nick Clifton <nickc@redhat.com>
2012-08-16 Nick Clifton <nickc@redhat.com>
* config/bfin/bfin.c (hwloop_optimize): Fix use of VEC_last macro.
* config/avr/t-avr: Replace occurrences of $(CC) with $(COMPILER).
* config/avr/t-avr: Replace occurrences of $(CC) with $(COMPILER).
* config/avr/avr.c (avr_legitimize_reload_address): Add casts
* config/avr/avr.c (avr_legitimize_reload_address): Add casts
for reload_type enums.
for reload_type enums.
...
...
gcc/config/bfin/bfin.c
View file @
c0e2141a
...
@@ -3478,7 +3478,7 @@ hwloop_optimize (hwloop_info loop)
...
@@ -3478,7 +3478,7 @@ hwloop_optimize (hwloop_info loop)
/* If we have to insert the LSETUP before a jump, count that jump in the
/* If we have to insert the LSETUP before a jump, count that jump in the
length. */
length. */
if
(
VEC_length
(
edge
,
loop
->
incoming
)
>
1
if
(
VEC_length
(
edge
,
loop
->
incoming
)
>
1
||
!
(
VEC_last
(
edge
,
loop
->
incoming
)
.
flags
&
EDGE_FALLTHRU
))
||
!
(
VEC_last
(
edge
,
loop
->
incoming
)
->
flags
&
EDGE_FALLTHRU
))
{
{
gcc_assert
(
JUMP_P
(
insn
));
gcc_assert
(
JUMP_P
(
insn
));
insn
=
PREV_INSN
(
insn
);
insn
=
PREV_INSN
(
insn
);
...
@@ -3747,7 +3747,7 @@ hwloop_optimize (hwloop_info loop)
...
@@ -3747,7 +3747,7 @@ hwloop_optimize (hwloop_info loop)
{
{
rtx
prev
=
BB_END
(
loop
->
incoming_src
);
rtx
prev
=
BB_END
(
loop
->
incoming_src
);
if
(
VEC_length
(
edge
,
loop
->
incoming
)
>
1
if
(
VEC_length
(
edge
,
loop
->
incoming
)
>
1
||
!
(
VEC_last
(
edge
,
loop
->
incoming
)
.
flags
&
EDGE_FALLTHRU
))
||
!
(
VEC_last
(
edge
,
loop
->
incoming
)
->
flags
&
EDGE_FALLTHRU
))
{
{
gcc_assert
(
JUMP_P
(
prev
));
gcc_assert
(
JUMP_P
(
prev
));
prev
=
PREV_INSN
(
prev
);
prev
=
PREV_INSN
(
prev
);
...
...
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