This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
> You guys have come up with a very weird idea of what > non-addressability means. These fields are all addressable, they > are just not directly addressable.
Terminology is always tricky here. "addressable" in this context means that no pointer can point directly to the field.
So if I have struct foo {int x; float y; } bar; int *pi; float *pf;
and mark X as "nonaddressable", I know that an assigment to *pi can't affect bar.x.
If you told me this is what you meant by "nonaddressable", i'd probably call you crazy.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |