Commit 373140ef by Eric Botcazou Committed by Eric Botcazou

decl.c (adjust_packed): Expand comment.

	* decl.c (adjust_packed): Expand comment.

From-SVN: r134091
parent 903b3003
2008-04-08 Eric Botcazou <ebotcazou@adacore.com>
* decl.c (adjust_packed): Expand comment.
2008-04-08 Arnaud Charlet <charlet@adacore.com> 2008-04-08 Arnaud Charlet <charlet@adacore.com>
* s-tasuti.ads: Use Task_Address instead of System.Address. * s-tasuti.ads: Use Task_Address instead of System.Address.
...@@ -5807,7 +5807,9 @@ static int ...@@ -5807,7 +5807,9 @@ static int
adjust_packed (tree field_type, tree record_type, int packed) adjust_packed (tree field_type, tree record_type, int packed)
{ {
/* If the field contains an item of variable size, we cannot pack it /* If the field contains an item of variable size, we cannot pack it
because we cannot create temporaries of non-fixed size. */ because we cannot create temporaries of non-fixed size in case
we need to take the address of the field. See addressable_p and
the notes on the addressability issues for further details. */
if (is_variable_size (field_type)) if (is_variable_size (field_type))
return 0; return 0;
......
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