[Bug libstdc++/52967] New: Segmentation fault on std::vector destruction

2012-04-12 Thread karlicoss at gmail dot com
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

[Bug c++/52967] Segmentation fault on std::vector destruction

2012-04-13 Thread karlicoss at gmail dot com
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 =

[Bug c++/52967] Segmentation fault on std::vector destruction

2012-04-13 Thread karlicoss at gmail dot com
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 =