diff mbox series

Trivial rl78 build fix

Message ID 4d6ac6f8-4382-a389-9d4a-9048dacafd66@redhat.com
State New
Headers show
Series Trivial rl78 build fix | expand

Commit Message

Jeff Law June 13, 2018, 2:47 p.m. UTC
My tester flagged rl78 as failing to build due to a trivial error.
Specifically the rl78 backend was passing integer 0 as the flags
argument to print_rtl_with_bb.  The argument should either be omitted
completely (there's an appropriate overload) or use TDF_NONE.

Fixed thusly.  Verified the rl78 port builds again.  Tester will do some
deeper testing overnight (libgcc, newlib).  Installing on the trunk.


Jeff
diff mbox series

Patch

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5b15216cdd5..e74509fa3f9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@ 
+2018-06-13  Jeff Law  <law@redhat.com>
+
+	* config/rl78/rl78.c (move_elim_pass): Use TDF_NONE rather than
+	integer 0 for argument to print_rtl_with_bb.
+	(rl78_reorg): Likewise.
+ 
 2018-06-13  David Malcolm  <dmalcolm@redhat.com>
 
 	* config/arc/arc.c (hwloop_optimize): Strengthen local "end_label"
diff --git a/gcc/config/rl78/rl78.c b/gcc/config/rl78/rl78.c
index 8346c9c31e0..03c78fc7549 100644
--- a/gcc/config/rl78/rl78.c
+++ b/gcc/config/rl78/rl78.c
@@ -228,7 +228,7 @@  move_elim_pass (void)
     }
 
   if (dump_file)
-    print_rtl_with_bb (dump_file, get_insns (), 0);
+    print_rtl_with_bb (dump_file, get_insns (), TDF_NONE);
 
   return 0;
 }
@@ -4317,7 +4317,7 @@  rl78_reorg (void)
   if (dump_file)
     {
       fprintf (dump_file, "\n================DEVIRT:=AFTER=ALLOC=PHYSICAL=REGISTERS================\n");
-      print_rtl_with_bb (dump_file, get_insns (), 0);
+      print_rtl_with_bb (dump_file, get_insns (), TDF_NONE);
     }
 
   rl78_propogate_register_origins ();
@@ -4326,7 +4326,7 @@  rl78_reorg (void)
   if (dump_file)
     {
       fprintf (dump_file, "\n================DEVIRT:=AFTER=PROPOGATION=============================\n");
-      print_rtl_with_bb (dump_file, get_insns (), 0);
+      print_rtl_with_bb (dump_file, get_insns (), TDF_NONE);
       fprintf (dump_file, "\n======================================================================\n");
     }