This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/60689] Bogus error with atomic::exchange


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60689

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |jakub at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 32469
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32469&action=edit
gcc49-pr60689.patch

Untested fix.  4.8 needs the same fix I think.
In any case, no idea where to put a test for this.  libstdc++-v3?  libatomic? 
g++.dg and just make it compile test?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]