diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-04-17 12:01:17 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-04-17 12:01:17 +0200 |
commit | 03f050b6b4f0b051bbd9ddf7061b5002808ed052 (patch) | |
tree | 743b5a8129e06c619ef80fa5f1948d96e7408beb /gcc/ada/sem_elim.adb | |
parent | bf327c92ead248cae1afba338d72bb7116dfc783 (diff) | |
download | gcc-03f050b6b4f0b051bbd9ddf7061b5002808ed052.zip gcc-03f050b6b4f0b051bbd9ddf7061b5002808ed052.tar.gz gcc-03f050b6b4f0b051bbd9ddf7061b5002808ed052.tar.bz2 |
[multiple changes]
2009-04-17 Nicolas Roche <roche@adacore.com>
* initialize.c (__gnat_initialize): remove MAX_PATH limitation on each
argument length.
2009-04-17 Gary Dismukes <dismukes@adacore.com>
* sem_elim.adb (Eliminate_Error_Msg): Minor change to error message to
cover both calls and attribute references ("call" => "reference").
2009-04-17 Ed Schonberg <schonberg@adacore.com>
* sem_ch3.adb (Analyze_Subtype_Declaration): A subtype of an access
type for which Storage_Size is set to 0 is legal in a pure unit.
From-SVN: r146237
Diffstat (limited to 'gcc/ada/sem_elim.adb')
-rw-r--r-- | gcc/ada/sem_elim.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_elim.adb b/gcc/ada/sem_elim.adb index c15f9cfb..6dd7021 100644 --- a/gcc/ada/sem_elim.adb +++ b/gcc/ada/sem_elim.adb @@ -671,7 +671,7 @@ package body Sem_Elim is for J in Elim_Entities.First .. Elim_Entities.Last loop if E = Elim_Entities.Table (J).Subp then Error_Msg_Sloc := Sloc (Elim_Entities.Table (J).Prag); - Error_Msg_NE ("cannot call subprogram & eliminated #", N, E); + Error_Msg_NE ("cannot reference subprogram & eliminated #", N, E); return; end if; end loop; |