]> gcc.gnu.org Git - gcc.git/commitdiff
* c-typeck.c (common_type): Correct comment.
authorJoseph Myers <jsm@polyomino.org.uk>
Sat, 29 May 2004 18:40:27 +0000 (19:40 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Sat, 29 May 2004 18:40:27 +0000 (19:40 +0100)
From-SVN: r82426

gcc/ChangeLog
gcc/c-typeck.c

index 3573ee2b56cd624130bd384e4ce7380b4b686103..68b4b5619fc23f8c43d08df86066f07eec5dd849 100644 (file)
@@ -1,3 +1,7 @@
+2004-05-29  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * c-typeck.c (common_type): Correct comment.
+
 2004-05-29  Peter Barada  <peter@the-baradas.com>
 
        * config/m68k/m68k.c (CONST_METHOD): Add MVZ, MVS.
index ddc2d0803bee61f9bef24c9ca8af47d68d29d264..1193f05fe99efb3f68bb13d783ba6636965e69eb 100644 (file)
@@ -199,10 +199,13 @@ qualify_type (tree type, tree like)
                                 TYPE_QUALS (type) | TYPE_QUALS (like));
 }
 \f
-/* Return the common type of two types.
-   We assume that comptypes has already been done and returned 1;
-   if that isn't so, this may crash.  In particular, we assume that qualifiers
-   match.
+/* Return the composite type of two compatible types, or the common
+   type for two arithmetic types under the usual arithmetic
+   conversions.
+
+   Unless both types are arithmetic types, we assume that comptypes
+   has already been done and returned 1; if that isn't so, this may
+   crash.  In particular, we assume that qualifiers match.
 
    This is the type for the result of most arithmetic operations
    if the operands have the given two types.  */
This page took 0.087734 seconds and 5 git commands to generate.