diff options
author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-24 01:13:01 +0000 |
---|---|---|
committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-24 01:13:01 +0000 |
commit | a133d57d18303cc30ec4b3dab36689d40bc33ce0 (patch) | |
tree | 231b457614ce08f47d07648e061dd3880ef7b18f /gcc | |
parent | d69251d0b25874657d297977fa9c90ed89ecd8b4 (diff) | |
download | gcc-a133d57d18303cc30ec4b3dab36689d40bc33ce0.tar.gz |
* cfg.c (check_bb_profile): Fix typos.
* function.c (assign_parm_is_stack_parm): Likewise.
* tree-nested.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86457 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/cfg.c | 4 | ||||
-rw-r--r-- | gcc/function.c | 2 | ||||
-rw-r--r-- | 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 <dnovillo@redhat.com> + + * cfg.c (check_bb_profile): Fix typos. + * function.c (assign_parm_is_stack_parm): Likewise. + * tree-nested.c: Likewise. + 2004-08-23 Daniel Jacobowitz <dan@debian.org> * 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 |