Commit 5b09c153 by Richard Kenner Committed by Geert Bosch

decl.c (validate_size): Modify message for bad size to avoid implication that…

decl.c (validate_size): Modify message for bad size to avoid implication that compiler is modifying the...

	* decl.c (validate_size): Modify message for bad size to avoid
	implication that compiler is modifying the size.

From-SVN: r46551
parent 4d553668
2001-10-26 Richard Kenner <kenner@gnat.com>
* decl.c (validate_size): Modify message for bad size to avoid
implication that compiler is modifying the size.
2001-10-26 Robert Dewar <dewar@gnat.com>
* prj-util.adb: Minor reformatting. Fix bad header format.
......
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment