[Bug libstdc++/68825] testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc fails to compile on powerpc64

2015-12-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68825

Jonathan Wakely  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2015-12-10
   Assignee|unassigned at gcc dot gnu.org  |redi at gcc dot gnu.org
   Target Milestone|--- |6.0
 Ever confirmed|0   |1

[Bug libstdc++/68825] testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc fails to compile on powerpc64

2015-12-10 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68825

--- Comment #4 from Bill Schmidt  ---
Thanks, Jonathan!

[Bug libstdc++/68825] testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc fails to compile on powerpc64

2015-12-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68825

--- Comment #1 from Jonathan Wakely  ---
Author: redi
Date: Thu Dec 10 14:32:16 2015
New Revision: 231516

URL: https://gcc.gnu.org/viewcvs?rev=231516=gcc=rev
Log:
Fix dejagnu directives in shared_ptr test

PR libstdc++/68825
* include/experimental/bits/shared_ptr.h (__shared_ptr, __weak_ptr,
experimental::shared_ptr, experimental::weak_ptr): Constrain
assignment operators.
* testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc:
Change to a compile-only test and change dg-excess-errors to dg-error.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/experimental/bits/shared_ptr.h
   
trunk/libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc

[Bug libstdc++/68825] testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc fails to compile on powerpc64

2015-12-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68825

Jonathan Wakely  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Jonathan Wakely  ---
The test isn't meant to compile cleanly, but it was missing the { dg-do
compile} directive, which is lucky as it made me realise it was also not
testing what it was meant to be testing.

[Bug libstdc++/68825] testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc fails to compile on powerpc64

2015-12-10 Thread youfan.noey at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68825

--- Comment #3 from Fan You  ---
Yes. I was mean to do compile only test! Thanks for fixing this!!