This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r135257 - in /trunk/gcc: ada/ChangeLog ada/util...
- From: ebotcazou at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 13 May 2008 08:46:19 -0000
- Subject: r135257 - in /trunk/gcc: ada/ChangeLog ada/util...
Author: ebotcazou
Date: Tue May 13 08:46:18 2008
New Revision: 135257
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135257
Log:
PR ada/24880
PR ada/26635
* utils.c (convert) <INTEGER_TYPE>: When converting an additive
expression to an integral type with lower precision, use NOP_EXPR
directly in a couple of special cases.
Added:
trunk/gcc/testsuite/gnat.dg/conv_integer.adb
trunk/gcc/testsuite/gnat.dg/discr7.adb
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/utils.c
trunk/gcc/testsuite/ChangeLog