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

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 26 23:37:00 GMT 2017


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

--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> I guess I'm confused why it would not be possible to specify the endianness
> of a scalar, or perhaps far more importantly a pointer to a scalar.  Other
> than that, this feature seems to do 90% of what I was asking for.

This is software so everything is possible, the question is at what cost in
terms of maintainability and robustness.  What was implemented is a compromise
between these and usefulness; if it's 90% for you, then that's not too bad.


More information about the Gcc-bugs mailing list