[Bug ada/20753] [4.0/4.1 Regression] ACATS ce3810b segfaults at runtime

ebotcazou at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Feb 17 11:21:00 GMT 2006



------- Comment #18 from ebotcazou at gcc dot gnu dot org  2006-02-17 11:21 -------
Subject: Bug 20753

Author: ebotcazou
Date: Fri Feb 17 11:21:20 2006
New Revision: 111179

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111179
Log:
        Backport from mainline:
        2006-02-13  Geert Bosch  <bosch@adacore.com>
                    Gary Dismukes  <dismukes@adacore.com>

        * a-tifiio.adb (Put_Digits): Test Last against To'First - 1 instead of
        0, since the lower bound of the actual string may be greater than one.

        PR ada/20753

        (Put): Fix condition to raise Layout_Error when invalid
        layout is requested.


Modified:
    branches/gcc-4_1-branch/gcc/ada/ChangeLog
    branches/gcc-4_1-branch/gcc/ada/a-tifiio.adb


-- 


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



More information about the Gcc-bugs mailing list