dwarf2out.c (output_file_names): Avoid double testing for dwarf_version >= 5.
authorUlrich Drepper <drepper@redhat.com>
Fri, 21 Jul 2017 08:57:04 +0000 (08:57 +0000)
committerUlrich Drepper <drepper@gcc.gnu.org>
Fri, 21 Jul 2017 08:57:04 +0000 (08:57 +0000)
gcc/
* dwarf2out.c (output_file_names): Avoid double testing for
dwarf_version >= 5.

From-SVN: r250420

gcc/ChangeLog
gcc/dwarf2out.c

index b024884..bfc1773 100644 (file)
@@ -1,3 +1,8 @@
+2017-07-21  Ulrich Drepper  <drepper@redhat.com>
+
+       * dwarf2out.c (output_file_names): Avoid double testing for
+       dwarf_version >= 5.
+
 2017-07-21  Georg-Johann Lay  <avr@gjlay.de>
 
        * doc/invoke.texi (AVR Built-in Functions): Re-layout section.
index 66103d7..2010450 100644 (file)
@@ -11697,7 +11697,7 @@ output_file_names (void)
       output_line_string (str_form, filename0, "File Entry", 0);
 
       /* Include directory index.  */
-      if (dwarf_version >= 5 && idx_form != DW_FORM_udata)
+      if (idx_form != DW_FORM_udata)
        dw2_asm_output_data (idx_form == DW_FORM_data1 ? 1 : 2,
                             0, NULL);
       else