[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions

2012-07-07 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578 --- Comment #13 from Jonathan Wakely redi at gcc dot gnu.org 2012-07-07 18:13:24 UTC --- Author: redi Date: Sat Jul 7 18:13:19 2012 New Revision: 189351 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=189351 Log: PR libstdc++/53578

[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions

2012-07-07 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578 --- Comment #14 from Jonathan Wakely redi at gcc dot gnu.org 2012-07-07 18:35:58 UTC --- Author: redi Date: Sat Jul 7 18:35:52 2012 New Revision: 189352 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=189352 Log: PR libstdc++/53578

[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions

2012-07-07 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions

2012-07-07 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions

2012-06-29 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|WAITING ---

[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions

2012-06-29 Thread internet at 123gen dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578 --- Comment #12 from Zouzou internet at 123gen dot com 2012-06-29 14:16:16 UTC --- applying the changes in rev 188646 to a MinGW with GCC 4.7.0 works fine and doesn't reproduce the problem detailed in bug 46455.

[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions

2012-06-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578 --- Comment #9 from Jonathan Wakely redi at gcc dot gnu.org 2012-06-15 00:27:35 UTC --- Author: redi Date: Fri Jun 15 00:27:29 2012 New Revision: 188646 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=188646 Log: PR libstdc++/53578 *

[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions

2012-06-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578 --- Comment #9 from Jonathan Wakely redi at gcc dot gnu.org 2012-06-15 00:27:35 UTC --- Author: redi Date: Fri Jun 15 00:27:29 2012 New Revision: 188646 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=188646 Log: PR libstdc++/53578 *

[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions

2012-06-14 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578 --- Comment #10 from Jonathan Wakely redi at gcc dot gnu.org 2012-06-15 00:28:36 UTC --- Should be fixed on trunk, please test.

[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions

2012-06-06 Thread vanboxem.ruben at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578 Ruben Van Boxem vanboxem.ruben at gmail dot com changed: What|Removed |Added CC|

[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions

2012-06-06 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578 --- Comment #6 from Jonathan Wakely redi at gcc dot gnu.org 2012-06-06 10:43:22 UTC --- That's because ext/concurrence.h is included throughout the library. I plan to add __gthread_recursive_mutex_destroy on trunk but any fix on the release

[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions

2012-06-06 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions

2012-06-06 Thread vanboxem.ruben at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578 --- Comment #7 from Ruben Van Boxem vanboxem.ruben at gmail dot com 2012-06-06 11:10:34 UTC --- Changing this line: static typename __enable_ifsizeof(_Rm::sema), void::__type to read: static typename

[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions

2012-06-06 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578 --- Comment #8 from Jonathan Wakely redi at gcc dot gnu.org 2012-06-06 11:21:30 UTC --- Yes I know, but I want to get rid of that code entirely on trunk, and even a small tweak to fix the narrowing conversion might not be suitable for the release

[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions

2012-06-04 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2012-06-04 23:55:04 UTC --- I assume g++ will hit this too once it adds support for the narrowing check in converted constant expressions. IIRC g++ had the check for narrowing in

[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions

2012-06-04 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578 --- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org 2012-06-05 00:00:18 UTC --- (In reply to comment #1) I assume g++ will hit this too once it adds support for the narrowing check in converted constant expressions. IIRC g++

[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions

2012-06-04 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|

[Bug libstdc++/53578] include/ext/concurrence.h relies on ill-formed narrowing conversions

2012-06-04 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53578 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org 2012-06-05 00:24:31 UTC --- That stuff was a hack to get it working in a hurry, ideally we want a __gthread_mutex_destroy function. Otherwise, I can fix the sfinae check to work