[Bug c++/45908] New: ICE involving decltype: in tree_low_cst, at tree.h:4114
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45908 Summary: ICE involving decltype: in tree_low_cst, at tree.h:4114 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: tom.pri...@ualberta.net Created attachment 21968 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=21968 failing file g++-4.6.0-alpha20100925 -std=c++0x -c test.cc test.cc:7:50: internal compiler error: in tree_low_cst, at tree.h:4114 also: g++-4.6.0-alpha20100925 -std=c++0x -c test2.cc test.cc:6:33: error: 'statements' was not declared in this scope test.cc:6:33: error: 'statements' was not declared in this scope
[Bug c++/46145] New: [C++0x] Should defaulted copy constructor imply default move constructor?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46145 Summary: [C++0x] Should defaulted copy constructor imply default move constructor? Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: tom.pri...@ualberta.net Does a class with an explicitly defaulted const& copy constructor have a default move constructor? n3126: 12.8.11 seems to indicate that it should. However, the attached test case doesn't work.
[Bug c++/46145] [C++0x] Should defaulted copy constructor imply default move constructor?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46145 --- Comment #1 from tom.prince at ualberta dot net 2010-10-23 04:55:18 UTC --- Created attachment 22131 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22131 Test case
[Bug libstdc++/46148] New: [C++0x] std::map lacks a template insert overload
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46148 Summary: [C++0x] std::map lacks a template insert overload Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: tom.pri...@ualberta.net #include class moveable { public: moveable(moveable&&) {} moveable() {} operator int () {return 0;} }; int main () { std::map the_map; return the_map[true]; }