summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-04-14 17:29:55 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-04-14 17:29:55 +0000
commit2201c2d15b5e42f5338f7ced704a9e0a8ae61470 (patch)
treed8db609891d97dccc25a6b528251868123876d02 /gcc
parent6b094e50827b054f65868db7876f7370956c8cfa (diff)
downloadppe42-gcc-2201c2d15b5e42f5338f7ced704a9e0a8ae61470.tar.gz
ppe42-gcc-2201c2d15b5e42f5338f7ced704a9e0a8ae61470.zip
Comment change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4152 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-typeck.c5
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;
OpenPOWER on IntegriCloud