Commit 5305f6d7 by Joseph Myers Committed by Joseph Myers

* c-typeck.c (common_type): Correct comment.

From-SVN: r82426
parent 50796c52
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> 2004-05-29 Peter Barada <peter@the-baradas.com>
* config/m68k/m68k.c (CONST_METHOD): Add MVZ, MVS. * config/m68k/m68k.c (CONST_METHOD): Add MVZ, MVS.
......
...@@ -199,10 +199,13 @@ qualify_type (tree type, tree like) ...@@ -199,10 +199,13 @@ qualify_type (tree type, tree like)
TYPE_QUALS (type) | TYPE_QUALS (like)); TYPE_QUALS (type) | TYPE_QUALS (like));
} }
/* Return the common type of two types. /* Return the composite type of two compatible types, or the common
We assume that comptypes has already been done and returned 1; type for two arithmetic types under the usual arithmetic
if that isn't so, this may crash. In particular, we assume that qualifiers conversions.
match.
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 This is the type for the result of most arithmetic operations
if the operands have the given two types. */ if the operands have the given two types. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment