http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48869
--- Comment #8 from Jakub Jelinek jakub at gcc dot gnu.org 2011-05-19
07:44:35 UTC ---
Author: jakub
Date: Thu May 19 07:44:31 2011
New Revision: 173888
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=173888
Log:
PR c++/48869
*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48869
--- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org 2011-05-19
08:00:56 UTC ---
Author: jakub
Date: Thu May 19 08:00:50 2011
New Revision: 173889
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=173889
Log:
PR c++/48869
*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48869
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48869
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
Known to work||4.4.6
Target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48869
--- Comment #3 from rguenther at suse dot de rguenther at suse dot de
2011-05-04 15:46:47 UTC ---
On Wed, 4 May 2011, jakub at gcc dot gnu.org wrote:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48869
Jakub Jelinek jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48869
--- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2011-05-04
16:25:46 UTC ---
Not sure if it would be ok to request instantiation of say copy ctor when we
are unsure if the var will be firstprivate or not. The copy ctor can be marked
as
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48869
--- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2011-05-04
16:37:40 UTC ---
Say:
templatetypename T
struct B
{
B () {}
B (const B) = delete;
~B () {}
};
templatetypename T
struct A
{
A () {}
A (const A) { BT b; BT c = b; }
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48869
--- Comment #6 from Jason Merrill jason at gcc dot gnu.org 2011-05-04
17:46:33 UTC ---
I think it would be fine to mark_used the copy ctor in cases where it might or
might not be used.