Summary: | decltype of parenthesized xvalue does not correctly yield rvalue-reference | ||
---|---|---|---|
Product: | gcc | Reporter: | Tobias Reh <treh> |
Component: | c++ | Assignee: | Marek Polacek <mpolacek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | daniel.kruegler, webrown.cpp |
Priority: | P3 | ||
Version: | 5.2.0 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2019-07-21 00:00:00 | |
Bug Depends on: | |||
Bug Blocks: | 54366 |
Description
Tobias Reh
2015-10-05 13:23:14 UTC
It seems as if the compiler still implements CWG 421 http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#421 instead of the newer CWG 616: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#616 Author: mpolacek Date: Sun Jul 21 21:20:27 2019 New Revision: 273652 URL: https://gcc.gnu.org/viewcvs?rev=273652&root=gcc&view=rev Log: PR c++/67853 * g++.dg/cpp0x/decltype72.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/decltype72.C Modified: trunk/gcc/testsuite/ChangeLog Test added. |