* [Bug libstdc++/46303] 'mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc
2010-11-04 13:22 [Bug libstdc++/46303] New: 'mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc howarth at nitro dot med.uc.edu
@ 2010-11-04 13:27 ` howarth at nitro dot med.uc.edu
2010-11-04 13:29 ` howarth at nitro dot med.uc.edu
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2010-11-04 13:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46303
--- Comment #1 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-11-04 13:27:27 UTC ---
Created attachment 22278
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22278
compressed preprocessed source file for 30_threads/call_once/constexpr.cc at
-m32 on x86_64-apple-darwin10
Generated with...
/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./gcc/g++ -shared-libgcc
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./gcc -nostdinc++
-L/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/src
-L/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/src/.libs
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/bin/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/lib/ -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/include -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/sys-include -m32
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/src/.libs
-g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections
-g -O2 -g -O2 -DLOCALEDIR="." -nostdinc++
-I/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/include/x86_64-apple-darwin10.5.0
-I/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/x86_64-apple-darwin10.5.0/i386/libstdc++-v3/include
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20101103/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20101103/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20101103/libstdc++-v3/testsuite/util
/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20101103/libstdc++-v3/testsuite/30_threads/call_once/constexpr.cc
-std=gnu++0x -S -m32 --save-temps -o constexpr.s
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/46303] 'mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc
2010-11-04 13:22 [Bug libstdc++/46303] New: 'mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc howarth at nitro dot med.uc.edu
2010-11-04 13:27 ` [Bug libstdc++/46303] " howarth at nitro dot med.uc.edu
@ 2010-11-04 13:29 ` howarth at nitro dot med.uc.edu
2010-11-04 13:37 ` redi at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2010-11-04 13:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46303
--- Comment #2 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-11-04 13:29:29 UTC ---
Regressions are not present at r166156.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/46303] 'mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc
2010-11-04 13:22 [Bug libstdc++/46303] New: 'mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc howarth at nitro dot med.uc.edu
2010-11-04 13:27 ` [Bug libstdc++/46303] " howarth at nitro dot med.uc.edu
2010-11-04 13:29 ` howarth at nitro dot med.uc.edu
@ 2010-11-04 13:37 ` redi at gcc dot gnu.org
2010-11-04 13:39 ` redi at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2010-11-04 13:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46303
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-11-04 13:37:13 UTC ---
the preprocessed file shows this condition in <mutex> is false:
#if defined(_GLIBCXX_HAS_GTHREADS) && defined(_GLIBCXX_USE_C99_STDINT_TR1)
so those new tests need
// { dg-require-cstdint "" }
// { dg-require-gthreads "" }
and probably other dg-options directives, similar to
testsuite/30_threads/mutex/cons/1.cc
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/46303] 'mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc
2010-11-04 13:22 [Bug libstdc++/46303] New: 'mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc howarth at nitro dot med.uc.edu
` (2 preceding siblings ...)
2010-11-04 13:37 ` redi at gcc dot gnu.org
@ 2010-11-04 13:39 ` redi at gcc dot gnu.org
2010-11-04 13:47 ` dominiq at lps dot ens.fr
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2010-11-04 13:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46303
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-11-04 13:38:54 UTC ---
Possibly:
// { dg-do compile { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris*
*-*-cyg
win *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } }
// { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd*
*-*-l
inux* alpha*-*-osf* mips-sgi-irix6* } }
// { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } }
// { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } }
// { dg-require-cstdint "" }
// { dg-require-gthreads "" }
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/46303] 'mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc
2010-11-04 13:22 [Bug libstdc++/46303] New: 'mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc howarth at nitro dot med.uc.edu
` (3 preceding siblings ...)
2010-11-04 13:39 ` redi at gcc dot gnu.org
@ 2010-11-04 13:47 ` dominiq at lps dot ens.fr
2010-11-04 13:51 ` paolo.carlini at oracle dot com
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dominiq at lps dot ens.fr @ 2010-11-04 13:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46303
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-11-04 13:47:44 UTC ---
Also seen on powerpc-apple-darwin9.8.0 between revisions 166170 and 166211
(see http://gcc.gnu.org/ml/gcc-testresults/2010-11/msg00098.html and
http://gcc.gnu.org/ml/gcc-testresults/2010-11/msg00189.html ).
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/46303] 'mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc
2010-11-04 13:22 [Bug libstdc++/46303] New: 'mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc howarth at nitro dot med.uc.edu
` (4 preceding siblings ...)
2010-11-04 13:47 ` dominiq at lps dot ens.fr
@ 2010-11-04 13:51 ` paolo.carlini at oracle dot com
2010-11-04 17:02 ` paolo at gcc dot gnu.org
2010-11-05 12:02 ` paolo.carlini at oracle dot com
7 siblings, 0 replies; 9+ messages in thread
From: paolo.carlini at oracle dot com @ 2010-11-04 13:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46303
--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> 2010-11-04 13:51:08 UTC ---
Those are dg-do compile testcases, thus adding on top:
// { dg-require-cstdint "" }
// { dg-require-gthreads "" }
consistently with the existing compile-only testcases should fix the spurious
fails. If Jack can test the changes, I'll commit it later today.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/46303] 'mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc
2010-11-04 13:22 [Bug libstdc++/46303] New: 'mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc howarth at nitro dot med.uc.edu
` (5 preceding siblings ...)
2010-11-04 13:51 ` paolo.carlini at oracle dot com
@ 2010-11-04 17:02 ` paolo at gcc dot gnu.org
2010-11-05 12:02 ` paolo.carlini at oracle dot com
7 siblings, 0 replies; 9+ messages in thread
From: paolo at gcc dot gnu.org @ 2010-11-04 17:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46303
--- Comment #7 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2010-11-04 17:02:35 UTC ---
Author: paolo
Date: Thu Nov 4 17:02:25 2010
New Revision: 166319
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166319
Log:
2010-11-04 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/46303
* testsuite/30_threads/call_once/constexpr.cc: Add missing dg-require
directives.
* testsuite/30_threads/mutex/cons/constexpr.cc: Likewise.
* testsuite/30_threads/once_flag/cons/constexpr.cc: Likewise.
2010-11-04 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/ratio (ratio_add, ratio_subtract, ratio_multiply,
ratio_divide): Declare the data members constexpr.
* testsuite/20_util/ratio/requirements/constexpr_data.cc: Extend.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/ratio
trunk/libstdc++-v3/testsuite/20_util/ratio/requirements/constexpr_data.cc
trunk/libstdc++-v3/testsuite/30_threads/call_once/constexpr.cc
trunk/libstdc++-v3/testsuite/30_threads/mutex/cons/constexpr.cc
trunk/libstdc++-v3/testsuite/30_threads/once_flag/cons/constexpr.cc
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/46303] 'mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc
2010-11-04 13:22 [Bug libstdc++/46303] New: 'mutex' is not a member of 'std' failures in 30_threads/call_once/constexpr.cc, 30_threads/mutex/cons/constexpr.cc, 30_threads/once_flag/cons/constexpr.cc howarth at nitro dot med.uc.edu
` (6 preceding siblings ...)
2010-11-04 17:02 ` paolo at gcc dot gnu.org
@ 2010-11-05 12:02 ` paolo.carlini at oracle dot com
7 siblings, 0 replies; 9+ messages in thread
From: paolo.carlini at oracle dot com @ 2010-11-05 12:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46303
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.6.0
--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> 2010-11-05 12:02:18 UTC ---
Should be fixed. Otherwise please re-open with updated details, thanks.
^ permalink raw reply [flat|nested] 9+ messages in thread