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

2006-04-22 Thread pcarlini at suse dot de
--- Comment #12 from pcarlini at suse dot de 2006-04-22 19:54 --- *** Bug 27258 has been marked as a duplicate of this bug. *** -- pcarlini at suse dot de changed: What|Removed |Added

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

2006-02-07 Thread broeni at osb-systems dot com
--- Comment #9 from broeni at osb-systems dot com 2006-02-07 12:52 --- Obviously the behavior of the test program is undefined. The following is the reply from Alberto Ganesh Barbati in c.l.c++.m Apart from the fact that you need to include ostream in order to be able to write on

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

2006-02-07 Thread broeni at osb-systems dot com
--- Comment #10 from broeni at osb-systems dot com 2006-02-07 13:19 --- See comment #9 for reason. Stephan -- broeni at osb-systems dot com changed: What|Removed |Added

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

2006-02-07 Thread pcarlini at suse dot de
--- Comment #11 from pcarlini at suse dot de 2006-02-07 13:59 --- Thanks a lot for the torough clarification! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26123

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

2006-02-06 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-02-06 13:13 --- Oh, I was using 4.0.2's shared library still when testing, woops. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

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

2006-02-06 Thread pcarlini at suse dot de
--- Comment #6 from pcarlini at suse dot de 2006-02-06 13:16 --- Ok. mainline is also confirmed fine on ia64-linux. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26123

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

2006-02-06 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2006-02-06 15:07 --- I think this is undefined. Reduced testcase: extern C void *malloc(__SIZE_TYPE__ n); int mkCint(); const int cInt = mkCint(); struct Ptr { Ptr() { ptr = (int *)malloc(sizeof(int)); } int *ptr; }; Ptr p; int

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

2006-02-06 Thread broeni at osb-systems dot com
--- Comment #8 from broeni at osb-systems dot com 2006-02-06 19:28 --- Posted code as from comment #2 to c.l.c++.m to verify if the initalization of std::cout is well defined (comment #3): Initialization order of std::cout. Stephan --