Re: warn for dead function calls [4/4] stor-layout.c fallout

2016-07-26 Thread Richard Biener
On Tue, 26 Jul 2016, Prathamesh Kulkarni wrote: > On 26 July 2016 at 17:07, Richard Biener wrote: > > On Tue, 26 Jul 2016, Prathamesh Kulkarni wrote: > > > >> The following is an interesting case which broke stor-layout.c. > >> The patch warned for the following call to be

Re: warn for dead function calls [4/4] stor-layout.c fallout

2016-07-26 Thread Prathamesh Kulkarni
On 26 July 2016 at 17:07, Richard Biener wrote: > On Tue, 26 Jul 2016, Prathamesh Kulkarni wrote: > >> The following is an interesting case which broke stor-layout.c. >> The patch warned for the following call to be dead from >> bit_field_mode_iterator::next_mode() to

Re: warn for dead function calls [4/4] stor-layout.c fallout

2016-07-26 Thread Richard Biener
On Tue, 26 Jul 2016, Prathamesh Kulkarni wrote: > The following is an interesting case which broke stor-layout.c. > The patch warned for the following call to be dead from > bit_field_mode_iterator::next_mode() to get_mode_alignment (): > > /* Stop if the mode requires too much alignment.

warn for dead function calls [4/4] stor-layout.c fallout

2016-07-25 Thread Prathamesh Kulkarni
The following is an interesting case which broke stor-layout.c. The patch warned for the following call to be dead from bit_field_mode_iterator::next_mode() to get_mode_alignment (): /* Stop if the mode requires too much alignment. */ if (GET_MODE_ALIGNMENT (m_mode) > m_align