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

[Bug c/79216] Feature request: byte order attributes


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79216

--- Comment #1 from H. Peter Anvin <hpa at zytor dot com> ---
The idea being that assignments to/from such a data item would make the
compiler generate the appropriate byte-swapping instructions appropriate for
the architecture.  If part of a packed structure, this would combine with the
appropriate instructions for unaligned references.

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