This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc/cp typeck.c ChangeLog
- From: aph at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 12 Apr 2002 11:00:49 -0000
- Subject: gcc/gcc/cp typeck.c ChangeLog
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_1-branch
Changes by: aph@gcc.gnu.org 2002-04-12 04:00:47
Modified files:
gcc/cp : typeck.c ChangeLog
Log message:
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.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.388.2.5&r2=1.388.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_1-branch&r1=1.2685.2.52&r2=1.2685.2.53