[Bug libstdc++/26123] Segmentation fault in constructor of std::ostream::sentry::sentry

2006-02-06 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-02-06 12:54 --- foo.cc has nothing to do with the problem here. It all has to do with the order of the execution of the initializers. The following code is enough to reproduce the issue: int mkCint(); const int cInt = mkCint(); #i

[Bug libstdc++/26123] Segmentation fault in constructor of std::ostream::sentry::sentry

2006-02-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-02-06 12:51 --- *** Bug 26124 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26123