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

--- Comment #11 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> ---
(In reply to Jaroslav Fojtík from comment #9)
> Accessing to an incompatible type throug pointer is not clean in general.
> But I need here to do a dirty job to flip endianity of double type. There
> are not many means to do this cleanly.

You can use a union for that. This is even documented in the GCC man page and
manual.

Reply via email to