[Bug c++/44870] [4.7 regression] [C++0x] error when calling function with rvalue argument inside template

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun May 29 19:14:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44870

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |jason at gcc dot gnu.org
                   |gnu.org                     |
            Summary|[C++0x] -pedantic causes    |[4.7 regression] [C++0x]
                   |error when calling function |error when calling function
                   |with rvalue argument inside |with rvalue argument inside
                   |template                    |template

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-29 19:09:36 UTC ---
In pre-4.7 it fails even without pedantic because of the fix for bug 49058.



More information about the Gcc-bugs mailing list