diff options
author | Peter Bergner <bergner@linux.ibm.com> | 2019-04-17 19:22:15 +0000 |
---|---|---|
committer | Peter Bergner <bergner@gcc.gnu.org> | 2019-04-17 14:22:15 -0500 |
commit | 38de8b39ef9202c742226c70484a19f6df84b7cb (patch) | |
tree | 9d5563bf341fd1ac973d748b869aa50a9ddd2783 | |
parent | 46786144dd77505a5e06c8ac9fd353e84eb38d89 (diff) | |
download | gcc-38de8b39ef9202c742226c70484a19f6df84b7cb.zip gcc-38de8b39ef9202c742226c70484a19f6df84b7cb.tar.gz gcc-38de8b39ef9202c742226c70484a19f6df84b7cb.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/ira-conflicts.c | 8 |
2 files changed, 13 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2138006..3b01ff7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +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> * auto-inc-dec.c (attempt_change): Set the alignment of the diff --git a/gcc/ira-conflicts.c b/gcc/ira-conflicts.c index 5bd6c0c..9a3e381 100644 --- a/gcc/ira-conflicts.c +++ b/gcc/ira-conflicts.c @@ -633,7 +633,12 @@ print_allocno_conflicts (FILE * file, bool reg_p, ira_allocno_t a) ira_object_conflict_iterator oci; 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) fprintf (file, "\n;; subobject %d:", i); FOR_EACH_OBJECT_CONFLICT (obj, conflict_obj, oci) @@ -683,6 +688,7 @@ print_conflicts (FILE *file, bool reg_p) FOR_EACH_ALLOCNO (a, ai) print_allocno_conflicts (file, reg_p, a); + putc ('\n', file); } /* Print information about allocno or only regno (if REG_P) conflicts |