https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63364
--- Comment #4 from ncomputers.org ---
(In reply to Andrew Pinski from comment #3)
> (In reply to ncomputers.org from comment #2)
> > Can we write your name in our website?
> >
> > "Andrew Pinski taught us something new".
>
> I guess.
Ok, here
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63364
--- Comment #3 from Andrew Pinski ---
(In reply to ncomputers.org from comment #2)
> Can we write your name in our website?
>
> "Andrew Pinski taught us something new".
I guess.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63364
--- Comment #2 from ncomputers.org ---
(In reply to Andrew Pinski from comment #1)
> >B(A const*const&aa):a(aa){}
>
> >B*b=new B(this);
>
>
> There is a temporary variable being created there and it goes out of scope
> after the statem
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63364
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---