diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2007-12-07 14:35:22 +0000 |
---|---|---|
committer | Samuel Tardieu <sam@gcc.gnu.org> | 2007-12-07 14:35:22 +0000 |
commit | 2eb160f205ce2a807ecdef95b2e88652a5e3f0ed (patch) | |
tree | 99ac07d9e57d5b57c2e90cab12cbde419f4ecfb6 /gcc/ada/decl.c | |
parent | e397a9f1b6dcd66e4d5606588c3e3cdf687cf194 (diff) | |
download | gcc-2eb160f205ce2a807ecdef95b2e88652a5e3f0ed.zip gcc-2eb160f205ce2a807ecdef95b2e88652a5e3f0ed.tar.gz gcc-2eb160f205ce2a807ecdef95b2e88652a5e3f0ed.tar.bz2 |
re PR ada/15805 (Illegal program not detected, allows writing through access to constant)
gcc/ada/
PR ada/15805
* sem_ch6.adb (Process_Formals): Prevent an access type formal
to be initialized with an access to constant object.
gcc/testsuite/
PR ada/15805
* gnat.dg/specs/access_constants.ads: New test.
From-SVN: r130676
Diffstat (limited to 'gcc/ada/decl.c')
0 files changed, 0 insertions, 0 deletions