[Bug c++/77875] New: C++ core issue 1288
aleksey.covacevice at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Oct 5 19:13:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77875
Bug ID: 77875
Summary: C++ core issue 1288
Product: gcc
Version: 6.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: aleksey.covacevice at gmail dot com
Target Milestone: ---
GCC does not fully implement the resolution for core issue 1288
(http://wg21.link/cwg1288).
Example:
int i; (int&){i};
GCC yields "invalid cast of an rvalue expression of type 'int' to type 'int&'".
More info and discussion:
http://stackoverflow.com/questions/39840117/brace-initialization-vs-parenthesis-bug
More information about the Gcc-bugs
mailing list