From: Ulrich Drepper Date: Fri, 21 Jul 2017 08:57:04 +0000 (+0000) Subject: dwarf2out.c (output_file_names): Avoid double testing for dwarf_version >= 5. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4bb3f8b53f9a1f95e68cc80ec9054b66815b250a;p=gcc.git dwarf2out.c (output_file_names): Avoid double testing for dwarf_version >= 5. gcc/ * dwarf2out.c (output_file_names): Avoid double testing for dwarf_version >= 5. From-SVN: r250420 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b024884cd81..bfc17734430 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-07-21 Ulrich Drepper + + * dwarf2out.c (output_file_names): Avoid double testing for + dwarf_version >= 5. + 2017-07-21 Georg-Johann Lay * doc/invoke.texi (AVR Built-in Functions): Re-layout section. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 66103d76188..201045075a1 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -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