This is the mail archive of the gcc-help@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]

Re: Target support for packed/aligned (1) structs


On 04/04/2017 09:35 PM, Martin Sebor wrote:

There are target-independent tests in the test suite that exercise
this support so I'd say the answer is yes.

For example gcc.c-torture/execute/strct-pack-1.c (there are others
as well).

Okay, I found gcc.c-torture/execute/20100430-1.c, which actually generates misalignment.

So I'll proceed under the assumption that this in fact works. (And perhaps design things in such a way that we can easily test with misaligned buffers, just to be on the safe side.)

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]