public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/56505] New: [4.7 Regression] cannot construct std::thread with pointer to member and non-pointer
@ 2013-03-02  1:48 redi at gcc dot gnu.org
  2013-03-02  1:51 ` [Bug libstdc++/56505] " redi at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2013-03-02  1:48 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56505
           Summary: [4.7 Regression] cannot construct std::thread with
                    pointer to member and non-pointer
    Classification: Unclassified
           Product: gcc
           Version: 4.7.3
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: redi@gcc.gnu.org
        ReportedBy: redi@gcc.gnu.org


Switching std::thread to use __bind_simple broke this code, because std::mem_fn
can't handle rvalues:

#include <thread>

struct S {
    void f() { }
} s;

std::thread t(&S::f, s);


This was fixed on trunk by PR 55463 but is a regression since 4.6


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/56505] [4.7 Regression] cannot construct std::thread with pointer to member and non-pointer
  2013-03-02  1:48 [Bug libstdc++/56505] New: [4.7 Regression] cannot construct std::thread with pointer to member and non-pointer redi at gcc dot gnu.org
@ 2013-03-02  1:51 ` redi at gcc dot gnu.org
  2013-03-04 10:49 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2013-03-02  1:51 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-03-02 01:51:11 UTC ---
note to self, the follow-up patch in http://gcc.gnu.org/r193879 was also needed
on trunk


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/56505] [4.7 Regression] cannot construct std::thread with pointer to member and non-pointer
  2013-03-02  1:48 [Bug libstdc++/56505] New: [4.7 Regression] cannot construct std::thread with pointer to member and non-pointer redi at gcc dot gnu.org
  2013-03-02  1:51 ` [Bug libstdc++/56505] " redi at gcc dot gnu.org
@ 2013-03-04 10:49 ` rguenth at gcc dot gnu.org
  2013-04-03 10:14 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-03-04 10:49 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.3


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/56505] [4.7 Regression] cannot construct std::thread with pointer to member and non-pointer
  2013-03-02  1:48 [Bug libstdc++/56505] New: [4.7 Regression] cannot construct std::thread with pointer to member and non-pointer redi at gcc dot gnu.org
  2013-03-02  1:51 ` [Bug libstdc++/56505] " redi at gcc dot gnu.org
  2013-03-04 10:49 ` rguenth at gcc dot gnu.org
@ 2013-04-03 10:14 ` rguenth at gcc dot gnu.org
  2013-04-11  8:01 ` rguenth at gcc dot gnu.org
  2014-06-12 13:25 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-04-03 10:14 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-04-03
      Known to work|                            |4.6.3, 4.8.0
     Ever Confirmed|0                           |1
      Known to fail|                            |4.7.2

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> 2013-04-03 10:13:54 UTC ---
Confirmed.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/56505] [4.7 Regression] cannot construct std::thread with pointer to member and non-pointer
  2013-03-02  1:48 [Bug libstdc++/56505] New: [4.7 Regression] cannot construct std::thread with pointer to member and non-pointer redi at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2013-04-03 10:14 ` rguenth at gcc dot gnu.org
@ 2013-04-11  8:01 ` rguenth at gcc dot gnu.org
  2014-06-12 13:25 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-04-11  8:01 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.7.3                       |4.7.4

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> 2013-04-11 07:59:31 UTC ---
GCC 4.7.3 is being released, adjusting target milestone.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/56505] [4.7 Regression] cannot construct std::thread with pointer to member and non-pointer
  2013-03-02  1:48 [Bug libstdc++/56505] New: [4.7 Regression] cannot construct std::thread with pointer to member and non-pointer redi at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2013-04-11  8:01 ` rguenth at gcc dot gnu.org
@ 2014-06-12 13:25 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-12 13:25 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56505

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|4.7.4                       |4.8.0
      Known to fail|                            |4.7.4

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed in 4.8.0.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-06-12 13:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-02  1:48 [Bug libstdc++/56505] New: [4.7 Regression] cannot construct std::thread with pointer to member and non-pointer redi at gcc dot gnu.org
2013-03-02  1:51 ` [Bug libstdc++/56505] " redi at gcc dot gnu.org
2013-03-04 10:49 ` rguenth at gcc dot gnu.org
2013-04-03 10:14 ` rguenth at gcc dot gnu.org
2013-04-11  8:01 ` rguenth at gcc dot gnu.org
2014-06-12 13:25 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).