[Bug ada/15805] Illegal program not detected, allows writing through access to constant
charlet at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Dec 13 17:59:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list