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
d76815f4
Commit
d76815f4
authored
May 19, 2016
by
Martin Liska
Committed by
Martin Liska
May 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix memory leak in omp-simd-clone.c
* omp-simd-clone.c (simd_clone_adjust): Release vector. From-SVN: r236467
parent
b3e508d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
gcc/ChangeLog
+4
-0
gcc/omp-simd-clone.c
+1
-0
No files found.
gcc/ChangeLog
View file @
d76815f4
2016-05-19 Martin Liska <mliska@suse.cz>
2016-05-19 Martin Liska <mliska@suse.cz>
* omp-simd-clone.c (simd_clone_adjust): Release vector.
2016-05-19 Martin Liska <mliska@suse.cz>
* tree-ssa-reassoc.c (eliminate_duplicate_pair): Truncate
* tree-ssa-reassoc.c (eliminate_duplicate_pair): Truncate
an auto_vec instead of re-creating it.
an auto_vec instead of re-creating it.
...
...
gcc/omp-simd-clone.c
View file @
d76815f4
...
@@ -1079,6 +1079,7 @@ simd_clone_adjust (struct cgraph_node *node)
...
@@ -1079,6 +1079,7 @@ simd_clone_adjust (struct cgraph_node *node)
tree
iter1
=
make_ssa_name
(
iter
);
tree
iter1
=
make_ssa_name
(
iter
);
tree
iter2
=
make_ssa_name
(
iter
);
tree
iter2
=
make_ssa_name
(
iter
);
ipa_simd_modify_function_body
(
node
,
adjustments
,
retval
,
iter1
);
ipa_simd_modify_function_body
(
node
,
adjustments
,
retval
,
iter1
);
adjustments
.
release
();
/* Initialize the iteration variable. */
/* Initialize the iteration variable. */
basic_block
entry_bb
=
single_succ
(
ENTRY_BLOCK_PTR_FOR_FN
(
cfun
));
basic_block
entry_bb
=
single_succ
(
ENTRY_BLOCK_PTR_FOR_FN
(
cfun
));
...
...
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