[Bug ada/18817] ACATS c380004 fails at run time

ebotcazou at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 15 08:59:00 GMT 2006



------- Comment #8 from ebotcazou at gcc dot gnu dot org  2006-09-15 08:59 -------
Subject: Bug 18817

Author: ebotcazou
Date: Fri Sep 15 08:59:02 2006
New Revision: 116964

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116964
Log:
        PR ada/18817
        * utils.c (max_size): Perform constant folding of (A ? B : C) - D
        into A ? B - D : C - D when calculating the size of a MINUS_EXPR.


Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/utils.c
    trunk/gcc/testsuite/ada/acats/norun.lst


-- 


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



More information about the Gcc-bugs mailing list