]> gcc.gnu.org Git - gcc.git/commitdiff
Fix coding style and typos.
authorMartin Liska <mliska@suse.cz>
Wed, 18 Apr 2018 20:09:33 +0000 (22:09 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 18 Apr 2018 20:09:33 +0000 (20:09 +0000)
2018-04-18  Martin Liska  <mliska@suse.cz>

* ipa-devirt.c (odr_subtypes_equivalent_p): Fix GNU coding
style.
2018-04-18  Martin Liska  <mliska@suse.cz>

* lto.c (lto_read_decls): Fix GNU coding style and typos.

From-SVN: r259480

gcc/ChangeLog
gcc/ipa-devirt.c
gcc/lto/ChangeLog
gcc/lto/lto.c

index e214a7166e9eed2e0b42a1a8ea51c487e401a9b9..94d2b24e0f38390ebe938a12f56c3edb898ea114 100644 (file)
@@ -1,3 +1,8 @@
+2018-04-18  Martin Liska  <mliska@suse.cz>
+
+       * ipa-devirt.c (odr_subtypes_equivalent_p): Fix GNU coding
+       style.
+
 2018-04-18  Martin Liska  <mliska@suse.cz>
 
        Revert
index a0c095e1d5d9def64319b2eb4a23fefc1233062b..308b6e6cdd5dbd5979d0487b9f0af9ad32cb75d7 100644 (file)
@@ -685,7 +685,7 @@ odr_subtypes_equivalent_p (tree t1, tree t2,
       if (!types_same_for_odr (t1, t2, true))
         return false;
       /* Limit recursion: If subtypes are ODR types and we know
-         that they are same, be happy.  */
+        that they are same, be happy.  */
       if (!odr_type_p (t1) || !get_odr_type (t1, true)->odr_violated)
         return true;
     }
index 3df8fe8d7755947f577d5b98a21d03464b59c161..3c6af8f7d16ac1bdd49260baf697d6f24497d607 100644 (file)
@@ -1,3 +1,7 @@
+2018-04-18  Martin Liska  <mliska@suse.cz>
+
+       * lto.c (lto_read_decls): Fix GNU coding style and typos.
+
 2018-04-18  Martin Liska  <mliska@suse.cz>
 
        PR ipa/83983
index 1a6b18d3e348b541166d5f10ba1e223d91754fe3..1c55f3f691adca90bd2f074795c56b103b3b40d7 100644 (file)
@@ -1808,9 +1808,9 @@ lto_read_decls (struct lto_file_decl_data *decl_data, const void *data,
                  num_prevailing_types++;
                  lto_fixup_prevailing_type (t);
 
-                 /* Compute the canonical type of all types.
-                    Because SCC components ar estreame in random (hash) order
-                    we may have enountered the type before while registering
+                 /* Compute the canonical type of all types.
+                    Because SCC components are streamed in random (hash) order
+                    we may have encountered the type before while registering
                     type canonical of a derived type in the same SCC.  */
                  if (!TYPE_CANONICAL (t))
                    gimple_register_canonical_type (t);
This page took 0.088374 seconds and 5 git commands to generate.