typeck.c (type_after_usual_arithmetic_conversions): If two types have the same varian...
authorAndrew Haley <aph@redhat.com>
Fri, 12 Apr 2002 09:08:17 +0000 (09:08 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Fri, 12 Apr 2002 09:08:17 +0000 (09:08 +0000)
commit2f4d058f0ce572aa358ac3d1684ea0259577c049
tree277b513c936234b5ad3914b83a548a527b16aa71
parent4b4248b674fa9d34f2d5f7515761993849d804dd
typeck.c (type_after_usual_arithmetic_conversions): If two types have the same variant, return immediately.

2002-04-11  Andrew Haley  <aph@redhat.com>

* typeck.c (type_after_usual_arithmetic_conversions):
If two types have the same variant, return immediately.
When two floating-point operands are the same precision:
  convert to float if one of the operands is float;
  if neither operand is one of the standard types, return the type
  of the first operand.

From-SVN: r52209
gcc/cp/ChangeLog
gcc/cp/typeck.c