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: strict aliasing and socket structures


On 19/02/2017 15:52, Abhinav Gauniyal wrote:

> Any sort of help would be beneficial to me, I'm open to
> suggestions/advice as well

If you dislike the optimizations enabled by -fstrict-aliasing
(meaning your code is non-portable, by the way) then why don't
you simply turn them off, with -fno-strict-aliasing ?
(As is done for the Linux kernel.)

Regards.


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