[Bug c++/19199] [3.3/3.4/4.0/4.1 Regression] Wrong warning about returning a reference to a temporary

Andrew Pinski pinskia@physics.uc.edu
Mon Mar 7 19:23:00 GMT 2005


On Mar 7, 2005, at 2:13 PM, Giovanni Bajo wrote:

> Well, that sounds largely impossible. Can you point exactly which bug 
> are
> you talking of? I know for a fact that the extension itself has always
> worked for basic rvalue usage, with basic types. Instead, I would not 
> be
> surprised if some more complex usage of it used to be (or still is) 
> broken,
> like weird lvalue contexts, usage in templates, operator overloading or
> similar.

Yes this was PR 19068 and bug 18548.

-- Pinski



More information about the Gcc mailing list