OSDN Git Service

* decl.c (adjust_packed): Expand comment.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Apr 2008 10:34:15 +0000 (10:34 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Apr 2008 10:34:15 +0000 (10:34 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134091 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/ChangeLog
gcc/ada/decl.c

index 18cbd4a..7dc5d0f 100644 (file)
@@ -1,3 +1,7 @@
+2008-04-08  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * decl.c (adjust_packed): Expand comment.
+
 2008-04-08  Arnaud Charlet  <charlet@adacore.com>
 
        * s-tasuti.ads: Use Task_Address instead of System.Address.
index c45492f..2d4742d 100644 (file)
@@ -5807,7 +5807,9 @@ static int
 adjust_packed (tree field_type, tree record_type, int packed)
 {
   /* 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))
     return 0;