[Bug c++/63364] GCC optimizer causing memory corruption

2014-09-25 Thread contact at ncomputers dot org
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

[Bug c++/63364] GCC optimizer causing memory corruption

2014-09-24 Thread pinskia at gcc dot gnu.org
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.

[Bug c++/63364] GCC optimizer causing memory corruption

2014-09-24 Thread contact at ncomputers dot org
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

[Bug c++/63364] GCC optimizer causing memory corruption

2014-09-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63364 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---