From: Eric Botcazou Date: Tue, 8 Apr 2008 10:34:15 +0000 (+0000) Subject: decl.c (adjust_packed): Expand comment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=373140ef746ba530ad7d3ff56c9e6aea4aacdf0f;p=gcc.git decl.c (adjust_packed): Expand comment. * decl.c (adjust_packed): Expand comment. From-SVN: r134091 --- 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 + + * decl.c (adjust_packed): Expand comment. + 2008-04-08 Arnaud Charlet * 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;