Re: PATCH: Add -Waddress-of-packed-member to GCC 9 porting guide

2019-01-16 Thread Martin Liška
On 1/15/19 5:25 PM, H.J. Lu wrote: > On Tue, Jan 15, 2019 at 7:05 AM Martin Liška wrote: >> >> On 1/15/19 3:19 PM, H.J. Lu wrote: >>> On Tue, Jan 15, 2019 at 6:07 AM Martin Liška wrote: On 1/14/19 3:14 PM, H.J. Lu wrote: > On Mon, Jan 14, 2019 at 5:53 AM Richard Biener > wrote:

Re: PATCH: Add -Waddress-of-packed-member to GCC 9 porting guide

2019-01-15 Thread H.J. Lu
On Tue, Jan 15, 2019 at 7:05 AM Martin Liška wrote: > > On 1/15/19 3:19 PM, H.J. Lu wrote: > > On Tue, Jan 15, 2019 at 6:07 AM Martin Liška wrote: > >> > >> On 1/14/19 3:14 PM, H.J. Lu wrote: > >>> On Mon, Jan 14, 2019 at 5:53 AM Richard Biener > >>> wrote: > > On Mon, Jan 14, 2019 at

Re: PATCH: Add -Waddress-of-packed-member to GCC 9 porting guide

2019-01-15 Thread Martin Liška
On 1/15/19 3:19 PM, H.J. Lu wrote: > On Tue, Jan 15, 2019 at 6:07 AM Martin Liška wrote: >> >> On 1/14/19 3:14 PM, H.J. Lu wrote: >>> On Mon, Jan 14, 2019 at 5:53 AM Richard Biener >>> wrote: On Mon, Jan 14, 2019 at 2:46 PM H.J. Lu wrote: > > This patch adds -Waddress-of-packed

Re: PATCH: Add -Waddress-of-packed-member to GCC 9 porting guide

2019-01-15 Thread H.J. Lu
On Tue, Jan 15, 2019 at 6:07 AM Martin Liška wrote: > > On 1/14/19 3:14 PM, H.J. Lu wrote: > > On Mon, Jan 14, 2019 at 5:53 AM Richard Biener > > wrote: > >> > >> On Mon, Jan 14, 2019 at 2:46 PM H.J. Lu wrote: > >>> > >>> This patch adds -Waddress-of-packed-member to GCC 9 porting guide. > >>> >

Re: PATCH: Add -Waddress-of-packed-member to GCC 9 porting guide

2019-01-15 Thread Martin Liška
On 1/14/19 3:14 PM, H.J. Lu wrote: > On Mon, Jan 14, 2019 at 5:53 AM Richard Biener > wrote: >> >> On Mon, Jan 14, 2019 at 2:46 PM H.J. Lu wrote: >>> >>> This patch adds -Waddress-of-packed-member to GCC 9 porting guide. >>> >>> OK to install? >> >> The docs fail to mention what to do when the un

Re: PATCH: Add -Waddress-of-packed-member to GCC 9 porting guide

2019-01-14 Thread H.J. Lu
On Mon, Jan 14, 2019 at 5:53 AM Richard Biener wrote: > > On Mon, Jan 14, 2019 at 2:46 PM H.J. Lu wrote: > > > > This patch adds -Waddress-of-packed-member to GCC 9 porting guide. > > > > OK to install? > > The docs fail to mention what to do when the unaligned pointer is _not_ > safe to use. Th

Re: PATCH: Add -Waddress-of-packed-member to GCC 9 porting guide

2019-01-14 Thread Richard Biener
On Mon, Jan 14, 2019 at 2:46 PM H.J. Lu wrote: > > This patch adds -Waddress-of-packed-member to GCC 9 porting guide. > > OK to install? The docs fail to mention what to do when the unaligned pointer is _not_ safe to use. That is, how do I fix struct { char c; int i[4]; } s __attribute__((packe

PATCH: Add -Waddress-of-packed-member to GCC 9 porting guide

2019-01-14 Thread H.J. Lu
This patch adds -Waddress-of-packed-member to GCC 9 porting guide. OK to install? Thanks. H.J. --- Index: gcc-9/porting_to.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-9/porting_to.html,v retrieving revision 1.1 diff -u -r1.1 port