diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/c-typeck.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 081a237b986..c0443de5f70 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -413,8 +413,9 @@ comptypes (type1, type2) if (TYPE_VOLATILE (t1) != TYPE_VOLATILE (t2)) return 0; - /* If generating auxiliary info, allow for two different type nodes which - have essentially the same definition. */ + /* Allow for two different type nodes which have essentially the same + definition. Note that we already checked for equality of the type + type qualifiers (just above). */ if (TYPE_MAIN_VARIANT (t1) == TYPE_MAIN_VARIANT (t2)) return 1; |

