This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Continue strict-volatile-bitfields fixes
- From: Bernd Schmidt <bernds at codesourcery dot com>
- To: Richard Earnshaw <rearnsha at arm dot com>
- Cc: Thomas Schwinge <thomas at codesourcery dot com>, Richard Guenther <richard dot guenther at gmail dot com>, Joey Ye <Joey dot Ye at arm dot com>, "dj at redhat dot com" <dj at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, "Mitchell, Mark" <mark_mitchell at mentor dot com>
- Date: Wed, 18 Apr 2012 18:16:32 +0200
- Subject: Re: Continue strict-volatile-bitfields fixes
- References: <4EBD4BCB.4080807@codesourcery.com> <4ED50901.8090300@codesourcery.com> <DC8FF7F4C84BE44B907369AEF21D9D446E5D368C@NA-MBX-04.mgc.mentorg.com> <4F1D72CA.1060908@codesourcery.com> <874nupb2v4.fsf@schwinge.name> <CAFiYyc08w4PGPEgOGAPH0Ag_BBds_1_wLv=R-DnO+j0b7nPycQ@mail.gmail.com> <4F4282AF.7000804@codesourcery.com> <4F428565.1050508@arm.com> <4F42881B.80800@codesourcery.com> <4F436677.9090203@arm.com> <87obqpnj9i.fsf@schwinge.name> <4F8EE84C.20501@arm.com>
On 04/18/2012 06:14 PM, Richard Earnshaw wrote:
> On 18/04/12 16:37, Thomas Schwinge wrote:
>> gcc/testsuite/
>> * gcc.dg/tree-ssa/20030922-1.c: Compile with
>> -fno-strict-volatile-bitfields.
>> * gcc.dg/tree-ssa/foldconst-3.c: Likewise.
>> * gcc.dg/tree-ssa/vrp15.c: Likewise.
>>
>
> None of these have any volatile bitfields, so the option should be a no-op.
The problem is that we have to treat normal bitfields differently as
well, since a variable may later be declared as volatile.
Bernd