diff options
author | bosch <bosch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-26 16:59:34 +0000 |
---|---|---|
committer | bosch <bosch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-26 16:59:34 +0000 |
commit | bc46dbcbead34bb798ab130a8883f001565947f6 (patch) | |
tree | a45c4a4ceefa0542b2b4ee8895b6ba416b13f753 /gcc/ada/decl.c | |
parent | 4c339ad00c890e098f7d11755ccd1bf80f847d40 (diff) | |
download | gcc-bc46dbcbead34bb798ab130a8883f001565947f6.tar.gz |
* decl.c (validate_size): Modify message for bad size to avoid
implication that compiler is modifying the size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46551 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/decl.c')
-rw-r--r-- | gcc/ada/decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/decl.c b/gcc/ada/decl.c index 23d16f36432..254d6d906a9 100644 --- a/gcc/ada/decl.c +++ b/gcc/ada/decl.c @@ -5560,7 +5560,7 @@ validate_size (uint_size, gnu_type, gnat_object, kind, component_p, zero_ok) && TREE_CODE (rm_size (gnu_type)) == INTEGER_CST && ! tree_int_cst_lt (size, rm_size (gnu_type))) post_error_ne_tree_2 - ("\\size of ^ rounded up to multiple of alignment (^ bits)", + ("\\size of ^ is not a multiple of alignment (^ bits)", gnat_error_node, gnat_object, rm_size (gnu_type), TYPE_ALIGN (gnu_type)); |