: 6.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: contact at ncomputers dot org
Target Milestone: ---
Created attachment 40773
--> https://gcc.gnu.org/bugzi
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 #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
++
Assignee: unassigned at gcc dot gnu.org
Reporter: contact at ncomputers dot org
http://ncomputers.org/content/code.php?src=findings/gcc%20optimizer%20memory%20corruption.cpp
We found that probably some optimization flags of the GCC compiler are causing
memory corruption after the