The function contains these lines:

      if (debug_column_info)
        fprint_ul (asm_out_file, column);
      else
        putc ('0', asm_out_file);

but they are dominated by:

  if (!debug_column_info)
    column = 0;


Bootstrapped/regtested on x86_64-suse-linux, applied on mainline as obvious.


2017-09-14  Eric Botcazou  <ebotca...@adacore.com>

        * dwarf2out.c (dwarf2out_source_line): Remove superfluous test.

-- 
Eric Botcazou
Index: dwarf2out.c
===================================================================
--- dwarf2out.c	(revision 252749)
+++ dwarf2out.c	(working copy)
@@ -26645,10 +26645,7 @@ dwarf2out_source_line (unsigned int line
       putc (' ', asm_out_file);
       fprint_ul (asm_out_file, line);
       putc (' ', asm_out_file);
-      if (debug_column_info)
-	fprint_ul (asm_out_file, column);
-      else
-	putc ('0', asm_out_file);
+      fprint_ul (asm_out_file, column);
 
       if (is_stmt != table->is_stmt)
 	{

Reply via email to