This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r268241 - in /branches/gcc-8-branch/gcc: Change...
- From: rearnsha at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 24 Jan 2019 16:10:07 -0000
- Subject: r268241 - in /branches/gcc-8-branch/gcc: Change...
Author: rearnsha
Date: Thu Jan 24 16:10:06 2019
New Revision: 268241
URL: https://gcc.gnu.org/viewcvs?rev=268241&root=gcc&view=rev
Log:
Mitigation for PR target/88469 on arm-based systems bootstrapping with gcc-6/7/8
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 alignment to the class. We can, however, force
the alignment of the bit-field itself and GCC will handle that as
desired.
PR target/88469
* profile-count.h (profile_count): On ARM systems using GCC 6/7/8
force the alignment of m_val.
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/profile-count.h