This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/15805] Illegal program not detected, allows writing through access to constant
- From: "charlet at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Dec 2007 17:59:21 -0000
- Subject: [Bug ada/15805] Illegal program not detected, allows writing through access to constant
- References: <bug-15805-286@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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