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 c++/49021] [4.6 regression] BOOST_FOREACH over vector segfaults at runtime


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


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