Handle memory leak in tree-inline.c.
* tree-inline.c (remap_dependence_clique): Do not remap debugging statements. From-SVN: r236070
This commit is contained in:
parent
a579871bbc
commit
bf1abda157
|
@ -1,3 +1,8 @@
|
|||
2016-05-10 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* tree-inline.c (remap_dependence_clique): Do not remap
|
||||
debugging statements.
|
||||
|
||||
2016-05-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
||||
|
||||
* config/s390/s390.md ("*vec_cmp<insn_cmp>df_cconly")
|
||||
|
|
|
@ -840,7 +840,7 @@ is_parm (tree decl)
|
|||
static unsigned short
|
||||
remap_dependence_clique (copy_body_data *id, unsigned short clique)
|
||||
{
|
||||
if (clique == 0)
|
||||
if (clique == 0 || processing_debug_stmt)
|
||||
return 0;
|
||||
if (!id->dependence_map)
|
||||
id->dependence_map = new hash_map<dependence_hash, unsigned short>;
|
||||
|
|
Loading…
Reference in New Issue