This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/44045] initialization of array of shared_ptr's with initializer list causes compiler segfault



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]