This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/44045] initialization of array of shared_ptr's with initializer list causes compiler segfault
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 May 2010 01:20:35 -0000
- Subject: [Bug libstdc++/44045] initialization of array of shared_ptr's with initializer list causes compiler segfault
- References: <bug-44045-19150@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from paolo dot carlini at oracle dot com 2010-05-09 01:20 -------
Maybe I was not clear enough: **any** segmentation fault is a bug in the
compiler. It must **never** seg fault, no matter which is the input. Thus, the
point is simply that a segmentation must be reported as a C++ (or C, Fortran,
whatever) bug, not as library bug. If you see a seg fault, first double check
that you can reproduce the problem also with a recent compiler, reduce the
testcase as much as possible (maybe also helping yourself with "delta"), and
file a front-end bug. Thanks!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44045