--- 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
--- 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
--- 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
--- 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
--- 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
--
paolo dot carlini at oracle dot com changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle
|dot org
--- 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