http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52967
Bug #: 52967
Summary: Segmentation fault on std::vector destruction
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Pr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52967
--- Comment #2 from Dmitry Gerasimov 2012-04-13
08:26:08 UTC ---
(In reply to comment #1)
> I don't know if this is not undefined code.
> >v[0].a = run();
>
> Is this:
> double &a = v[0].a;
> a = run();
> Or:
> double tmp = run();
> v[0].a =
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52967
--- Comment #3 from Dmitry Gerasimov 2012-04-13
08:44:10 UTC ---
(In reply to comment #1)
> I don't know if this is not undefined code.
> >v[0].a = run();
>
> Is this:
> double &a = v[0].a;
> a = run();
> Or:
> double tmp = run();
> v[0].a =