Re: [U-Boot] [RFC PATCH 1/2] Makefile: Use -fno-strict-aliasing globally

2018-09-14 Thread Simon Glass
On 10 September 2018 at 15:53, Bin Meng wrote: > The -fstrict-aliasing option is implicitly enabled at levels -O2, > -O3, -Os by GCC. This option allows the compiler to assume the > strictest aliasing rules applicable to the language being compiled. > For example, the practice of reading from a di

Re: [U-Boot] [RFC PATCH 1/2] Makefile: Use -fno-strict-aliasing globally

2018-09-10 Thread Tom Rini
On Mon, Sep 10, 2018 at 06:53:45AM -0700, Bin Meng wrote: > The -fstrict-aliasing option is implicitly enabled at levels -O2, > -O3, -Os by GCC. This option allows the compiler to assume the > strictest aliasing rules applicable to the language being compiled. > For example, the practice of readin

[U-Boot] [RFC PATCH 1/2] Makefile: Use -fno-strict-aliasing globally

2018-09-10 Thread Bin Meng
The -fstrict-aliasing option is implicitly enabled at levels -O2, -O3, -Os by GCC. This option allows the compiler to assume the strictest aliasing rules applicable to the language being compiled. For example, the practice of reading from a different union member than the one most recently written