[Bug c++/65748] [C++11][C++14]Invalid copy elision on operand of throw-exception

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

Jonathan Wakely redi at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org ---
Already reported (three times).

*** This bug has been marked as a duplicate of bug 57533 ***


[Bug c++/65748] [C++11][C++14]Invalid copy elision on operand of throw-exception

2015-04-12 Thread frankhb1989 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65748

--- Comment #1 from frankhb1989 at gmail dot com ---
G++ 5 also seems to fail.
Recent Clang++ is OK.