Re: Mitigation for PR target/88469 on arm-based systems bootstrapping with gcc-6/7/8

2019-01-24 Thread Richard Biener
On Wed, 23 Jan 2019, Richard Earnshaw (lists) wrote: > On 22/01/2019 15:46, Jakub Jelinek wrote: > > On Tue, Jan 22, 2019 at 02:43:38PM +, Richard Earnshaw (lists) wrote: > >>PR target/88469 > >>* profile-count.h (profile_count): Add dummy file with 64-bit alignment > >>on arm-base

Re: Mitigation for PR target/88469 on arm-based systems bootstrapping with gcc-6/7/8

2019-01-23 Thread Richard Earnshaw (lists)
On 22/01/2019 15:46, Jakub Jelinek wrote: > On Tue, Jan 22, 2019 at 02:43:38PM +, Richard Earnshaw (lists) wrote: >> PR target/88469 >> * profile-count.h (profile_count): Add dummy file with 64-bit alignment >> on arm-based systems using gcc-6/7/8. >> > >> diff --git a/gcc/profi

Re: Mitigation for PR target/88469 on arm-based systems bootstrapping with gcc-6/7/8

2019-01-22 Thread Jakub Jelinek
On Tue, Jan 22, 2019 at 02:43:38PM +, Richard Earnshaw (lists) wrote: > PR target/88469 > * profile-count.h (profile_count): Add dummy file with 64-bit alignment > on arm-based systems using gcc-6/7/8. > > diff --git a/gcc/profile-count.h b/gcc/profile-count.h > index c83fa3

Re: Mitigation for PR target/88469 on arm-based systems bootstrapping with gcc-6/7/8

2019-01-22 Thread Richard Earnshaw (lists)
On 22/01/2019 15:20, Richard Biener wrote: > On Tue, 22 Jan 2019, Richard Earnshaw (lists) wrote: > >> This patch, for gcc 8/9 is a mitigation patch for PR target/88469 where >> gcc-6/7/8 miscompile a structure whose alignment is dominated by a >> 64-bit bitfield member. Since the PCS rules for s

Re: Mitigation for PR target/88469 on arm-based systems bootstrapping with gcc-6/7/8

2019-01-22 Thread Richard Biener
On Tue, 22 Jan 2019, Richard Earnshaw (lists) wrote: > This patch, for gcc 8/9 is a mitigation patch for PR target/88469 where > gcc-6/7/8 miscompile a structure whose alignment is dominated by a > 64-bit bitfield member. Since the PCS rules for such a type must ignore > any overalignment of the

Mitigation for PR target/88469 on arm-based systems bootstrapping with gcc-6/7/8

2019-01-22 Thread Richard Earnshaw (lists)
This patch, for gcc 8/9 is a mitigation patch for PR target/88469 where gcc-6/7/8 miscompile a structure whose alignment is dominated by a 64-bit bitfield member. Since the PCS rules for such a type must ignore any overalignment of the base type we cannot address this by simply adding a larger ali