This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/26635] [4.3/4.4 regression] bogus Storage_Error warning



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]