Commit 38de8b39 by Peter Bergner Committed by Peter Bergner

ira-conflicts.c (print_allocno_conflicts): Always print something, even for…

ira-conflicts.c (print_allocno_conflicts): Always print something, even for allocno's with no conflicts.

gcc/
	* ira-conflicts.c (print_allocno_conflicts): Always print something,
	even for allocno's with no conflicts.
	(print_conflicts): Print an extra newline.

From-SVN: r270420
parent 46786144
2019-04-17 Peter Bergner <bergner@linux.ibm.com>
* ira-conflicts.c (print_allocno_conflicts): Always print something,
even for allocno's with no conflicts.
(print_conflicts): Print an extra newline.
2019-04-17 Segher Boessenkool <segher@kernel.crashing.org> 2019-04-17 Segher Boessenkool <segher@kernel.crashing.org>
* auto-inc-dec.c (attempt_change): Set the alignment of the * auto-inc-dec.c (attempt_change): Set the alignment of the
......
...@@ -633,7 +633,12 @@ print_allocno_conflicts (FILE * file, bool reg_p, ira_allocno_t a) ...@@ -633,7 +633,12 @@ print_allocno_conflicts (FILE * file, bool reg_p, ira_allocno_t a)
ira_object_conflict_iterator oci; ira_object_conflict_iterator oci;
if (OBJECT_CONFLICT_ARRAY (obj) == NULL) if (OBJECT_CONFLICT_ARRAY (obj) == NULL)
continue; {
fprintf (file, "\n;; total conflict hard regs:\n");
fprintf (file, ";; conflict hard regs:\n\n");
continue;
}
if (n > 1) if (n > 1)
fprintf (file, "\n;; subobject %d:", i); fprintf (file, "\n;; subobject %d:", i);
FOR_EACH_OBJECT_CONFLICT (obj, conflict_obj, oci) FOR_EACH_OBJECT_CONFLICT (obj, conflict_obj, oci)
...@@ -683,6 +688,7 @@ print_conflicts (FILE *file, bool reg_p) ...@@ -683,6 +688,7 @@ print_conflicts (FILE *file, bool reg_p)
FOR_EACH_ALLOCNO (a, ai) FOR_EACH_ALLOCNO (a, ai)
print_allocno_conflicts (file, reg_p, a); print_allocno_conflicts (file, reg_p, a);
putc ('\n', file);
} }
/* Print information about allocno or only regno (if REG_P) conflicts /* Print information about allocno or only regno (if REG_P) conflicts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment