From 2e6ae27f33e22dd7781dafd2e27f319489613372 Mon Sep 17 00:00:00 2001 From: Diego Novillo Date: Tue, 24 Aug 2004 01:13:01 +0000 Subject: [PATCH] cfg.c (check_bb_profile): Fix typos. * cfg.c (check_bb_profile): Fix typos. * function.c (assign_parm_is_stack_parm): Likewise. * tree-nested.c: Likewise. From-SVN: r86457 --- gcc/ChangeLog | 6 ++++++ gcc/cfg.c | 4 ++-- gcc/function.c | 2 +- gcc/tree-nested.c | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0e0cc94fa98..0667a1ad998 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-08-23 Diego Novillo + + * cfg.c (check_bb_profile): Fix typos. + * function.c (assign_parm_is_stack_parm): Likewise. + * tree-nested.c: Likewise. + 2004-08-23 Daniel Jacobowitz * ggc-zone.c (struc alloc_chunk): Rearrange flag bits and SIZE. diff --git a/gcc/cfg.c b/gcc/cfg.c index cee3cf2211c..d195b10cd4e 100644 --- a/gcc/cfg.c +++ b/gcc/cfg.c @@ -507,13 +507,13 @@ check_bb_profile (basic_block bb, FILE * file) sum += EDGE_FREQUENCY (e); if (abs (sum - bb->frequency) > 100) fprintf (file, - "Invalid sum of incomming frequencies %i, should be %i\n", + "Invalid sum of incoming frequencies %i, should be %i\n", sum, bb->frequency); lsum = 0; for (e = bb->pred; e; e = e->pred_next) lsum += e->count; if (lsum - bb->count > 100 || lsum - bb->count < -100) - fprintf (file, "Invalid sum of incomming counts %i, should be %i\n", + fprintf (file, "Invalid sum of incoming counts %i, should be %i\n", (int) lsum, (int) bb->count); } } diff --git a/gcc/function.c b/gcc/function.c index b6f5a79c661..2fbc72269de 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -2340,7 +2340,7 @@ static bool assign_parm_is_stack_parm (struct assign_parm_data_all *all, struct assign_parm_data_one *data) { - /* Trivially true if we've no incomming register. */ + /* Trivially true if we've no incoming register. */ if (data->entry_parm == NULL) ; /* Also true if we're partially in registers and partially not, diff --git a/gcc/tree-nested.c b/gcc/tree-nested.c index 00dbee988cd..1d7806d23fd 100644 --- a/gcc/tree-nested.c +++ b/gcc/tree-nested.c @@ -55,7 +55,7 @@ The implementation here is much more direct. Everything that can be referenced by an inner function is a member of an explicitly created - structure herein called the "nonlocal frame struct". The incomming + structure herein called the "nonlocal frame struct". The incoming static chain for a nested function is a pointer to this struct in the parent. In this way, we settle on known offsets from a known base, and so are decoupled from the logic that places objects in the -- 2.30.2