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/24880] [4.1/4.2/4.3/4.4 regression] infinite loop on conversion of integer type with size clause



------- Comment #7 from ebotcazou at gcc dot gnu dot org  2008-05-13 08:47 -------
Subject: Bug 24880

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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24880


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