From: Martin Liska Date: Tue, 10 May 2016 10:17:58 +0000 (+0200) Subject: Handle memory leak in tree-inline.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf1abda157fc40b9020da82ea35c087f2a442a95;p=gcc.git Handle memory leak in tree-inline.c. * tree-inline.c (remap_dependence_clique): Do not remap debugging statements. From-SVN: r236070 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 209305005e2..38b3869bce2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-05-10 Martin Liska + + * tree-inline.c (remap_dependence_clique): Do not remap + debugging statements. + 2016-05-10 Andreas Krebbel * config/s390/s390.md ("*vec_cmpdf_cconly") diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 2ee3f630b14..e571140d9db 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -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;