public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] Fix 2 comment typos
@ 2019-01-12 16:57 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2019-01-12 16:57 UTC (permalink / raw)
  To: gcc-patches

Hi!

While is't is a contraction of "is it", it doesn't make sense in either of
these spots and I believe isn't was meant there instead.

Committed as obvious to trunk.

2019-01-12  Jakub Jelinek  <jakub@redhat.com>

	* tree-ssa-loop-ivopts.c (find_inv_vars): Fix a comment typo.

	* c-typeck.c (convert_for_assignment): Fix a comment typo.

--- gcc/tree-ssa-loop-ivopts.c.jj	2019-01-10 11:43:08.936467241 +0100
+++ gcc/tree-ssa-loop-ivopts.c	2019-01-12 16:48:09.834963620 +0100
@@ -3037,7 +3037,7 @@ find_inv_vars (struct ivopts_data *data,
    It's hard to make decision whether constant part should be stripped
    or not.  We choose to not strip based on below facts:
      1) We need to count ADD cost for constant part if it's stripped,
-	which is't always trivial where this functions is called.
+	which isn't always trivial where this functions is called.
      2) Stripping constant away may be conflict with following loop
 	invariant hoisting pass.
      3) Not stripping constant away results in more invariant exprs,
--- gcc/c/c-typeck.c.jj	2019-01-01 12:37:48.607458942 +0100
+++ gcc/c/c-typeck.c	2019-01-12 17:18:52.727211448 +0100
@@ -7283,7 +7283,7 @@ convert_for_assignment (location_t locat
 	    }
 	}
 
-      /* If RHS is't an address, check pointer or array of packed
+      /* If RHS isn't an address, check pointer or array of packed
 	 struct or union.  */
       warn_for_address_or_pointer_of_packed_member
 	(TREE_CODE (orig_rhs) != ADDR_EXPR, type, orig_rhs);

	Jakub

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-01-12 16:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-12 16:57 [committed] Fix 2 comment typos Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).