From: Richard Biener Date: Mon, 28 Jan 2019 09:36:50 +0000 (+0000) Subject: re PR debug/89076 (gcc/dwarf2out.c:23270:9: warning: duplicated ‘if’ condition) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=44ed55d52a32b56a3cd5d2aa568c88ee713e3b80;p=gcc.git re PR debug/89076 (gcc/dwarf2out.c:23270:9: warning: duplicated ‘if’ condition) 2019-01-28 Richard Biener PR debug/89076 * dwarf2out.c (gen_subprogram_die): Remove leftover from MPX support removal. From-SVN: r268334 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 724d1201211..943fbd25b93 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-01-28 Richard Biener + + PR debug/89076 + * dwarf2out.c (gen_subprogram_die): Remove leftover from MPX + support removal. + 2019-01-28 Richard Biener PR tree-optimization/88739 diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index cd2e889a8cc..0072270b623 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -23267,8 +23267,6 @@ gen_subprogram_die (tree decl, dw_die_ref context_die) parm = DECL_CHAIN (parm); } - else if (parm) - parm = DECL_CHAIN (parm); if (generic_decl_parm) generic_decl_parm = DECL_CHAIN (generic_decl_parm);