[Bug c++/39923] [C++0x] rvalue references

2009-04-27 Thread tom dot prince at ualberta dot net
--- Comment #14 from tom dot prince at ualberta dot net 2009-04-27 16:25 --- The updated version n2844. From the intro: (I guess I meant "being bound to" in the language of the standard) int i = 2; double &&d = i; // previously well-formed (d bound to a temporar

[Bug c++/39923] [C++0x] rvalue references

2009-04-27 Thread tom dot prince at ualberta dot net
--- Comment #11 from tom dot prince at ualberta dot net 2009-04-27 15:43 --- Also, there is the issue of lvalues binding to rvalue references. See N2831 and possibly n2835. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39923

[Bug c++/39923] [C++0x] rvalue references

2009-04-27 Thread tom dot prince at ualberta dot net
--- Comment #9 from tom dot prince at ualberta dot net 2009-04-27 15:01 --- This is an old patch that purports to fix 3rd of the original tests. http://gcc.gnu.org/ml/gcc-patches/2008-10/msg00436.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39923

[Bug c++/39923] [C++0x] rvalue references

2009-04-27 Thread tom dot prince at ualberta dot net
--- Comment #8 from tom dot prince at ualberta dot net 2009-04-27 14:52 --- Created an attachment (id=17768) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17768&action=view) ICE from test2.cc The errors test2.cc generate vary if the various functions are commen

[Bug c++/39923] [C++0x] rvalue references

2009-04-27 Thread tom dot prince at ualberta dot net
--- Comment #7 from tom dot prince at ualberta dot net 2009-04-27 14:50 --- Created an attachment (id=17767) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17767&action=view) Various failed attempts to create a std::vector> from an intializer list. These are my a

[Bug c++/39923] [C++0x] rvalue references

2009-04-26 Thread tom dot prince at ualberta dot net
--- Comment #5 from tom dot prince at ualberta dot net 2009-04-27 04:01 --- Further consideration seems to indicate that the standard spuriously allows the second case to be illegal. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39923

[Bug c++/39923] [C++0x] rvalue references

2009-04-26 Thread tom dot prince at ualberta dot net
--- Comment #4 from tom dot prince at ualberta dot net 2009-04-27 03:16 --- Created an attachment (id=17764) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17764&action=view) GCC version details -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39923

[Bug c++/39923] [C++0x] rvalue references

2009-04-26 Thread tom dot prince at ualberta dot net
--- Comment #3 from tom dot prince at ualberta dot net 2009-04-27 03:15 --- Created an attachment (id=17763) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17763&action=view) GCC version details -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39923

[Bug c++/39923] [C++0x] rvalue references

2009-04-26 Thread tom dot prince at ualberta dot net
--- Comment #2 from tom dot prince at ualberta dot net 2009-04-27 03:13 --- Created an attachment (id=17762) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17762&action=view) gcc output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39923

[Bug c++/39923] [C++0x] rvalue references

2009-04-26 Thread tom dot prince at ualberta dot net
--- Comment #1 from tom dot prince at ualberta dot net 2009-04-27 03:12 --- Created an attachment (id=17761) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17761&action=view) Test Case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39923

[Bug c++/39923] New: [C++0x] rvalue references

2009-04-26 Thread tom dot prince at ualberta dot net
Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tom dot prince at ualberta dot net GCC host triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39923

[Bug c++/39901] New: [C++0x] Initializer list not allowed in []

2009-04-25 Thread tom dot prince at ualberta dot net
MED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tom dot prince at ualberta dot net GCC host triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39901