This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49021] [4.6 regression] BOOST_FOREACH over vector segfaults at runtime
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 20 May 2011 10:02:56 +0000
- Subject: [Bug c++/49021] [4.6 regression] BOOST_FOREACH over vector segfaults at runtime
- Auto-submitted: auto-generated
- References: <bug-49021-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49021
--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-05-20 09:48:42 UTC ---
(In reply to comment #9)
> (In reply to comment #8)
> > I'm trying to reduce the preprocessed test case, but since I'm not a C++ person
> > this might take some time.
>
> Scratch that, the preprocessed code is way too weird for me.
welcome to Boost MPL! ;)
there are huge chunks that can be removed (iostreams and locales,
reverse_iterators) but reducing it manually is not easy.
See http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction for a tool to do it
automatically