------- Comment #8 from ebotcazou at gcc dot gnu dot org 2008-05-13 08:47 ------- Subject: Bug 24880
Author: ebotcazou Date: Tue May 13 08:46:49 2008 New Revision: 135258 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135258 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: branches/gcc-4_3-branch/gcc/testsuite/gnat.dg/conv_integer.adb branches/gcc-4_3-branch/gcc/testsuite/gnat.dg/discr7.adb Modified: branches/gcc-4_3-branch/gcc/ada/ChangeLog branches/gcc-4_3-branch/gcc/ada/utils.c branches/gcc-4_3-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24880