[Bug c++/36872] __has_nothrow_copy(T) false for T with a throwing vararg ctor

2008-07-21 Thread paolo at gcc dot gnu dot org
--- Comment #5 from paolo at gcc dot gnu dot org 2008-07-21 16:19 --- Subject: Bug 36872 Author: paolo Date: Mon Jul 21 16:18:38 2008 New Revision: 138034 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138034 Log: /cp 2008-07-21 Paolo Carlini [EMAIL PROTECTED] PR

[Bug c++/36872] __has_nothrow_copy(T) false for T with a throwing vararg ctor

2008-07-21 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2008-07-21 16:21 --- Fixed for 4.4.0. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/36872] __has_nothrow_copy(T) false for T with a throwing vararg ctor

2008-07-19 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2008-07-19 12:04 --- Martin, I'm attaching a draft combined patch (vs current tree, fixes 36870, 36871, 37872) which I mean to submit after the one for 36870 alone (already posted). In the meanwhile, if you want, you can apply it

[Bug c++/36872] __has_nothrow_copy(T) false for T with a throwing vararg ctor

2008-07-19 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2008-07-19 12:04 --- Created an attachment (id=15930) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15930action=view) Draft -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36872

[Bug c++/36872] __has_nothrow_copy(T) false for T with a throwing vararg ctor

2008-07-18 Thread sebor at roguewave dot com
--- Comment #1 from sebor at roguewave dot com 2008-07-19 00:53 --- Or any other throwing ctor, for that matter: $ cat u.cpp g++ u.cpp -std=c++0x ./a.out #include cassert struct S { S (const S) throw (); S (int) throw (int); }; int main () { assert (__has_nothrow_copy

[Bug c++/36872] __has_nothrow_copy(T) false for T with a throwing vararg ctor

2008-07-18 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle |dot org

[Bug c++/36872] __has_nothrow_copy(T) false for T with a throwing vararg ctor

2008-07-18 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2008-07-19 00:57 --- Martin, Ok. I know where the problem is for __has_nothrow_copy and assign. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36872