re PR debug/89076 (gcc/dwarf2out.c:23270:9: warning: duplicated ‘if’ condition)
authorRichard Biener <rguenther@suse.de>
Mon, 28 Jan 2019 09:36:50 +0000 (09:36 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 28 Jan 2019 09:36:50 +0000 (09:36 +0000)
2019-01-28  Richard Biener  <rguenther@suse.de>

PR debug/89076
* dwarf2out.c (gen_subprogram_die): Remove leftover from MPX
support removal.

From-SVN: r268334

gcc/ChangeLog
gcc/dwarf2out.c

index 724d120121112541097b47bb58d65ca1ae2ce5a4..943fbd25b933716c1a18d796203091cba5e5d171 100644 (file)
@@ -1,3 +1,9 @@
+2019-01-28  Richard Biener  <rguenther@suse.de>
+
+       PR debug/89076
+       * dwarf2out.c (gen_subprogram_die): Remove leftover from MPX
+       support removal.
+
 2019-01-28  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/88739
index cd2e889a8ccdf180bf0f7bff4d54ed2c8e399774..0072270b623ced9129fa6ad17cd8330c24c8cbab 100644 (file)
@@ -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);