aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-01-09 12:34:39 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-01-09 12:34:39 +0000
commit63124c486dcd729695fc6ee33fc0ebe74379f589 (patch)
tree14698851ecd96cb3556dcaa8702ba9ebf2ab4ef2 /gcc/lto
parentd05b99205d244d9efd2758f80554b926d47972e6 (diff)
downloadgcc-63124c486dcd729695fc6ee33fc0ebe74379f589.zip
gcc-63124c486dcd729695fc6ee33fc0ebe74379f589.tar.gz
gcc-63124c486dcd729695fc6ee33fc0ebe74379f589.tar.bz2
lto.c (gimple_canonical_types_compatible_p): Fix comment.
2014-01-09 Richard Biener <rguenther@suse.de> * lto.c (gimple_canonical_types_compatible_p): Fix comment. From-SVN: r206462
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/ChangeLog4
-rw-r--r--gcc/lto/lto.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 3830cdb..152fa23 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,5 +1,9 @@
2014-01-09 Richard Biener <rguenther@suse.de>
+ * lto.c (gimple_canonical_types_compatible_p): Fix comment.
+
+2014-01-09 Richard Biener <rguenther@suse.de>
+
PR lto/45586
* lto.c (hash_canonical_type): Do not hash TREE_ADDRESSABLE,
TYPE_ALIGN, TYPE_RESTRICT or TYPE_REF_CAN_ALIAS_ALL.
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index f782683..c15f212 100644
--- a/gcc/lto/lto.c
+++ b/gcc/lto/lto.c
@@ -450,7 +450,7 @@ gimple_canonical_types_compatible_p (tree t1, tree t2)
|| TREE_CODE (t1) == NULLPTR_TYPE)
return true;
- /* Can't be the same type if they have different alignment, or mode. */
+ /* Can't be the same type if they have different mode. */
if (TYPE_MODE (t1) != TYPE_MODE (t2))
return false;