This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] [OBVIOUS] s/imposisble/impossible in predict.c


Hello.

I've just installed patch that does $SUBJECT.

Thanks,
Martin
>From 8302396974053dd00cd5eaff594dddf2f1ccf80b Mon Sep 17 00:00:00 2001
From: marxin <mliska@suse.cz>
Date: Tue, 21 Jun 2016 18:05:50 +0200
Subject: [PATCH] s/imposisble/impossible in predict.c

gcc/ChangeLog:

2016-06-21  Martin Liska  <mliska@suse.cz>

	* predict.c (force_edge_cold): Replace imposisble with
	impossible.
---
 gcc/predict.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/predict.c b/gcc/predict.c
index 642bd62..470de8a 100644
--- a/gcc/predict.c
+++ b/gcc/predict.c
@@ -3507,7 +3507,7 @@ force_edge_cold (edge e, bool impossible)
 	fprintf (dump_file, "Making edge %i->%i %s by redistributing "
 		 "probability to other edges.\n",
 		 e->src->index, e->dest->index,
-		 impossible ? "imposisble" : "cold");
+		 impossible ? "impossible" : "cold");
       FOR_EACH_EDGE (e2, ei, e->src->succs)
 	if (e2 != e)
 	  {
@@ -3533,7 +3533,7 @@ force_edge_cold (edge e, bool impossible)
 	  int old_frequency = e->src->frequency;
 	  if (dump_file && (dump_flags & TDF_DETAILS))
 	    fprintf (dump_file, "Making bb %i %s.\n", e->src->index,
-		     impossible ? "imposisble" : "cold");
+		     impossible ? "impossible" : "cold");
 	  e->src->frequency = MIN (e->src->frequency, impossible ? 0 : 1);
 	  e->src->count = e->count = RDIV (e->src->count * e->src->frequency,
 					   old_frequency);
@@ -3542,6 +3542,6 @@ force_edge_cold (edge e, bool impossible)
       else if (dump_file && (dump_flags & TDF_DETAILS)
 	       && maybe_hot_bb_p (cfun, e->src))
 	fprintf (dump_file, "Giving up on making bb %i %s.\n", e->src->index,
-		 impossible ? "imposisble" : "cold");
+		 impossible ? "impossible" : "cold");
     }
 }
-- 
2.8.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]