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
3ed961a0
Commit
3ed961a0
authored
Oct 08, 2003
by
Zdenek Dvorak
Committed by
Zdenek Dvorak
Oct 07, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cfgloopmanip.c (fix_irreducible_loops): Initialize e correctly.
From-SVN: r72207
parent
1b288fec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
10 deletions
+18
-10
gcc/ChangeLog
+4
-0
gcc/cfgloopmanip.c
+14
-10
No files found.
gcc/ChangeLog
View file @
3ed961a0
2003-10-07 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* cfgloopmanip.c (fix_irreducible_loops): Initialize e correctly.
2003-10-07 Jason Merrill <jason@redhat.com>
PR c++/12519
...
...
gcc/cfgloopmanip.c
View file @
3ed961a0
...
...
@@ -310,18 +310,22 @@ fix_irreducible_loops (basic_block from)
}
for
(
i
=
0
;
i
<
n_edges
;
i
++
)
if
(
e
->
flags
&
EDGE_IRREDUCIBLE_LOOP
)
{
if
(
!
flow_bb_inside_loop_p
(
from
->
loop_father
,
e
->
dest
))
continue
;
{
e
=
edges
[
i
];
e
->
flags
&=
~
EDGE_IRREDUCIBLE_LOOP
;
if
(
TEST_BIT
(
on_stack
,
e
->
dest
->
index
))
continue
;
if
(
e
->
flags
&
EDGE_IRREDUCIBLE_LOOP
)
{
if
(
!
flow_bb_inside_loop_p
(
from
->
loop_father
,
e
->
dest
))
continue
;
SET_BIT
(
on_stack
,
e
->
dest
->
index
);
stack
[
stack_top
++
]
=
e
->
dest
;
}
e
->
flags
&=
~
EDGE_IRREDUCIBLE_LOOP
;
if
(
TEST_BIT
(
on_stack
,
e
->
dest
->
index
))
continue
;
SET_BIT
(
on_stack
,
e
->
dest
->
index
);
stack
[
stack_top
++
]
=
e
->
dest
;
}
}
free
(
edges
);
}
...
...
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