[Bug ada/26635] [4.3/4.4 regression] bogus Storage_Error warning
ebotcazou at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue May 13 08:48:00 GMT 2008
------- Comment #13 from ebotcazou at gcc dot gnu dot org 2008-05-13 08:47 -------
Subject: Bug 26635
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=26635
More information about the Gcc-bugs
mailing list