aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2009-10-10 14:52:18 +0000
committerSamuel Tardieu <sam@gcc.gnu.org>2009-10-10 14:52:18 +0000
commitfdfea49e45f7aee01a4fa17075803a57e02b9aac (patch)
treeb12a580286df580969f2eb6b3ce6abcbc6f949ab /gcc
parent9b99d0fde621189a97674ea00cf6c8c2f9686532 (diff)
downloadgcc-fdfea49e45f7aee01a4fa17075803a57e02b9aac.zip
gcc-fdfea49e45f7aee01a4fa17075803a57e02b9aac.tar.gz
gcc-fdfea49e45f7aee01a4fa17075803a57e02b9aac.tar.bz2
sem_eval.adb: Give a more precise error message.
gcc/ada/ * sem_eval.adb: Give a more precise error message. From-SVN: r152619
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/ChangeLog4
-rw-r--r--gcc/ada/sem_eval.adb2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index d5e34e9..13df4f3 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-10 Samuel Tardieu <sam@rfc1149.net>
+
+ * sem_eval.adb: Give a more precise error message.
+
2009-10-06 Samuel Tardieu <sam@rfc1149.net>
PR ada/41383
diff --git a/gcc/ada/sem_eval.adb b/gcc/ada/sem_eval.adb
index 18853d7..6e06e83 100644
--- a/gcc/ada/sem_eval.adb
+++ b/gcc/ada/sem_eval.adb
@@ -5018,7 +5018,7 @@ package body Sem_Eval is
if Attribute_Name (N) = Name_Size then
Error_Msg_N
- ("size attribute is only static for scalar type " &
+ ("size attribute is only static for static scalar type " &
"(RM 4.9(7,8))", N);
-- Flag array cases