diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-04-08 10:34:15 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-04-08 10:34:15 +0000 |
commit | b840e60da9ce337f527e2971c422db0ee6460408 (patch) | |
tree | 43b623568e4f3f6fa2284da8cf2bde093578c6d4 /gcc | |
parent | 63a29e85a97d92af53045ae57411eb4a77f68b51 (diff) | |
download | gcc-b840e60da9ce337f527e2971c422db0ee6460408.tar.gz |
* decl.c (adjust_packed): Expand comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134091 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ada/decl.c | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 18cbd4af108..7dc5d0fd39d 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -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. diff --git a/gcc/ada/decl.c b/gcc/ada/decl.c index c45492f34da..2d4742dd06b 100644 --- a/gcc/ada/decl.c +++ b/gcc/ada/decl.c @@ -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; |