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/15805] Illegal program not detected, allows writing through access to constant



------- Comment #4 from charlet at gcc dot gnu dot org  2007-12-13 17:59 -------
Subject: Bug 15805

Author: charlet
Date: Thu Dec 13 17:59:09 2007
New Revision: 130903

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130903
Log:
Restore part of patch lost for PR ada/15805:
        * sem_ch3.adb (Analyze_Object_Declaration): Signal an error
        when an access to constant is used to initialize an access
        value.

Modified:
    trunk/gcc/ada/sem_ch3.adb


-- 


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


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