This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/68622] initialization of atomic objects emits unnecessary fences
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 05 Aug 2016 06:08:34 +0000
- Subject: [Bug tree-optimization/68622] initialization of atomic objects emits unnecessary fences
- Auto-submitted: auto-generated
- References: <bug-68622-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68622
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-08-05
Component|middle-end |tree-optimization
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
To do this, GCC needs a pass which changes __atomic_stores to be relaxed
stores.
Confirmed. I wonder how clang does it.