This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: bug wrt gcc 4.7 and the C++11 memory model
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Andrew MacLeod <amacleod at redhat dot com>, Jeff Law <law at redhat dot com>, Vladimir Makarov <vmakarov at redhat dot com>
- Date: Fri, 31 Aug 2012 20:24:58 +0200
- Subject: Re: bug wrt gcc 4.7 and the C++11 memory model
- References: <BANLkTi=MP-650vt56DFvtSHKqXorp0tkVA@mail.gmail.com> <1331644794.2986.10033.camel@triegel.csb> <E04B9761-72FB-4A71-91B6-5640518033AA@inria.fr> <AF063BC0-90FD-4767-A05E-2B4D36F319EB@inria.fr> <7F6D7AF8-0FDE-4369-83AF-213C44FE95FE@inria.fr> <1343811659.20102.1056.camel@triegel.csb> <1343814602.20102.1078.camel@triegel.csb> <1DFF37FC-07FD-4162-8097-DB6D1F3C0E0D@inria.fr> <1344500459.20102.5644.camel@triegel.csb> <5023B15B.8000205@redhat.com> <1344535222.20102.5661.camel@triegel.csb> <50240DEA.1010703@redhat.com> <502571AB.1070804@redhat.com> <5027CB12.7020106@redhat.com> <50285E37.7030700@redhat.com> <5036721E.8040903@redhat.com> <503683F4.50700@redhat.com> <50368E95.2020708@redhat.com> <503FDB3E.7080900@redhat.com> <503FF052.5040402@redhat.com> <5040B28F.7040301@redhat.com> <5040EB8E.6090403@redhat.com>
On Fri, Aug 31, 2012 at 6:51 PM, Richard Henderson <rth@redhat.com> wrote:
> Fixed as follows. This seems to be the only entry point in alias.c that didn't take ALIAS_SET_MEMORY_BARRIER into account. Getting the above into a test case is tricky, and I havn't figured out how to match it.
>
> Full testing still underway, but I expect it to pass.
Any reason to not add the (mem:BLK (scratch)) special case as well?
Ciao!
Steven