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 b024884cd812de7b4de1efcedb47371ae0afb809..bfc1773443053e2b09775af32af4e64fe6516a39 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 66103d76188608686dfcea729be916a7648460e1..201045075a1255cf723f3c0858acec1b20383a66 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